Issue Resolved
Wess
mailscanner at ELIQUID.COM
Thu Nov 11 14:11:50 GMT 2004
[ The following text is in the "utf-8" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Thankfully I have only needed the vacation program once since I moved to
MailScanner. Unfortunately for me, it was very difficult to use, and to
implement in the future if I need it.
My configuration is:
MailScanner 4.32.5
MySQL 4.0.22
Postfix 2.1.5
SpamAssassin 3.0.1
ClamAV 0.80
I have all user accounts managed virtually through mysql.
Here is how I got vacation to work last time:
1. Create new user account for the person on vacation (Mail users are
hosted virtually, so they do not have user accounts...)
2. Set their email address to forward to their old inbox, and the
vacation program via alias. ("| /usr/bin/vacation -a username")
3. Configure the vacation settings in their temporary home directory.
4. Extensive testing/smashing head on wall.
5. Finally worked after tweaking.
Now that you know what I did, with SQL based virtual hosting, is there an
easier way to use a vacation program or script with this type of
Mailscanner virtual hosting? if you can help me out, see me on the
Unofficial IRC support channel or simply respond here. Vacation scripts
are requested quite often here, and a quick way of dealing with them
would be quite ideal.
MailScanner on IRC
Community Support
irc.freenode.net
#mailscanner
Thanks guys!
On Wed, 2004-11-10 at 23:15, Dave Filchak wrote:
Just in case anyone else deals with the vacation program and thinks there
might be an issue with MailScanner:
As the people that replied said, "MailScanner" will not stop the auto
response message from being sent".
After Googling and not really clarifying much and searching the archives, I
finally got a tip (link) from Steve Swaney (thanks Steve). The instructions
were a bit clearer for my overworked brain and this got me going in the
right direction.
What my problem was, I misunderstood, how the vacation forward rules should
work. For some of my email clients, we have a log in name and then an alias
in virtusertable to the log in name. So the rules I tried that did not work
and gave me an "unknown mailer" error were:
\login_name, "|/usr/bin/vacation login_name"
\login_name, "|/usr/bin/vacation -a login_name"
\login_name, "|/usr/bin/vacation -a alias_name at domainname" (not sure why
this one did not work)
These all gave me an error. What worked was:
\login_name, "|/usr/bin/vacation -a alias_name at domainname login_name" Again,
this rule applies to a situation where you have usernames and then entries
in the virtusertable in Sendmail that point to these users.
I could have written it this way to set a different time interval between
responses to the same sender:
\login_name, "|/usr/bin/vacation -a alias_name at domainname -r 3 login_name"
which would set the time interval to three days (default is 1 week).
Hopefully, if any other "relatively inexperienced" person on this list
thinks he or she has an issue with MailScanner and the dreaded vacation
program, hopefully this will help. Thanks to all who replied to me.
Dave
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
MailScanner on IRC
Community Support
irc.freenode.net
#mailscanner
------------------------ MailScanner list ------------------------ To
unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/)
and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
More information about the MailScanner
mailing list