From: (no name) (no email)
Date: Fri Feb 20 2004 - 10:53:52 EST
On Fri, 20 Feb 2004, Michael Tokarev wrote:
> > +discard unix - - n - - error
>
> I object this. Don't made delivery agents dependant on the
> command name. Use an option instead:
>
> +discard unix - - n - - error discard
>
> or something like that.
As a precedent, the "bounce" service already has three service name
dependent functions, but it is certainly possible use additional arguments
instead of the service name. I think that the transport name is cleaner in
this case.
> BTW, is there any reason to keep this "error" transport at all?
> Ie, it may be recognized by qmgr directly...
>
The error transport has to talk to the "bounce" service, which may be
busy. Doing so synchronously in the queue manager is not a good idea.
When tracing is enabled, the sender gets a trace notice, this too is a job
for delivery agents, so even the discard transport has to work as
expected:
On Fri, 20 Feb 2004, Mail Delivery System wrote:
>
> Date: Fri, 20 Feb 2004 10:49:33 -0500 (EST)
> From: Mail Delivery System <MAILER-DAEMON>
> To:
> Subject: Mail Delivery Status Report
> ----------------------------------------
>
> This is the Postfix program at host pimtabh1.ms.com.
>
> Enclosed is the mail delivery report that you requested.
>
> The Postfix program
>
> <junk at discard dot invalid>: delivery via none: Invalid destination discarded
>
> [ Part 2: "Delivery report" ]
>
> Reporting-MTA: dns; pimtabh1.ms.com
> X-Postfix-Queue-ID: 0190043884
> X-Postfix-Sender: rfc822;
> Arrival-Date: Fri, 20 Feb 2004 10:49:32 -0500 (EST)
>
> Final-Recipient: rfc822; junk at discard dot invalid
> Action: deliverable
> Status: 2.0.0
> Diagnostic-Code: X-Postfix; delivery via none: Invalid destination discarded
>
>
> [ Part 3: "Message" ]
>
> Date: Fri, 20 Feb 2004 10:49:32 -0500 (EST)
> From: root <>
> To: junk at discard dot invalid
> Subject: probe
>
-- Viktor.
|
|
|