Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st June 2010, 15:07
harrop_mark harrop_mark is offline
Junior Member
 
Join Date: Feb 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Autoresponse uses FROM not REPLY-TO address

I set up Falko's autoresponder on a centos server running the postfix mail install provided by iRedMail.

It works great, so thanks alot Falko.

I have one problem though which I hope you might be able to help me with. It relates to the way jobserve.com sends mail (but I'm sure they are not the only ones). I've set up a system whereby adverts I place on jobserve.com, have a mailbox associated with them which should autoreply each applicant with further instructions/information about the roles I advertise there.

Although your script works fine in ALL other tests, it fails to respond to mails generated from jobserve. I've examined the header coming from jobserve emails and think I've spotted the problem (see below - email details changed):

Received: from xss15.mail.jobserve.com (HELO xss15.mail.jobserve.com) (193.xx.xx.xxx)
by server-11.tower-149.messagelabs.com with SMTP; 20 Jun 2010 22:59:59 -0000
Date: Sun, 20 Jun 2010 22:59:58 +0100
FROM: "mrufuse@hotmail.com" <apply.online@jobserve.com>
TO: "job141@tswift.com" <job141@tswift.com>
Reply-To: "mrufuse@hotmail.com" <mrufuse@hotmail.com>
X-Priority: 3
X-Mailer: JobServe-XSS.2.0.0
-------------------------------------
In the above, the applicant was a mrufuse@hotmail.com, but that was only sent as a display name of the sender (whereas the real FROM email address is the generic apply.online@jobserve.com

Using a mail client (i.e. manually replying to the mail above) works fine presumably becuase the mail client uses the "reply-to" value (mrufuse@hotmail.com) value, whereas I'm guessing your autoresponse script uses the FROM email address value (apply.online@jobserve.com)

Any ideas on how I could get your script to use the Reply-to address instead of the FROM?

Have been pulling my hair out trying to find a solution, so any help would be appreciated.
And thanks for your script - it works a treat, and your documentation is great.
Mark

Last edited by harrop_mark; 21st June 2010 at 15:09.
Reply With Quote
Sponsored Links
  #2  
Old 21st June 2010, 15:40
harrop_mark harrop_mark is offline
Junior Member
 
Join Date: Feb 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Maybe it should be able to handle both scenarios?

Thinking about this some more, and realising that not all emails supply a REPLY-TO address, it would be great if the autoresponse used REPLY-TO when it was present, or just FROM if it was the only field available.
Reply With Quote
  #3  
Old 22nd June 2010, 17:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Did you install the latest autoresponse version?
__________________
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
  #4  
Old 26th June 2010, 02:08
harrop_mark harrop_mark is offline
Junior Member
 
Join Date: Feb 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default latest version

Hi Falko, checked my version and it's 1.6.3 which is the same as the version on your nefaria page.

Is there not something I can do with this line in the master.cf to make it use REPLY-TO address

autoresponder unix - n n - - pipe
flags=Fq user=autoresponse argv=/usr/local/sbin/autoresponse -s ${sender} -r ${recipient} -S ${sasl_username} -C ${client_address}


like change the ${sender} variable to something else?

would really appreciate a steer, thanks
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
Postfix queue problem? murunix Server Operation 7 2nd May 2011 02:55
Sending mail ISPConfig 3 but not receivind catza Installation/Configuration 20 19th May 2010 13:47
Sending emails with custom FROM email address merisor Installation/Configuration 4 8th February 2010 17:27
Squirrelmail reply email address is wrong LazyEyes General 6 16th March 2009 03:09
SMTP mass Connection error barney.parker Server Operation 2 2nd November 2007 18:57


All times are GMT +2. The time now is 16:17.


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