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, 20:42
supanatral supanatral is offline
Member
 
Join Date: Mar 2010
Posts: 38
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, 14:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 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 2 Users Say Thank You to falko For This Useful Post:
gegorasusasday2756 (27th September 2012), Turbanator (7th October 2013)
  #3  
Old 11th October 2013, 03:14
Turbanator Turbanator is offline
Senior Member
 
Join Date: Jun 2008
Posts: 220
Thanks: 23
Thanked 16 Times in 16 Posts
Default

Falko
i tried this on Perfect Squeeze, courier, ispc 3.0.5.3 and it's still not putting the custom responder with -N in place.

It's still grabbing the default.

Did I miss something?
Reply With Quote
  #4  
Old 11th October 2013, 20:53
Turbanator Turbanator is offline
Senior Member
 
Join Date: Jun 2008
Posts: 220
Thanks: 23
Thanked 16 Times in 16 Posts
Default

And in addition, unless I'm missing something, I don't think the -N switch is valid anymore in the debian squeeze mailbot version......

any ideas how to get the auto reply Above instead of below the Response?
Reply With Quote
  #5  
Old 11th October 2013, 22:27
Turbanator Turbanator is offline
Senior Member
 
Join Date: Jun 2008
Posts: 220
Thanks: 23
Thanked 16 Times in 16 Posts
 
Default

Here's an answer to the -N issue not working on Squeeze.

http://www.arty.lv/ispconfig-3-0-4-6...ian-6-squeeze/

Falko, do you think it would be ok to perform the courier update as they suggest? Any special steps you think should be done to ispc?

Now if we can figure out why the autoreponder was pulling from /conf and not /conf-custom I'll be set.
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
Catchall and Forwarding not working simmo General 6 22nd March 2014 01:54
webalizer in ispconfig3 pinguinito General 12 4th October 2012 11:50
postfix problem jagsler Server Operation 41 7th July 2011 15:19
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 15:49
Exim MTA dazblade Server Operation 4 16th July 2007 19:42


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


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