|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Adding custom info to postfix logs
From: Magnus Bäck (magnus
dsek.lth.se)
Date: Tue Jul 26 2005 - 16:34:36 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tuesday, July 26, 2005 at 23:29 CEST,
Christian Joergensen <mail
razor.dk> wrote:
> On Tue, 2005-07-26 at 18:21 -0300, Marcos Mendonça wrote:
>
> > Anyother way i could add the info i want to the sendmail log?
>
> What about using another approach and deliver the mail with smtp to
> localhost? Then you will get the queue-id to do your matching in the
> mail.log.
That's another way, but it is not without drawbacks:
* Postfix must be running. If the application attempts to send a
message during one of the short periods where Postfix is down (a
restart or similar) the application must deal with that in a
graceful manner.
* Unless the system is seriously hosed, messages submitted with
sendmail(1) are always accepted. If there is a problem, the message
is bounced. This is very convenient for automated systems that send
mail without user supervision. SMTP submissions puts much higher
requirements on the application and its SMTP client.
However, SMTP submission is faster so if performance is of the essence
SMTP might still be preferable.
--
Magnus Bäck
magnus
dsek.lth.se
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]