[Postfixbuch-users] saslauthd ignoriert das Flag -r

Stefan Sabolowitsch Stefan.Sabolowitsch at feltengmbh.de
Fr Jan 18 17:00:09 CET 2008


Stefan Sabolowitsch schrieb:
>> Also Alexander,
>>
>> [root at mailmx sbin]# ./testsaslauthd -s smtp -u root at xxx.de -p ****
>> 0: OK "Success."
>>
>> Das mit den sql Strings, Passwörter usw. stimmt soweit alles.
>> Die DB und Einstellungen sind Kopien vom aktuell laufenden alten System
>>
>> Eventuell habe was übersehen ?
>>   
>Bitte kein top-posting, das erschwert die Kommunikation nur unnötig.

Gelobe Besserung

Habe mal den saslfinger sprechen lassen:


saslfinger - postfix Cyrus sasl configuration Fr 18. Jan 16:58:43 CET 2008
version: 1.0.5
mode: server-side SMTP AUTH

-- basics --
Postfix: 2.4.6
System: CentOS release 5 (Final)

-- smtpd is linked to --
	libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x04109000)

-- active SMTP AUTH and TLS parameters for smtpd --
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/postfix/mailmx.dataworkflow.tld.pem
smtpd_tls_key_file = /etc/postfix/mailmx.dataworkflow.tld.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes


-- listing of /usr/lib/sasl2 --
insgesamt 3488
drwxr-xr-x  2 root root   4096 17. Jan 17:26 .
drwxr-xr-x 97 root root  53248 11. Jan 04:04 ..
-rwxr-xr-x  1 root root    884  7. Jan 2007  libanonymous.la
-rwxr-xr-x  1 root root  14372  7. Jan 2007  libanonymous.so
-rwxr-xr-x  1 root root  14372  7. Jan 2007  libanonymous.so.2
-rwxr-xr-x  1 root root  14372  7. Jan 2007  libanonymous.so.2.0.22
-rwxr-xr-x  1 root root    870  7. Jan 2007  libcrammd5.la
-rwxr-xr-x  1 root root  16832  7. Jan 2007  libcrammd5.so
-rwxr-xr-x  1 root root  16832  7. Jan 2007  libcrammd5.so.2
-rwxr-xr-x  1 root root  16832  7. Jan 2007  libcrammd5.so.2.0.22
-rwxr-xr-x  1 root root    893  7. Jan 2007  libdigestmd5.la
-rwxr-xr-x  1 root root  47204  7. Jan 2007  libdigestmd5.so
-rwxr-xr-x  1 root root  47204  7. Jan 2007  libdigestmd5.so.2
-rwxr-xr-x  1 root root  47204  7. Jan 2007  libdigestmd5.so.2.0.22
-rwxr-xr-x  1 root root    933  7. Jan 2007  libgssapiv2.la
-rwxr-xr-x  1 root root  26528  7. Jan 2007  libgssapiv2.so
-rwxr-xr-x  1 root root  26528  7. Jan 2007  libgssapiv2.so.2
-rwxr-xr-x  1 root root  26528  7. Jan 2007  libgssapiv2.so.2.0.22
-rwxr-xr-x  1 root root    877  7. Jan 2007  libldapdb.la
-rwxr-xr-x  1 root root  15472  7. Jan 2007  libldapdb.so
-rwxr-xr-x  1 root root  15472  7. Jan 2007  libldapdb.so.2
-rwxr-xr-x  1 root root  15472  7. Jan 2007  libldapdb.so.2.0.22
-rwxr-xr-x  1 root root    856  7. Jan 2007  liblogin.la
-rwxr-xr-x  1 root root  14752  7. Jan 2007  liblogin.so
-rwxr-xr-x  1 root root  14752  7. Jan 2007  liblogin.so.2
-rwxr-xr-x  1 root root  14752  7. Jan 2007  liblogin.so.2.0.22
-rwxr-xr-x  1 root root    858  7. Jan 2007  libntlm.la
-rwxr-xr-x  1 root root  31516  7. Jan 2007  libntlm.so
-rwxr-xr-x  1 root root  31516  7. Jan 2007  libntlm.so.2
-rwxr-xr-x  1 root root  31516  7. Jan 2007  libntlm.so.2.0.22
-rwxr-xr-x  1 root root    856  7. Jan 2007  libplain.la
-rwxr-xr-x  1 root root  14848  7. Jan 2007  libplain.so
-rwxr-xr-x  1 root root  14848  7. Jan 2007  libplain.so.2
-rwxr-xr-x  1 root root  14848  7. Jan 2007  libplain.so.2.0.22
-rwxr-xr-x  1 root root    930  7. Jan 2007  libsasldb.la
-rwxr-xr-x  1 root root 905200  7. Jan 2007  libsasldb.so
-rwxr-xr-x  1 root root 905200  7. Jan 2007  libsasldb.so.2
-rwxr-xr-x  1 root root 905200  7. Jan 2007  libsasldb.so.2.0.22
-rwxr-xr-x  1 root root    878  7. Jan 2007  libsql.la
-rwxr-xr-x  1 root root  23084  7. Jan 2007  libsql.so
-rwxr-xr-x  1 root root  23084  7. Jan 2007  libsql.so.2
-rwxr-xr-x  1 root root  23084  7. Jan 2007  libsql.so.2.0.22
-rw-r--r--  1 root root     64 18. Jan 13:12 smtpd.conf

