From owner-freebsd-ports@FreeBSD.ORG Tue Jun 3 13:41:52 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A65E31065671 for ; Tue, 3 Jun 2008 13:41:52 +0000 (UTC) (envelope-from jorge@bsdchile.cl) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 8E0FE8FC19 for ; Tue, 3 Jun 2008 13:41:52 +0000 (UTC) (envelope-from jorge@bsdchile.cl) Received: by wf-out-1314.google.com with SMTP id 24so1454991wfg.7 for ; Tue, 03 Jun 2008 06:41:52 -0700 (PDT) Received: by 10.142.240.19 with SMTP id n19mr4085981wfh.332.1212498889785; Tue, 03 Jun 2008 06:14:49 -0700 (PDT) Received: by 10.142.200.10 with HTTP; Tue, 3 Jun 2008 06:14:49 -0700 (PDT) Message-ID: <28d0e6b80806030614i54a287a2x98ea4eb92a98d038@mail.gmail.com> Date: Tue, 3 Jun 2008 09:14:49 -0400 From: "Jorge Medina" To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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 13:41:52 -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=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.