Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2008 09:14:49 -0400
From:      "Jorge Medina" <jorge@bsdchile.cl>
To:        freebsd-ports@freebsd.org
Subject:   sasl2 and postfix
Message-ID:  <28d0e6b80806030614i54a287a2x98ea4eb92a98d038@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi guys i have a problem with postfix+cyrus-saslauthd in FreeBSD 7.0
-STABLE and the smtpd don't work with smtpd_sasl_enable=yes and de log
show me this:

Jun  3 09:00:55 mail postfix/smtpd[40192]: warning: SASL: Connect to
smtpd failed: No such file or directory
Jun  3 09:00:55 mail postfix/smtpd[40192]: fatal: no SASL
authentication mechanisms
Jun  3 13:00:56 mail postfix/master[82423]: warning: process
/usr/local/libexec/postfix/smtpd pid 40192 exit status 1
Jun  3 13:00:56 mail postfix/master[82423]: warning:
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling

my /usr/local/lib/sasl2/smtpd.conf

pwcheck_method: saslauthd
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/var/run/saslauthd/mux

my main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix

sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
mail_owner = postfix
setgid_group = maildrop

myhostname = mail.railgun.cl
mydomain = railgun.cl
mydestination = $myhostname.$mydomain
mynetworks = 127.0.0.0/8, 10.100.8.0/24, 10.100.1.0/24

smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtp_sasl_auth_enable = no
#smtpd_sasl_path=/var/run/saslauthd/mux
smtpd_sasl_path = smtpd
smtp_sasl_type = cyrus

virtual_maildir_sufix = /Maildir/
virtual_maildir_base = /var/vmail
virtual_uid_maps = static:125
virtual_minimum_uid = 125
virtual_gid_maps = static:125
virtual_transport = virtual

virtual_alias_maps = pgsql:/etc/postfix/alias_maps.cf
virtual_maildir_domains = pgsql:/etc/postfix/domain_maps.cf
virtual_maildir_maps = pgsql:/etc/postfix/mailbox_maps.cf
virtual_maildir_limit_maps = pgsql:/etc/postfix/quota_maps.cf

virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_maildir_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has
overdrawn his diskspace quota, please try again later.
virtual_overquota_bounce = yes

and when change smtpd_sasl_path=smtpd to
smtpd_sasl_path=/var/run/saslauthd/mux the message log show me this:

Jun  3 09:00:55 mail postfix/smtpd[40192]: fatal: no SASL
authentication mechanisms
Jun  3 09:10:29 mail saslauthd[32340]: do_request      : login
exceeded MAX_REQ_LEN: 256
Jun  3 09:10:29 mail postfix/smtpd[40255]: fatal: no SASL
authentication mechanisms

any help it's welcomed.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28d0e6b80806030614i54a287a2x98ea4eb92a98d038>