Re: Problem with SASL2 and postfix on freebsd
On Fri, 5 Aug 2005 11:51:22 +0200 cell [EMAIL PROTECTED] wrote: Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 , cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem with sasl2.When i do telnet localhost 25 , i have that : Trying 127.0.0.1... Connected to localhost.linux-win.org. Escape character is '^]'. 220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD) ehlo example.pl 250-gw-bsd.linux-win.org 250-PIPELINING 250-SIZE 1000 250-VRFY 250-ETRN 250-STARTTLS 250 8BITMIME and i don't see AUTH DIGEST-MD5 PLAIN CRAM-MD5 and AUTH PLAIN. i've always followed this howto : http://yocum.org/faqs/postfix-tls-sasl.html what does ldd `which postfix` say ? (perhaps you need to do a make rmconfig and reinstall postfix ?) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with SASL2 and postfix on freebsd
I have already reinstalled postfix and i have always the same problem.I have that : # ldd 'which postfix' ldd: which postfix: No such file or directory # which postfix /usr/local/sbin/postfix - Original Message - From: [EMAIL PROTECTED] To: cell [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, August 05, 2005 12:16 PM Subject: Re: Problem with SASL2 and postfix on freebsd On Fri, 5 Aug 2005 11:51:22 +0200 cell [EMAIL PROTECTED] wrote: Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 , cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem with sasl2.When i do telnet localhost 25 , i have that : Trying 127.0.0.1... Connected to localhost.linux-win.org. Escape character is '^]'. 220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD) ehlo example.pl 250-gw-bsd.linux-win.org 250-PIPELINING 250-SIZE 1000 250-VRFY 250-ETRN 250-STARTTLS 250 8BITMIME and i don't see AUTH DIGEST-MD5 PLAIN CRAM-MD5 and AUTH PLAIN. i've always followed this howto : http://yocum.org/faqs/postfix-tls-sasl.html what does ldd `which postfix` say ? (perhaps you need to do a make rmconfig and reinstall postfix ?) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with SASL2 and postfix on freebsd
On Fri, 5 Aug 2005 12:24:07 +0200 cell [EMAIL PROTECTED] wrote: I have already reinstalled postfix and i have always the same problem.I have that : # ldd 'which postfix' ldd: which postfix: No such file or directory # which postfix /usr/local/sbin/postfix try the ` character instead of the ' character, or simply : ldd /usr/local/sbin/postfix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with SASL2 and postfix on freebsd
I have changed my shell and i have that : [EMAIL PROTECTED] ls -la /usr/local/sbin/postfix -rwxr-xr-x 1 root wheel 83184 Aug 5 11:29 /usr/local/sbin/postfix [EMAIL PROTECTED] ldd /usr/local/sbin/postfix /usr/local/sbin/postfix: libsasl2.so.2 = /usr/local/lib/libsasl2.so.2 (0x28083000) libpam.so.2 = /usr/lib/libpam.so.2 (0x28097000) libcrypt.so.2 = /lib/libcrypt.so.2 (0x2809e000) libssl.so.3 = /usr/lib/libssl.so.3 (0x280b6000) libcrypto.so.3 = /lib/libcrypto.so.3 (0x280e4000) libm.so.3 = /lib/libm.so.3 (0x281db000) libz.so.2 = /lib/libz.so.2 (0x281f6000) libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x28206000) libc.so.5 = /lib/libc.so.5 (0x28212000) - Original Message - From: albi [EMAIL PROTECTED] To: cell [EMAIL PROTECTED] Sent: Friday, August 05, 2005 1:56 PM Subject: Re: Problem with SASL2 and postfix on freebsd I have that : # ldd /usr/local/sbin/postfix ldd: /usr/local/sbin/postfix: No such file or directory I don't understand why it said that. you should get something like this : #ldd /usr/local/sbin/postfix /usr/local/sbin/postfix: libsasl2.so.2 = /usr/local/lib/libsasl2.so.2 (0x28083000) libpam.so.2 = /usr/lib/libpam.so.2 (0x28097000) libcrypt.so.2 = /lib/libcrypt.so.2 (0x2809e000) libssl.so.3 = /usr/lib/libssl.so.3 (0x280b6000) libcrypto.so.3 = /lib/libcrypto.so.3 (0x280e4000) libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x281db000) libc.so.5 = /lib/libc.so.5 (0x28202000) #ls -la /usr/local/sbin/postfix -rwxr-xr-x 1 root wheel 83152 Aug 4 22:00 /usr/local/sbin/postfix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with SASL2 and postfix on freebsd
--On Friday, August 05, 2005 11:51:22 +0200 cell [EMAIL PROTECTED] wrote: Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 , cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem with sasl2.When i do telnet localhost 25 , i have that : Trying 127.0.0.1... Connected to localhost.linux-win.org. Escape character is '^]'. 220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD) ehlo example.pl 250-gw-bsd.linux-win.org 250-PIPELINING 250-SIZE 1000 250-VRFY 250-ETRN 250-STARTTLS 250 8BITMIME and i don't see AUTH DIGEST-MD5 PLAIN CRAM-MD5 and AUTH PLAIN.In my main.cf , i have that : smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated, reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostnam e,reject_unknown_recipient_domain smtpd_sender_restrictions = permit_sasl_authenticated , hash:/usr/local/etc/postfix/access, reject_unknown_sender_domain, reject_invalid_hostname smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = broken_sasl_auth_clients = no In /usr/local/lib/sasl2 i have that : pwcheck_method: saslauthd auxprop_plugin: sql sql_engine: mysql sql_hostnames: 127.0.0.1 sql_user: maildb sql_passwd: * sql_database: maildb sql_select: select clear from users where id='[EMAIL PROTECTED]' and in /etc/pam.d/smtp i have that : authoptionalpam_mysql.so host=127.0.0.1 db=maildb user=maildb \ passwd=* sql table=users usercolumn=id passwdcolumn=clear crypt=y account requiredpam_mysql.so host=127.0.0.1 db=maildb user=maildb \ passwd=* sql table=users usercolumn=id passwdcolumn=clear crypt=y I don't understand why postfix doesn't use sasl.Anyone knows this problem ? What's in master.cf? Do you have the commands for saslauth? smtpsinet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes (I'm using smtps, but smtp uses the auth command as well.) smtpinet n - n - - smtpd -o smtpd_sasl_auth_enable=yes Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with SASL2 and postfix on freebsd
In master.cf i have that : # # Postfix master process configuration file. For details on the format # of the file, see the Postfix master(5) manual page. # # == # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # == smtp inet n - n - - smtpd -o content_filter=spamassassin #submission inet n - n - - smtpd # -o smtpd_etrn_restrictions=reject # -o smtpd_client_restrictions=permit_sasl_authenticated,reject #smtpsinet n - n - - smtpd # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes #submission inetn - n - - smtpd # -o smtpd_etrn_restrictions=reject # -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes #628 inet n - n - - qmqpd pickupfifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr #qmgr fifo n - n 300 1 oqmgr tlsmgrunix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounceunix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verifyunix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - n - - smtp # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - n - - smtp -o fallback_relay= # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq error unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scacheunix - - n - 1 scache # # # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # Many of the following services use the Postfix pipe(8) delivery # agent. See the pipe(8) man page for information about ${recipient} # and other message envelope options. # # # maildrop. See the Postfix MAILDROP_README file for details. # Also specify in main.cf: maildrop_destination_recipient_limit=1 # maildrop unix - n n - - pipe flags=Ru user=vmail argv=/usr/local/bin/maildrop -d ${recipient} # # The Cyrus deliver program has changed incompatibly, multiple times. # #old-cyrus unix - n n - - pipe # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} # Cyrus 2.1.5 (Amos Gouaux) # Also specify in main.cf: cyrus_destination_recipient_limit=1 cyrus unix - n n - - pipe user=cyrus argv=/usr/local/sbin/saslauthd #argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} # # See the Postfix UUCP_README file for configuration details. # uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) # # Other external delivery methods. # ifmailunix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient # AV scan filter (used by content_filter) scan unix - - n - 16 smtp -o smtp_send_xforward_command=yes # For injecting mail back into postfix from the filter localhost:10026 inet n - n - 16 smtpd -o content_filter= -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks -o smtpd_helo_restrictions= -o smtpd_client_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks_style=host -o smtpd_authorized_xforward_hosts=127.0.0.0/8 #SpamAssassin spamassassin unix - n n - - pipe
Re: Problem with SASL2 and postfix on freebsd
--On Friday, August 05, 2005 17:25:42 +0200 cell [EMAIL PROTECTED] wrote: In master.cf i have that : # # Postfix master process configuration file. For details on the format # of the file, see the Postfix master(5) manual page. # # # == service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # # == smtp inet n - n - - smtpd -o content_filter=spamassassin # submission inet n - n - - smtpd # -o smtpd_etrn_restrictions=reject # -o smtpd_client_restrictions=permit_sasl_authenticated,reject # smtpsinet n - n - - smtpd # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes # submission inetn - n - - smtpd It's commented out. Try this: smtp inet n - n - - smtpd -o content_filter=spamassassin -o smtpd_sasl_auth_enable=yes Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with SASL2 and postfix on freebsd
I have always the same problem with that.I don't understand why sasl don't comunicate with postfix :/ - Original Message - From: Paul Schmehl [EMAIL PROTECTED] To: cell [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, August 05, 2005 5:31 PM Subject: Re: Problem with SASL2 and postfix on freebsd --On Friday, August 05, 2005 17:25:42 +0200 cell [EMAIL PROTECTED] wrote: In master.cf i have that : # # Postfix master process configuration file. For details on the format # of the file, see the Postfix master(5) manual page. # # # == service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # # == smtp inet n - n - - smtpd -o content_filter=spamassassin # submission inet n - n - - smtpd # -o smtpd_etrn_restrictions=reject # -o smtpd_client_restrictions=permit_sasl_authenticated,reject # smtpsinet n - n - - smtpd # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes # submission inetn - n - - smtpd It's commented out. Try this: smtp inet n - n - - smtpd -o content_filter=spamassassin -o smtpd_sasl_auth_enable=yes Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]