Hello,

I am following the Howto at: 
http://www.gentoo.org/doc/en/qmail-howto.xml


1) Access to pop3 accounts is working fine
2) I installed qmail without the need of a TLS auth

mail root # equery uses qmail
[ Found these USE variables for mail-mta/qmail-1.03-r15 ]
 + + ssl             : Adds support for Secure Socket Layer 
connections
 - - noauthcram      : If you do NOT want AUTHCRAM to be available
 + + notlsbeforeauth : If you do NOT want to require STARTTLS before 
offering AUTH
 - - selinux         : !!internal use only!! Security Enhanced Linux 
support, this must be set by the selinux profile or breakage will 

3) I  changed  /var/qmail/control/conf-smtpd    

a) 
QMAIL_TCPSERVER_PRE="${QMAIL_TCPSERVER_PRE} envdir /etc/relay-ctrl 
relay-ctrl-chdir"
QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} relay-ctrl-check"

b) 
(in 2 lines)
QMAIL_SMTP_AUTHHOST=$(<${QMAIL_CONTROLDIR}/me)
[ -z "${QMAIL_SMTP_POST}" ] && QMAIL_SMTP_POST=/bin/true

one line each:
QMAIL_SMTP_CHECKPASSWORD="/var/vpopmail/bin/vchkpw"
QMAIL_SMTP_POST="${QMAIL_SMTP_AUTHHOST} ${QMAIL_SMTP_CHECKPASSWORD} 
${QMAIL_SMTP_POST}"


for 3a) I added of course "relay-ctrl-check" and added it to 
courier-pop3 and authdaemonrc.

mail root # grep authvchk /etc/courier-imap/authdaemonrc
authmodulelist="authvchkpw relay-ctrl-allow"
authmodulelistorig="authcustom authcram authuserdb authvchkpw 
authmysql authpam"

4) when trying to send an email:

mail from: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
553 sorry, that domain isn't in my list of allowed rcpthosts 
(#5.7.1)

any ideas left ?

Thanks
Stefan
-- 
www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer f�r KDE
www.kbarcode.net: Die Barcode Solution f�r KDE

--
[email protected] mailing list

Reply via email to