Vacation Messages unreliable

rszkutak

Verified User
Joined
Dec 22, 2003
Messages
173
Location
Scottsdale, AZ & Clam Gulch, AK
I have had numerous complaints from my clients about the vacation messages being flat out unreliable on my server. A client (or i) will set one up say for 3 days from now to trigger in the morning, then set it to turn off 5 days later. Sometimes it turns on, sometimes it turns off, other times it's a variety of one or the other.

All in all it's very inconsistant.

Anyone got any thoughts on what I can look at to fix this so i can stop pulling my hair out?

Thanks,
 
I've never heard this complaint, nor have I experienced it.

Has anyone else?

Jeff
 
Hello,

1996? Not sure where you're pulling that number from, DA was written 2002-2003+. Please avoid making stuff up!
You can expect it to work.. if it isn't, then something is off and needs to be fixed.

As for the issue, there is a cronjob that runs 4 times a day to check and set the on/off status of all vacation messages. The command would be found in:
/etc/cron.d/directadmin_cron
(or /etc/crontab on freebsd)

and will look like:
Code:
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
So you'll first want to check your /var/log/cron log to ensure that the above echo command is in fact running 4 times a day (Every 6 hours) at minute :02.

Beyond that, there isn't a huge amount else to go wrong.

As for the code's functionality, the value=all version will grab the list of domains and users from /etc/virtual/domainowners. For each domain, go through /etc/virtual/domain.com/vacation.conf and decide to either turn on, or off, or do nothing to a vacation message account.

So the only other area that could go wrong, would be if your /etc/virtual/domainowners is not complete.

Use this guide if you need to rebuild it:
http://help.directadmin.com/item.php?id=43

Hope that helps!

If after all of that, you can't figure it out, you can always send us an email to support at directadmin.com, that's what we're here for. Or use https://www.directadmin.com/clients/safesubmit.php
Be sure to include specific examples so we can try to duplicate the issue.

John
 
Lmao I wasn't talking about DA... NO. Im not making anything up I was talking about the *nix vacation program. If DA uses another way to send vacation files then fine.
 
scsi, please refrain from responding in an authoritative manner when you don't know. You may certainly read the exim.conf file to see how DirectAdmin handles vacation messages.

Jeff
 
Back
Top