Re: [vchkpw] chkuser 2.0.8 + syslog
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 21 | /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
Re: [vchkpw] chkuser 2.0.8 + syslog
tonix (Antonio Nati) wrote: At 10.48 18/05/2005, you wrote: I currently have no problems with email logging. I have also got the rblsmtpd syslogd patch working its only the chkuser stuff that does not end up in syslog. This is my configuration for qmail-smtpd. It logs everything (chkuser included). I don't use supervise, so you must change something if you use it. /var/qmail/ucspi/tcpserver -l my.system.name \ -b 20 -c 40 -u 88 -g 83 \ -h -R -t 5 -v -p -x /vpopmail/etc/tcp.smtp.cdb my.system.address smtp \ /var/qmail/ucspi/rblsmtpd -r bl.spamcop.net -r sbl-xbl.spamhaus.org \ /var/qmail/bin/qmail-smtpd 21 | splogger mytag When I added a similar line where i had /var/qmail/bin/splogger tcpserver Please don't say similar, as similar means a lot of things: post the complete starting commands. /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 21 | /var/qmail/bin/splogger tcpserver That is the exact line. 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 ? Tonino
Re: [vchkpw] chkuser 2.0.8 + syslog
tonix (Antonio Nati) wrote: At 17.59 17/05/2005, you wrote: On Tuesday 17 May 2005 11:47 am, tonix (Antonio Nati) wrote: Hi Jimmy, this does not look as a chkuser problem, but as a general qmail problem (as chkuser uses same logging routines of qmail). chkuser log goes whenever qmail logs go. Are your normal qmail-smtpd logs going to syslog? I currently have no problems with email logging. I have also got the rblsmtpd syslogd patch working its only the chkuser stuff that does not end up in syslog. however, qmail-smtpd doesn't actually log anything.. so you've had to add some additional logging code :) You are right! Around chkuser logging I have tcpserver logging (tcpserver starting qmail-smtpd). I consider it the same of qmail-smtpd (when existing :-)) in my previous comment. Tonino -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]
Re: [vchkpw] chkuser 2.0.8 + syslog
At 08.52 18/05/2005, you wrote: tonix (Antonio Nati) wrote: At 17.59 17/05/2005, you wrote: On Tuesday 17 May 2005 11:47 am, tonix (Antonio Nati) wrote: Hi Jimmy, this does not look as a chkuser problem, but as a general qmail problem (as chkuser uses same logging routines of qmail). chkuser log goes whenever qmail logs go. Are your normal qmail-smtpd logs going to syslog? I currently have no problems with email logging. I have also got the rblsmtpd syslogd patch working its only the chkuser stuff that does not end up in syslog. This is my configuration for qmail-smtpd. It logs everything (chkuser included). I don't use supervise, so you must change something if you use it. /var/qmail/ucspi/tcpserver -l my.system.name \ -b 20 -c 40 -u 88 -g 83 \ -h -R -t 5 -v -p -x /vpopmail/etc/tcp.smtp.cdb my.system.address smtp \ /var/qmail/ucspi/rblsmtpd -r bl.spamcop.net -r sbl-xbl.spamhaus.org \ /var/qmail/bin/qmail-smtpd 21 | splogger mytag Tonino
Re: [vchkpw] chkuser 2.0.8 + syslog
Thanks that worked really well! tonix (Antonio Nati) wrote: At 08.52 18/05/2005, you wrote: tonix (Antonio Nati) wrote: At 17.59 17/05/2005, you wrote: On Tuesday 17 May 2005 11:47 am, tonix (Antonio Nati) wrote: Hi Jimmy, this does not look as a chkuser problem, but as a general qmail problem (as chkuser uses same logging routines of qmail). chkuser log goes whenever qmail logs go. Are your normal qmail-smtpd logs going to syslog? I currently have no problems with email logging. I have also got the rblsmtpd syslogd patch working its only the chkuser stuff that does not end up in syslog. This is my configuration for qmail-smtpd. It logs everything (chkuser included). I don't use supervise, so you must change something if you use it. /var/qmail/ucspi/tcpserver -l my.system.name \ -b 20 -c 40 -u 88 -g 83 \ -h -R -t 5 -v -p -x /vpopmail/etc/tcp.smtp.cdb my.system.address smtp \ /var/qmail/ucspi/rblsmtpd -r bl.spamcop.net -r sbl-xbl.spamhaus.org \ /var/qmail/bin/qmail-smtpd 21 | splogger mytag Tonino
Re: [vchkpw] chkuser 2.0.8 + syslog
tonix (Antonio Nati) wrote: At 08.52 18/05/2005, you wrote: tonix (Antonio Nati) wrote: At 17.59 17/05/2005, you wrote: On Tuesday 17 May 2005 11:47 am, tonix (Antonio Nati) wrote: Hi Jimmy, this does not look as a chkuser problem, but as a general qmail problem (as chkuser uses same logging routines of qmail). chkuser log goes whenever qmail logs go. Are your normal qmail-smtpd logs going to syslog? I currently have no problems with email logging. I have also got the rblsmtpd syslogd patch working its only the chkuser stuff that does not end up in syslog. This is my configuration for qmail-smtpd. It logs everything (chkuser included). I don't use supervise, so you must change something if you use it. /var/qmail/ucspi/tcpserver -l my.system.name \ -b 20 -c 40 -u 88 -g 83 \ -h -R -t 5 -v -p -x /vpopmail/etc/tcp.smtp.cdb my.system.address smtp \ /var/qmail/ucspi/rblsmtpd -r bl.spamcop.net -r sbl-xbl.spamhaus.org \ /var/qmail/bin/qmail-smtpd 21 | splogger mytag When I added a similar line where i had /var/qmail/bin/splogger tcpserver 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. Any ideas? Tonino
Re: [vchkpw] chkuser 2.0.8 + syslog
At 10.48 18/05/2005, you wrote: I currently have no problems with email logging. I have also got the rblsmtpd syslogd patch working its only the chkuser stuff that does not end up in syslog. This is my configuration for qmail-smtpd. It logs everything (chkuser included). I don't use supervise, so you must change something if you use it. /var/qmail/ucspi/tcpserver -l my.system.name \ -b 20 -c 40 -u 88 -g 83 \ -h -R -t 5 -v -p -x /vpopmail/etc/tcp.smtp.cdb my.system.address smtp \ /var/qmail/ucspi/rblsmtpd -r bl.spamcop.net -r sbl-xbl.spamhaus.org \ /var/qmail/bin/qmail-smtpd 21 | splogger mytag When I added a similar line where i had /var/qmail/bin/splogger tcpserver Please don't say similar, as similar means a lot of things: post the complete starting commands. 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. Tonino
[vchkpw] chkuser 2.0.8 + syslog
Hello, I am currently trying to setup my chkuer 2.0.8 to log to syslog. Currently all of the information is coming out on /dev/console. I currently have the following setup #define CHKUSER_ENABLE_LOGGING /* * Uncomment to enable logging of good rcpts * valid only if CHKUSER_ENABLE_LOGGING is defined */ #define CHKUSER_LOG_VALID_RCPT /* * Uncomment to enable usage of a variable escluding any check on the sender. * The variable should be set in tcp.smtp for clients, with static IP, whose mailer * is composing bad sender addresses */ #define CHKUSER_SENDER_NOCHECK_VARIABLE SENDER_NOCHECK Is there any way that I can get it to goto syslog?. Thanks Jimmy.
Re: [vchkpw] chkuser 2.0.8 + syslog
Hi Jimmy, this does not look as a chkuser problem, but as a general qmail problem (as chkuser uses same logging routines of qmail). chkuser log goes whenever qmail logs go. Are your normal qmail-smtpd logs going to syslog? You should look in other pages, and check how syslog and splogger work. See http://www.lifewithqmail.org/lwq.html or http://qmail.3va.net/qdp/splogger.html more specific info. Ciao, Tonino At 14.54 17/05/2005, you wrote: Hello, I am currently trying to setup my chkuer 2.0.8 to log to syslog. Currently all of the information is coming out on /dev/console. I currently have the following setup #define CHKUSER_ENABLE_LOGGING /* * Uncomment to enable logging of good rcpts * valid only if CHKUSER_ENABLE_LOGGING is defined */ #define CHKUSER_LOG_VALID_RCPT /* * Uncomment to enable usage of a variable escluding any check on the sender. * The variable should be set in tcp.smtp for clients, with static IP, whose mailer * is composing bad sender addresses */ #define CHKUSER_SENDER_NOCHECK_VARIABLE SENDER_NOCHECK Is there any way that I can get it to goto syslog?. Thanks Jimmy.
Re: [vchkpw] chkuser 2.0.8 + syslog
On Tuesday 17 May 2005 11:47 am, tonix (Antonio Nati) wrote: Hi Jimmy, this does not look as a chkuser problem, but as a general qmail problem (as chkuser uses same logging routines of qmail). chkuser log goes whenever qmail logs go. Are your normal qmail-smtpd logs going to syslog? however, qmail-smtpd doesn't actually log anything.. so you've had to add some additional logging code :) -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED] pgpvXCAVXSWQh.pgp Description: PGP signature
Re: [vchkpw] chkuser 2.0.8 + syslog
At 17.59 17/05/2005, you wrote: On Tuesday 17 May 2005 11:47 am, tonix (Antonio Nati) wrote: Hi Jimmy, this does not look as a chkuser problem, but as a general qmail problem (as chkuser uses same logging routines of qmail). chkuser log goes whenever qmail logs go. Are your normal qmail-smtpd logs going to syslog? however, qmail-smtpd doesn't actually log anything.. so you've had to add some additional logging code :) You are right! Around chkuser logging I have tcpserver logging (tcpserver starting qmail-smtpd). I consider it the same of qmail-smtpd (when existing :-)) in my previous comment. Tonino -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]