Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th July 2006, 14:26
Tortanick Tortanick is offline
Member
 
Join Date: Mar 2006
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default informing users of trouble sending mail

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?
Reply With Quote
Sponsored Links
  #2  
Old 31st July 2006, 15:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st August 2006, 09:30
Tortanick Tortanick is offline
Member
 
Join Date: Mar 2006
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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 by Tortanick; 1st August 2006 at 13:06.
Reply With Quote
  #4  
Old 2nd August 2006, 13:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
 
Default

Quote:
Originally Posted by Tortanick
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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not receiving any incoming mail. Jcorrea920 General 11 3rd April 2010 13:08
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 24th July 2006 23:16
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 01:41
Problem sending mail to 2nd SMTP server inside network kisong Server Operation 2 2nd March 2006 18:05
Trouble sending mail EvdM Installation/Configuration 5 19th February 2006 12:18


All times are GMT +2. The time now is 18:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.