I have a .courier-postmaster file in the alias directory for my domain name which handles mail to postmaster at my domain. This works as expected if the .courier-postmaster file contains only an address to which to forward the postmaster email, in this case "fmouse-postmaster" at my domain name.
If, on the other hand, I include a directive to run an external program one of two things happens. If the external program exits with an exit code of 0, the next delivery instruction is read and executed, in this case simple delivery to the mail account noted above. If the external program returns an exit code of 100, however, the SMTP dialog with the sender shows the message to be successfully delivered, however courierlocal records a "failure" for the message in mail.log and the postmaster address is disabled, requiring a "courier clear ..." to re-enable it. I would expect handling in the latter case to be according to the dot-courier(5) man page, showing "undeliverable" in the SMTP dialog, rejecting the email at the front door. What am I missing here? Does the fact that processing of dot-courier files in the <virtual-domain>/alias/.courier-postmaster is a two step process, invoking courierlocal twice mean that I can't do this? -- Lindsay Haisley | "UNIX is user-friendly, it just FMP Computer Services | chooses its friends." 512-259-1190 | -- Andreas Bogk http://www.fmp.com | ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
