Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello. I'm running GNU/Linux Debian Etch, kernel 2.6.18-4-686, postfix 2.3.8-2+b1, vacation 3.3.0-0.2, procmail 3.22-16, squirrelmail 1.4.9a-2, & vacation_local (squirrelmail plugin) 2.0-1.4. I am having an issue where the vacation message is processed for some users, and not for other users. This issue occurs no matter if I run vacation from the command line as the user or from within squirrelmail. I checked the .forward file in the users' home directories, and they are the same for all users (whether it's working or not). The .forward file:
Code:
"|/usr/bin/vacation cpgabrand"
\cpgabrand
/var/log/mail.log shows that vacation is receiving the e-mail:
Code:
Dec 12 12:44:36 mail postfix/local[15077]: AEBA4460F1: to=<cpgabrand@mail.domain.com>, orig_to=<cpgabrand@domain.com>, relay=local, delay=0.04, delays=0.03/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/vacation cpgabrand)
... but never shows that a message was processed for delivery to be returned to the sender.
Looking at man vacation, the .forward entry should be \username, "|/usr/bin/vacation username", which is the same as what I have commented out in my .forward.
Those aside, what are the permissions of ~/vacation.msg for those users with a problem? Ditto for .forward.
I've discovered something new ... vacation will only deliver a vacation message for an account that is eight characters or shorter. This explains why vacation for "testuser" works and why "cpgabrand" doesn't. I stumbled upon this while creating new accounts to test with. Oh well, it looks like I'll have to either bug the author or hack it myself.
EDIT: I even compiled vacation from source thinking maybe something was wrong with the debian package, but to no avail. vacation still exhibited the same symptoms.
Cheers,
LinuxLastsLonger
Last edited by linuxlastslonge; 12-17-2008 at 01:16 PM.
I've discovered the source of and solution to the problem. E-mail was being sent to abrand when the actual account was cpgabrand. Vacation didn't know how to handle it, so I had to place a "-a abrand" as a flag to the vacation binary in the .forward file. This solved the problem right away. Cheers!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.