sasl2 and postfix

Gerard gerard at seibercom.net
Tue Jun 3 22:04:00 UTC 2008


On Tue, 3 Jun 2008 09:14:49 -0400
"Jorge Medina" <jorge at bsdchile.cl> wrote:

> 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.

You might get better results posting this on the Postfix forum.
Personally, it works for me so I am not quite sure what your problem is
at this point.

-- 
Gerard
gerard at seibercom.net

Life is like a simile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080603/b3eeeba2/signature.pgp


More information about the freebsd-ports mailing list