informing users of trouble sending mail

Discussion in 'Server Operation' started by Tortanick, Jul 30, 2006.

  1. Tortanick

    Tortanick New Member

    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?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    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.
     
  3. Tortanick

    Tortanick New Member

    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
     
    Last edited: Aug 1, 2006
  4. falko

    falko Super Moderator ISPConfig Developer

    Maybe you can create a procmail recipe or something like that that rejects emails if they don't come from Postfix or amavisd.
     

Share This Page