|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: automatically appending disclaimer to mails sent via /usr/sbin/sendmail
From: Sebastian Reitenbach (sebastia
l00-bugdead-prods.de)
Date: Thu Mar 08 2007 - 01:34:49 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
>
> The solution is to use multiple postfix instances, or restructure the
> "disclaimer" script to submit mail to an smtp port. Maybe use
> mini_sendmail as a shim for this. The disclaimer script will need to
> be prepared to fail gracefully and not lose mail in case the smtp
> submission fails.
thanks for the hint to mini_sendmail. I added a content_filter as a default in
main.cf, and
added another smptd listener with content_filter= in master.cf, and exchanged
the usage of
sendmail in the disclaimer script to use mini_sendmail and told it to deliver to
the new
smtpd listener.
thanks
Sebastian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]