#1  
Old 25th July 2013, 19:45
mbianchi mbianchi is offline
Junior Member
 
Join Date: Jul 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default autoresponder problems

Hi all,
I'm running isconfig 3.0.4.6 on CentOs 6.3
I had a problem with the autoresponder, I just wanted to change it's behaviour and so changed the autoresponder.master file.
When I made my changes to add some option to the mailbot command, the autoresponder stopped working. No I'm back with the exact same master file as before but the autoresponder still does not work.
What do I have to do? There are no logs to see what is happening, it is all working except the autoresponder.
This is the content of my autoresponder.master file (same as the installation one):

`test -f {vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.msg && exit 1 || exit 0`
if ($RETURNCODE==1)
{
{
if (!/^List-Unsubscribe:.*/:h )
{
if (!/^X-Spam-Flag: YES/:h )
{
NOW=time
if ({start_date} lt $NOW && {end_date} gt $NOW)
{
RESPOND="{vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.msg"
RESPONDDB="{vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.lst"

# The following must be one contiguous line
cc "| mailbot -t $RESPOND -d $RESPONDDB -c 'UTF-8' -D 1 \
-A 'From: $RECIPIENT' -s 'Out of Office: from $RECIPIENT' \
/usr/sbin/sendmail -t -f ''"
}
}
}
}
}

Thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 25th July 2013, 20:49
mbianchi mbianchi is offline
Junior Member
 
Join Date: Jul 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Ok no problems, it's working now, I just turned off and back on the autoresponder option in the mailbox manager.
For those who want to have a clean autoresponse with only your message and not the original message, just add
-T reply -N -S ''
to the mailbot command like this:
Code:
# The following must be one contiguous line
cc "| mailbot -T reply -N -S '' -t $RESPOND \
-d $RESPONDDB -c 'UTF-8' -D 1 \
-A 'From: $RECIPIENT' -s 'Out of Office: from $RECIPIENT' \
/usr/sbin/sendmail -t -f ''"
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
Autoresponder problems jtheed Installation/Configuration 9 24th December 2010 05:10
ISPConfig 3 problems with autoresponder raiman Installation/Configuration 7 1st September 2010 13:53
E: Sub-process /usr/bin/dpkg returned an error code (1) ergti Installation/Configuration 1 16th August 2009 13:36
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 10:11
Empty Recycle Bin jon335 General 40 6th May 2006 12:56


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


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