Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th February 2009, 22:06
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
Default Howto send a bounce e-mail message?

I've setup one of my domains to catchAll-Email.
Now I want to send some bounce e-mails for some e-mail addresses from this domain.

Is a bounced email only a reply to the sender with as subject: "Undelivered Mail Returned to Sender", or do I also need to send somekind of "550" code with it?

I've had a look at Falko's "How To Configure Custom Postfix Bounce Messages", but this will not work if I have set the catchAll-Email option.
__________________
Never execute code written on a Friday or a Monday.

Last edited by edge; 5th February 2009 at 23:54.
Reply With Quote
Sponsored Links
  #2  
Old 6th February 2009, 00:47
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
 
Default

Kind of found a way of doing this (in PHP)
mail($To,$Subject,$Msg,$headers, '-f'.$returnaddress);
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
The Following User Says Thank You to edge For This Useful Post:
falko (6th February 2009)
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
Postfix & mail forwarding loop varnik Server Operation 21 9th December 2008 16:13
Can't login SquirrelMail satimis Server Operation 23 10th June 2008 14:51
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 10:40
can't send mail marra87 Installation/Configuration 2 20th October 2006 13:57
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 25th July 2006 00:16


All times are GMT +2. The time now is 05:30.


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