Plugable HELP

2007-11-06 Thread Jose Luis Martinez
Hi, We have observed that the HELP command is not pluggable, so here is a patch to do so, and a sample plugin (that makes qp respond that there isn't documentation when a HELP xxx command is issued, instead of repeating the default help message). Also, HELP capability is not announced in EHL

Today's stupid question on qpsmtpd logging

2007-11-06 Thread Chris Lewis
m logterse, but it looks very much like I'm getting logs from all levels. Eg: 20071106-15:08:40 ertps004[15937]: to email address : [<[EMAIL PROTECTED]>] 20071106-15:08:40 ertps004[15924]: from email address : [<[EMAIL PROTECTED]>] 20071106-15:08:40 ertps004[15931]: from em

Re: Today's stupid question on qpsmtpd logging

2007-11-06 Thread David Summers
7;m getting the records from logterse, but it looks very much like I'm getting logs from all levels. Eg: 20071106-15:08:40 ertps004[15937]: to email address : [<[EMAIL PROTECTED]>] 20071106-15:08:40 ertps004[15924]: from email address : [<[EMAIL PROTECTED]>] 20071106-15:08:40 ert

Re: Today's stupid question on qpsmtpd logging

2007-11-06 Thread Chris Lewis
David Summers wrote: > Yes, I noticed this immediately also as soon as I switched to logterse. > > I'm probably going to send in a (simple) patch tonight as soon as I get > home. That'll be nice. Thx. I just hacked mine, but I prefer to stick to stock as much as possible. > Getting ready to p

Re: Today's stupid question on qpsmtpd logging

2007-11-06 Thread David Summers
Here is the patch which turns down logging in SMTP.pm. Noticable when logterse plugin is used and debugging set to LOGWARN or above. Maybe this should be even set to LOGDEBUG instead of just LOGINFO? Patch against version 0.40. --- lib/Qpsmtpd/SMTP.pm.old 2007-05-30 10:49:54.0 -05

SPF question + patch

2007-11-06 Thread David Summers
Today I noticed that I got some SPAM to root user that said it was from root at my host. This shouldn't be possible because SPF should be checking and rejecting forged mail that says it comes from my host when it really comes from somewhere else. I turned on debugging and found the followin

Re: SPF question + patch

2007-11-06 Thread Chris Lewis
David Summers wrote: > > Today I noticed that I got some SPAM to root user that said it was from > root at my host. This shouldn't be possible because SPF should be > checking and rejecting forged mail that says it comes from my host when > it really comes from somewhere else. > > I turned on de

Re: Today's stupid question on qpsmtpd logging

2007-11-06 Thread Chris Lewis
David Summers wrote: > > Here is the patch which turns down logging in SMTP.pm. Noticable > when logterse plugin is used and debugging set to LOGWARN or above. > > Maybe this should be even set to LOGDEBUG instead of just LOGINFO? I made mine LOGDEBUG. I don't think qpsmtpd core (outside of th

plugin: verify_not_forged

2007-11-06 Thread David Summers
I implemented QPSMTPD last week on several servers and REALLY LIKE it! I did find a couple of issues that I'm working through. One is that I was still getting forged mail through SPF and TMDA. It was happening like so: MAIL FROM: <[EMAIL PROTECTED]> RCPT TO: <[EMAIL PROTECTED]> DATA From: <[E