From owner-freebsd-ports@FreeBSD.ORG Tue Jun 3 14:05:35 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA7901065679 for ; Tue, 3 Jun 2008 14:05:35 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id 850228FC0A for ; Tue, 3 Jun 2008 14:05:35 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from w2003s01.double-l.local (dpm.xs4all.nl [80.126.205.144]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id m53Dncgl079792; Tue, 3 Jun 2008 15:49:40 +0200 (CEST) (envelope-from Johan@double-l.nl) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 3 Jun 2008 15:49:38 +0200 Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DDEC6@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: sasl2 and postfix Thread-Index: AcjFgAvwprMuqelBSBKMBiOKTU9PswAAAsCg References: <28d0e6b80806030614i54a287a2x98ea4eb92a98d038@mail.gmail.com> From: "Johan Hendriks" To: "Jorge Medina" X-Virus-Scanned: by XS4ALL Virus Scanner Cc: ports@freebsd.org Subject: RE: sasl2 and postfix X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2008 14:05:36 -0000 >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=3Dyes 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 =3D /var/spool/postfix >command_directory =3D /usr/local/sbin >daemon_directory =3D /usr/local/libexec/postfix >data_directory =3D /var/db/postfix >sendmail_path =3D /usr/local/sbin/sendmail >newaliases_path =3D /usr/local/bin/newaliases >mailq_path =3D /usr/local/bin/mailq >mail_owner =3D postfix >setgid_group =3D maildrop >myhostname =3D mail.railgun.cl >mydomain =3D railgun.cl >mydestination =3D $myhostname.$mydomain >mynetworks =3D 127.0.0.0/8, 10.100.8.0/24, 10.100.1.0/24 >smtpd_recipient_restrictions =3D permit_sasl_authenticated, >permit_mynetworks, reject_unauth_destination >smtpd_sasl_auth_enable =3D yes >smtpd_sasl_security_options =3D noanonymous >smtpd_sasl_local_domain =3D >smtp_sasl_auth_enable =3D no >#smtpd_sasl_path=3D/var/run/saslauthd/mux >smtpd_sasl_path =3D smtpd >smtp_sasl_type =3D cyrus >virtual_maildir_sufix =3D /Maildir/ >virtual_maildir_base =3D /var/vmail >virtual_uid_maps =3D static:125 >virtual_minimum_uid =3D 125 >virtual_gid_maps =3D static:125 >virtual_transport =3D virtual >virtual_alias_maps =3D pgsql:/etc/postfix/alias_maps.cf >virtual_maildir_domains =3D pgsql:/etc/postfix/domain_maps.cf >virtual_maildir_maps =3D pgsql:/etc/postfix/mailbox_maps.cf >virtual_maildir_limit_maps =3D pgsql:/etc/postfix/quota_maps.cf >virtual_create_maildirsize =3D yes >virtual_maildir_extended =3D yes >virtual_maildir_limit_override =3D yes >virtual_maildir_limit_message =3D Sorry, the user's maildir has >overdrawn his diskspace quota, please try again later. >virtual_overquota_bounce =3D yes >and when change smtpd_sasl_path=3Dsmtpd to >smtpd_sasl_path=3D/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. _______________________________________________ Did you compile postfix with sasl2 support Do a make config in the ports dir of postfix /usr/ports/mail/postfix And make sure sasl2 is selected and install the port again by doing the following: make FORCE_PKG_REGISTER=3Dyes install clean Regards, Johan Double L Automatisering.