I'd like postfix to inform users if there is a 10 minuet delay, again after 4 hours, and when postfix gives up. I'd also like to inform them if postfix gets a 5xx error. What do I put in main.cf for this. P.S. would a setup like this be possible if outgoing mail is bounced through an external server?
Have a look at the following Postfix parameters: bounce_notice_recipient delay_notice_recipient notify_classes You could have those messages delivered to postmaster, and then a script could split up the emails and distribute them to the appropriate recipient.
Thanks, I'll hit the shell script tutorials. One question though: how do I create an account that only postfix & Amavisd can send to, that should simplify the shell script
Maybe you can create a procmail recipe or something like that that rejects emails if they don't come from Postfix or amavisd.