On 1/6/2017 1:28 PM, Wietse Venema wrote:
>> Maybe have discard: exit with a fatal error when it's called as
>> bounce?
> 
> Instead of logging a warning when it receives an unexpected
> protocol message?

Yes, that would solve this misuse.  We can't prevent all unwise
uses, but maybe we can raise the entry level for foolishness.

> Postfix could require that the 'first' message between Postfix
> programs(*) contains the protocol name (enqueue, bounce, deliver,
> verify, ...). That way, the warning message for a protocol mis-match
> could be made more informative.

Better error messages are always good.  I don't know what it would
take to implement this, but it isn't worth a lot of trouble.




  -- Noel Jones

Reply via email to