At 08.23 19/05/2005, you wrote:



/usr/local/bin/tcpserver -R -x /etc/tcp.smtp.cdb -c120 -u89 -g89 0 smtp /usr/local/bin/rblsmtpd -b -v -r sbl-xbl.spamhaus.org -r dnsbl.sorbs.net -r relays.ordb.org -r rhsbl.sorbs.net -r list.dsbl.org -r bl.spamcop.net /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger tcpserver &

That is the exact line.

This looks fine.




It appeared to actually accept all emails regardless if the user was on the system or not. When I remove that line it will reject email for invalid users using chkuser.

Probably in your configuration you have the variable *CHKUSER_STARTING_VARIABLE* that must be defined, or is is defined in a wrong way. Check that.

Should I change
/* #define CHKUSER_STARTING_VARIABLE "CHKUSER_START" */
to
#define CHKUSER_STARTING_VARIABLE "CHKUSER_ALWAYS_ON"

No, you should start a debugging session, and see what's happening.

First, run patched qmail-smtpd manually (as root) and check if chkuser works this way.
$ ./qmail-smtpd
mail from <wrong_sender>
mail from <right_sender>
rcpt to: <[EMAIL PROTECTED]>
rcpt to: <[EMAIL PROTECTED]>

Second, make the same test telnetting to the port where you're running qmail-smtpd.

Third, enable chkuser debugging and disable splogger, and watch what happens telnetting to port 25.

Let me know, ciao.

Tonino

?
Tonino

Reply via email to