John Peacock said the following on 02/24/2006 02:56 AM:
> Robin Bowes wrote:
> 
>>Neither plugin (qmail-queue or accepted_log) is returning OK - both
>>return DECLINED - and mail is delivered and I see no errors.
>>
>>Are you *sure* about your previous statement?
> 
> 
> Read the code at lib/Qpsmtpd/SMTP.pm:592 and explain how you are getting a 250
> instead of a 451...

This is what I see in the log:

19812 running plugin (queue): queue::qmail_2dqueue_2epatched
19813 queue::qmail_2dqueue_2epatched plugin: (for 19812 ) Queuing qp
19813 to /var/qmail/bin/qmail-queue
19812 Plugin queue::qmail_2dqueue_2epatched, hook queue returned
DECLINED, Queued! 1140767532 qp 19813 <>
19812 running plugin (queue): logging::accepted_log
19812 logging::accepted_log plugin: details of accepted mail go here
19812 Plugin logging::accepted_log, hook queue returned DECLINED,
accepted_log finished.
19812 451 accepted_log finished.
219812 dispatching QUIT

So I am getting a 451, but the mail gets delivered OK.

> In any case, the solution is that the log pluging that is hooking queue can
> simply return OK instead of DECLINED and everything will be correct (since it 
> is
> the terminal queue plugin then).

True, but then the logging plugin is coupled to the queue plugin again.

Let me look at this some more...

R.

Reply via email to