Re: Having a time getting smtp-auth to work
- From: dnichols@xxxxxxxxxxx (DoN. Nichols)
- Date: 21 Sep 2006 03:58:41 GMT
According to <sealinux@xxxxxxxxx>:
Okay, I have qmail-1.05 on my system that I hand-compiled. I then
patched it using the technique illustrated on
http://members.elysium.pl/brush/qmail-smtpd-auth/. The relevant
portion of my /var/qmail/supervise/qmail-smtpd/run script looks like
this:
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
/var/qmail/bin/qmail-smtpd foobar.example.com /bin/checkpassword
/bin/true 2>&1
/bin/checkpassword has the following permissions:
-rws--S--- 1 root wheel 9668 Sep 15 23:52 /bin/checkpassword
I have tried telnetting into port 25 of the server and entering the
username and password in base64. No matter what, I get an error:
535 authorization failed (#5.7.0)
It looks as though the server is expecting something, but I'm not sure
what. I'm wondering if the checkpassword utility somehow cannot read
/etc/shadow or something.
Any guidance, even as to a better mailing list to post this to, would
be appreciated.
O.K. I can't help you with this particular problem, but there
is another "gotcha" for running qmail on OpenBSD systems. In
particular, because /var is mounted nosuid, and /var/qmail/bin/qmail-queue
is owned by "qmaild", group "qmail", and is suid.
The simple solution is to put /var/qmail/bin on some other
partition which is not mounted nosuid and put in a symlink from
/var/qmail/bin to there.
Good Luck,
DoN.
--
Email: <dnichols@xxxxxxxxxxx> | Voice (all times): (703) 938-4564
(too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html
--- Black Holes are where God is dividing by zero ---
.
- References:
- Having a time getting smtp-auth to work
- From: sealinux
- Having a time getting smtp-auth to work
- Prev by Date: Re: IPSEC to Windows 2003 Computer
- Next by Date: Using Exabyte Mammoth-2 tapes on OpenBSD
- Previous by thread: Re: Having a time getting smtp-auth to work
- Next by thread: Network traffic stats
- Index(es):
Relevant Pages
|
|