Hi!
I've got a strange problem with qmail, vmailmgr and
SMTP-Auth (provided via qmail-auth-20010105).
qmails pop3 daemon works well:
bat@infinity:~$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user bat:<domain>
+OK
pass very_secret
+OK
This works well and I can get the users emails. <domain> is
managed by vmailmgr.
But with SMTP-Auth, it does not work. First I make the
base64 encoded string:
perl -MMIME::Base64 -e \
'print encode_base64("bat:domain\0bat:domain\0very_secret");'
Then I use this string in the SMTP-Session:
bat@infinity:~$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 infinity.linuxservice.ch ESMTP
ehlo test
250-infinity.linuxservice.ch
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-PIPELINING
250 8BITMIME
AUTH PLAIN (here I insert the base64 string)
535 authorization failed (#5.7.0)
I won't get authentificated. It does not even work when I
use an MUA like (for example) Eudora.
Here's how I start qmail and qmail-pop3d:
ulimit -v 4096
sh -c "start-stop-daemon --start --quiet --user qmaild \
--exec /usr/bin/tcpserver -- \
-p -u `id -u qmaild` -g `id -g nobody` -x /etc/tcp.smtp.cdb 0 smtp \
/usr/sbin/qmail-smtpd mail.linuxservice.ch /a1/bin/checkvpw /bin/true 2>&1
| $logger -t qmail -p mail.notice &"
sh -c "start-stop-daemon --start --quiet --user root \
--exec /usr/bin/tcpserver -- \
-H -R 0 pop-3 /usr/sbin/qmail-popup `hostname`.`dnsdomainname` \
/a1/bin/checkvpw /usr/sbin/qmail-pop3d Maildir &"
Both are using the same password checking programm.
Further, nothing gets logged to /var/log/*.
Has anybody got an idea?
Cheers and Thanks
--
.-. Thomas Bader � [EMAIL PROTECTED] � http://www.t-bader.ch/ .-.
oo| oo|
/`'\ Einen Unix-Shellaccount gibt es unter http://www.trash.net/ /`'\
(\_;/) PGP Key-ID: 0x3A4B7F5D (RSA) 0x7584F5D8 (DSA/EG) (\_;/)