Noel Jones: > On 1/5/2017 6:47 PM, Wietse Venema wrote: > > Postfix User: > >> On Thu, 5 Jan 2017 17:11:15 -0500, Viktor Dukhovni stated: > >> > >>> Perhaps we should add comments above internal core service entries in > >>> master.cf: "DO NOT REMOVE, DO NOT MODIFY, ..." > >> > >> Personally, I believe it would be a waste of time Victor. Like the > >> saying, "Nothing is foolproof to the sufficiently motivated fool", > >> printing those warnings would probably make some individuals consider it > >> a challenge. On the other hand, if they are going to break it anyway, > >> what harm can it cause. > > > > Making Postfix more fool-proof, versus nature making better fools. > > > > Wietse > > > > 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? 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. Wietse (*) Or more general: every message that can be the first message after a connection is made between Postfix programs.