Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118478 - mail-mta/qmail-1.03-r16 -> AUTH doesn't show up
Summary: mail-mta/qmail-1.03-r16 -> AUTH doesn't show up
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 18:42 UTC by André Lemos
Modified: 2006-01-20 14:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description André Lemos 2006-01-09 18:42:01 UTC
I have:

[ebuild   R   ] mail-mta/qmail-1.03-r16  -gencertdaily -logmail -mailwrapper -noauthcram -notlsbeforeauth (-selinux) +ssl 0 kB

and qmail-smtpd is running with:

/usr/bin/tcpserver -p -v -R -x /etc/tcprules.d/tcp.qmail-smtp.cdb -c 40 -u 201 -g 200 0.0.0.0 smtp /var/qmail/bin/qmail-smtpd /usr/bin/checkpassword-pam -s system-auth /bin/true

and still AUTH isn't set:

250-domain.org
250-STARTTLS
250-PIPELINING
250-8BITMIME
250 SIZE 0

tcprules has:

127.0.0.1:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"


any hints?
Comment 1 Atsushi Kobayashi 2006-01-15 22:10:55 UTC
it seems wrong tcpserver command line, it drops YOUR-SMTP-HOSTNAME

/usr/bin/tcpserver -p -v -R -x /etc/tcprules.d/tcp.qmail-smtp.cdb -c 40 -u 201
-g 200 0.0.0.0 smtp /var/qmail/bin/qmail-smtpd YOUR-SMTP-HOSTNAME /usr/bin/checkpassword-pam -s
system-auth /bin/true

I think, you need check your /var/qmail/control/conf-smtpd
need edit SMTP-AUTH section like below

QMAIL_SMTP_AUTHHOST=$(<${QMAIL_CONTROLDIR}/me)
[ -z "${QMAIL_SMTP_POST}" ] && QMAIL_SMTP_POST=/bin/true
QMAIL_SMTP_CHECKPASSWORD="/bin/cmd5checkpw"
QMAIL_SMTP_POST="${QMAIL_SMTP_AUTHHOST} ${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}"

if you don't use cmd5checkpw you need
USE="noauthcram notlsbeforeauth" emerge mail-mta/qmail
 
Comment 2 André Lemos 2006-01-16 11:42:41 UTC
re-emerging with those flags solved the problem :S
Comment 3 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2006-01-20 14:58:17 UTC
seems invalid