-- listing of /etc/sasl2 --
insgesamt 24
drwxr-xr-x  2 root root  4096  7. Jan 2007  .
drwxr-xr-x 97 root root 12288 18. Jan 11:53 ..




-- content of /usr/lib/sasl2/smtpd.conf --
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
log_level: 7




-- active services in /etc/postfix/master.cf --
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)



pickup    fifo  n       -       n       60      1       pickup

cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
old-cyrus unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
cyrus     unix  -       n       n       -       -       pipe
  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail.postfix ($recipient)
ifmail    unix  -       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

scache	  unix	-	-	n	-	1	scache
discard	  unix	-	-	n	-	-	discard


 




192.168.100.18:smtp        inet  n       -       n       -       -       smtpd
   -o content_filter=smtp-amavis:[127.0.0.1]:10024
   -o cleanup_service_name=pre-cleanup

127.0.0.1:smtp            inet  n       -       n       -       -       smtpd


192.168.100.18:smtps       inet  n       -       n       -       -       smtpd
	-o content_filter=smtp-amavis:[127.0.0.1]:10024
	-o cleanup_service_name=pre-cleanup
	-o smtpd_tls_wrappermode=yes
	-o smtpd_sasl_auth_enable=yes
  
127.0.0.1:smtps           inet  n       -       n       -       -       smtpd

smtp-amavis unix -      -       n       -       2       smtp

127.0.0.1:10025 inet n  -       n       -       -       smtpd
    -o cleanup_service_name=cleanup
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
    -o smtpd_restriction_classes=
    -o smtpd_client_restrictions=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o mynetworks=127.0.0.0/8
    -o mynetworks_style=host
    -o smtpd_authorized_xforward_hosts=127.0.0.0/8
    -o strict_rfc821_envelopes=yes
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000
    -o smtp_send_xforward_command=yes 

pre-cleanup     unix  n  -       n       -        0     cleanup
    -o virtual_alias_maps=
    -o canonical_maps=
    -o sender_canonical_maps=
    -o recipient_canonical_maps=
    -o masquerade_domains=
    -o always_bcc=
    -o sender_bcc_maps=
    -o recipient_bcc_maps=

cleanup         unix  n  -        n       -        0     cleanup
    -o mime_header_checks=
    -o nested_header_checks=
    -o body_checks=
    -o header_checks
    -o cleanup_service_name=cleanup
 
local           unix  -  n        n       -       -       local
    -o content_filter=
    -o myhostname=localhost
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o mynetworks=127.0.0.0/8
    -o mynetworks_style=host
    -o smtpd_restriction_classes=
    -o smtpd_client_restrictions=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject

-- mechanisms on localhost --
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN


-- end of saslfinger output --
 





Mehr Informationen über die Mailingliste Postfixbuch-users