Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: egas on April 26, 2011, 02:04:10 AM
-
I just installed this contrib and it does not appear to be replying. I have tried with 2 user accounts but neither reply. I can see the 'user vacations' page via the server manager. I can change and save the vacation message and whether it is enabled or not. During my testing, I changed the timeout frequency to every 30 secs but still nothing. The incoming email is received by the user but no auto-reply is sent.
I can see that the .qmail file is being updated.
***When enabled via UI, .qmail contains***
| /usr/bin/maildrop ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;
# Forward not set
| /usr/local/bin/vacation -j -t30s mytest
./Maildir/
***When disabled via UI, .qmail contains***
| /usr/bin/maildrop ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;
# Forward not set
# Vacation Message not set
./Maildir/
Is there a log or something I can look at to see if it is really calling the contrib or that it is having a problem? I am running SME version 7.5.1 with all latest updates.
Thanks for your help in advance.
-
Well I found that if i commented out the maildrop process then the vacation process worked. So I did more searching and found this old issue http://bugs.contribs.org/show_bug.cgi?id=5044 (http://bugs.contribs.org/show_bug.cgi?id=5044) regarding FilterOrder. Then I looked at my mailsorting version and it was NOT up to date. So I updated it and now it works as expected. My bad.
However, I currently use the mailsorting to handle my SPAM routing, not the 'SortSpam' option. I am using the spamassassinlevelstars contrib and use a rule to have high level spam forwarded to one single spam-collecting user account and the low level spam goes to the users' junkmail accounts. I believe now if a vacation reply is setup that ALL email will receive the vacation reply even spam. I would like to limit this by removing at least the high level spam first.
Could I use the SortSpam option and change the 'condredirect' call to look for 'X-Spam-Level: \*\*\*\*\*\*\*.*' instead of 'X-Spam-Status: Yes' and redirect the high level spam to my spam-collecting account prior to the vacation process being called?
-
Well, did some testing and it looks like if the incoming email is marked as SPAM it does not get a vacation reply. Looking through 'man vacation', there is mention of not replying if 'There is a Precedence: bulk or Precedence: junk header.' But I did not see those specific words in the header of the SPAM emails that the vacation process did not reply to.
Well, if anything, I learned more of how some of the components work in handling emails.