On Friday 22 May 2009 08:50:28 Dr.Pesko wrote:
> Melvyn Sopacua wrote:
> > On Wednesday 20 May 2009 21:14:39 Dr.Pesko wrote:
> >> On 5/20/2009 1:03 AM, mouss wrote:
> >>> Dr.Pesko a écrit :
> >>>> Hello everyone,
> >>>>
> >>>> can postfix automatically create delivery notification info for every
> >>>> sent message and store it in another mailbox? Thanks.
> >>>
> >>> it's unclear what you mean by "delivery notification". if it's DSN,
> >>> then the client needs to request it.
> >>>
> >>> but you probably want a vacation program.
> >>
> >> I wanna automatically receive delivery notification messages from
> >> postfix about sent mail without DSN request. Is it possible? Thanks.
> >
> > I don't think you can tie in to the "delete from queue because mail is
> > delivered" event. However, it is logged, so if you're creative, you can
> > use a syslog pipe to a custom program (maybe even grok), which matches
> > those log lines and then generates status messages to be delivered
> > through procmail or anything that's not using postfix (otherwise you'll
> > loop yourself).
>
> Ok and what about "sendmail -N success,delay,failure"? How can I use
> it(instead of sendmail -N delay,failure)? Should I change some
> configuration file, or what? Thanks.

Change the way you invoke sendmail in your upstream application, but....those 
notifications will go to the sender. Best you can do is get copies via earlier 
mentioned _bcc options.

I can theorize why you need this (CRM or ticket application that wants to keep 
track of the mails sent), but if you make a compelling case for needing this 
feature, you may be able to persuade Wietse to provide a hook for 
"success_dsn_address" so that not just locally injected mail can get success 
status deliveries (which would be needed if the postfix installation in 
question is the relayhost for the actual MTA the application uses).
-- 
Melvyn Sopacua

Reply via email to