[Bug 366762] cron ignores postfix environmental settings
https://bugzilla.novell.com/show_bug.cgi?id=366762 https://bugzilla.novell.com/show_bug.cgi?id=366762#c13 --- Comment #13 from Don Hughes <support@microtechniques.com> 2011-01-03 21:13:15 UTC --- I have a system that occasionally processes mailing lists that are signed with DKIM. Since the e-mail envelope information is included in the signature, I found it very difficult to have a single instance of postfix expand the address information, sign the e-mail, deliver local email, and accept incoming e-mail. I found it much easier to understand and maintain by running three postfix instances: 1) postfix-out which expands address lists, normalizes FROM information, and applies disclaimers and opt-out notices and then forwards the mailt to 2) postfix-mailer which signs the mail and forwards it for delivery and which does not have to modify any of the envelope or mail information, and 3) postfix-in which processes incoming mail for signature verification and local delivery. I also run cfengine to keep the configurations of all of my various servers in sync, and since these versions of postfix have very different configurations from any of my other machines, it was much less error prone to give them different names/paths. Since the SENDMAIL command respects the MAIL_CONFIG environment variable, it was fairly easy to get the vast majority of the applications that run on this server to correctly send their output to the correct instance. The end result was that only a few root e-mails generated by the security jobs were collecting in the delivery queues of the /etc/postfix instance instead of being forwarded to the central monitoring system. I found the patches preferable to having yet another postfix instance to keep track of and, besides, if I specifically change MAIL_CONFIG I would expect all of the jobs that generate e-mail to respect it, not just the ones that feel like it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com