Hi list, I've been setting up a new mailserver for us in the last days and have been running into troubles. Just to mention: A quite similar installation (without mysql-support and some other patches) is already running for about one year.
Everything is working fine except relaying mails with authentication. I used plain qmail 1.03 with the following patches: big-concurrency.patch qmail-0.0.0.0.patch qmail-maildir++-universal.patch sendmail-flagf.patch big-ext-todo-20030101 [( qmail-1.03-starttls-smtp-auth.patch ) <= replaced it with the two corresponding single patches] qmail-smtpd-auth-0.31 tarpit.patch doublebounce-trim.patch qmail-1.03-tls-20021228.patch qmail-1.03.errno.patch qmail-smtpd-relay-reject patch-qmail-badmailfrom-wildcard qmail-1.03.qmail_local.patch qmailqueue-patch After that, I installed vpopmail with the following options: ./configure --disable-roaming-users --enable-logging=v --disable-ip-alias-domains --disable-paswd --enable-clear-passwd --enable-auth-module=mysql --enable-auth-logging=y --enable-mysql-logging=y --disable-mysql-limits --enable-valias --enable-vpopuser=vpopmail --enable-vpopgroup=vpopmail I can login and authenticate by pop3(s) and imap(s) ! My run-script for qmail-smtpd is: #!/bin/sh VPOPMAILUID=`id -u vpopmail` VPOPMAILGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -a 20000000 \ /usr/local/bin/tcpserver -vv -P -H -R -c "$MAXSMTPD" -l mail03.our-domain.tld -x /etc/tcp.smtp.cdb \ -u "$VPOPMAILUID" -g "$VPOPMAILGID" 0 25 \ /var/qmail/bin/qmail-smtpd \ mail03.our-domain.tld /var/vpopmail/bin/vchkpw /bin/true 2>&1 My mysql-log shows: /usr/sbin/mysqld: ready for connections. Version: '4.0.20' socket: '/var/run/mysqld/mysqld.sock' port: 3306 040521 21:23:32 Aborted connection 1 to db: 'vpopmail' user: 'vpopmail' host: `mail03.our-domain.tld' (Got an error reading communication packets) 040521 21:23:32 Aborted connection 2 to db: 'vpopmail' user: 'vpopmail' host: `mail03.our-domain.tld' (Got an error reading communication packets) Mysql is running on another server and I am able to login from the mail-server to the mysql-server with the defined user. Rights are granted as documented in the corresponding vpopmail-Readme (for mysql). If I try to connect with any mailclient, I am always asked for username/password which is provided correctly. Server capabilities are shown as Security: None OR TLS Password: PLAIN (since I commented out CRAM-MD5 in the corresponding source). Does anyone have a clue where the problem could be or give me any hints for solving it? Greetings Tobias