Re: Today's stupid question...

2009-01-14 Thread Hanno Hecker
On Thu, 15 Jan 2009 00:20:22 -0500 "Chris Lewis" wrote: > Which puts the extended error code (5.1.1) at the end with the # sign. Eg: > > RFC821-error, text, (#extended error code) > > My quick glance at the RFCs and examples coming up from google all show > such an error being expressed this wa

Today's stupid question...

2009-01-14 Thread Chris Lewis
In my user verification plugin, I'm using the standard Qpsmtpd function: return Qpsmtpd::DSN->no_such_user("No such email address $address"); to generate no-such-user errors. I use other DSN functions for other errors as well. The above generates this, for example: 550 No such email address sd

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

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

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
Chris Lewis wrote: I'm running very high loads, and I'd like to keep my qpsmtpd logs reasonably brief - leaving it only to have a one line record per email, plus any CRITICAL or higher error messages. qpsmtpd 0.40. I have the following two lines in my config at the front: logging/file loglev

Today's stupid question on qpsmtpd logging

2007-11-06 Thread Chris Lewis
I'm running very high loads, and I'd like to keep my qpsmtpd logs reasonably brief - leaving it only to have a one line record per email, plus any CRITICAL or higher error messages. qpsmtpd 0.40. I have the following two lines in my config at the front: logging/file loglevel LOGCRIT nosplit tsfo