Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th September 2012, 19:42
supanatral supanatral is offline
Member
 
Join Date: Mar 2010
Posts: 36
Thanks: 1
Thanked 4 Times in 4 Posts
Default Modify Default Auto Responder Script

We have a number of users who complain about the auto responder in ISPConfig because when autoresponder replies, it bottom posts.

After much trial and error, I've found out a solution to this problem. What needs to be done is I need to modify the "/var/vmail/mailfilters/domain/email/.autoresponder" file and add the "-N" switch to the mailbot command so that it looks like so:
Quote:
RESPOND="/var/vmail/mailfilters/$HOST/$USER/.vacation.msg"
RESPONDDB="/var/vmail/mailfilters/$HOST/$USER/.vacation.lst"

# The following must be one contiguous line
cc "| mailbot -N -t $RESPOND -d $RESPONDDB -c 'UTF-8' -D 1 \
-A 'From: $RECIPIENT' -s 'Auto Response: from $RECIPIENT' \
/usr/sbin/sendmail -t -f ''"
My question is this: How do I change the default autoresponder script so that from now on, it will add the "-N" switch when someone sets their autoresponder option?
Reply With Quote
Sponsored Links
  #2  
Old 18th September 2012, 13:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
 
Default

You can copy /usr/local/ispconfig/server/conf/autoresponder.master to /usr/local/ispconfig/server/conf-custom/autoresponder.master and then modify /usr/local/ispconfig/server/conf-custom/autoresponder.master - it will then override the default template.
__________________
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
The Following User Says Thank You to falko For This Useful Post:
gegorasusasday2756 (27th September 2012)
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
webalizer in ispconfig3 pinguinito General 12 4th October 2012 10:50
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 8 8th August 2011 15:55
postfix problem jagsler Server Operation 41 7th July 2011 14:19
Catchall and Forwarding not working simmo General 5 2nd July 2009 14:01
Exim MTA dazblade Server Operation 4 16th July 2007 18:42


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


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