Hello Gilles, everyone else

I was able to get it working finally :)


1)  the .forward can have multiple entries for multiple aliases (here is an
example that I tested)

\tomothy , "|/usr/bin/vacation -a tom.smyth tomothy"
\tomothy , "|/usr/bin/vacation -a noc tomothy"
\tomothy , "|/usr/bin/vacation -a support tomothy"

2) the message format in the vacation manual can be confusing   when
creating the .vacation.msg

make sure there is no indentations in the file so that the email gets
formatted correctly when sent

3) if you are testing out vacation ... it is good to run vacation -i after
each run so that it removes your email from the vacation.db ( and will
respond to your mail)

I Hope this helps



On Sun, Feb 1, 2015 at 10:09 PM, Gilles Chehade <[email protected]> wrote:

> On Sun, Feb 01, 2015 at 09:54:46PM +0000, Tom Smyth wrote:
> > Hi Guys...
> >
>
> Hi,
>
>
> > just wondering if any of you managed  to get vacation working with
> > .forward,
> >
>
> I don't manage to get vacations working altogether ;-)
>
>
> > .forward seems to work for simple email addresses but when i have the
> > following in
> >
> > I have created a .forward and .vacation.msg in the user tomothy home
> > directory (in /home/tomothy
> >
> > the contents of the .forward is
> >
> > \tomothy , "|/usr/bin/vacation -a tom.smyth tomothy"
> >
> >
> > my aliases file contains the following
> >
> > tom.smyth : tomothy
> >
> >
> > But I cant seem to get vacation to send responding mails...
> >
> > I think it is being called when a mail is received but  vacation seems to
> > complain about the syntax
> >
> > the contents of /var/log/messages
> > Feb  1 21:12:29 ilb vacation: uid 1002: usage: vacation [-i] [-a alias]
> > login
> > Feb  1 21:21:14 ilb vacation: uid 1002: usage: vacation [-i] [-a alias]
> > login
> > Feb  1 21:22:47 ilb last message repeated 7 times
> > Feb  1 21:31:57 ilb last message repeated 11 times
> > Feb  1 21:43:22 ilb last message repeated 44 times
> >
> >
> > Any help would be appreciated...
> >
>
> I don't use vacation so I don't really know, I'll do a test tomorrow if
> you don't figure out till then, however I can tell you that this mailing
> list uses a similar construct so it should work
>
>
> --
> Gilles Chehade
>
> https://www.poolp.org                                          @poolpOrg
>



-- 
Kindest regards,
Tom Smyth

Mobile: +353 87 6193172
---------------------------------
PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS E-MAIL
This email contains information which may be confidential or privileged.
The information is intended solely for the use of the individual or entity
named above.  If you are not the intended recipient, be aware that
any disclosure, copying, distribution or use of the contents of this
information is prohibited. If you have received this electronic
transmission in error, please notify me by telephone or by electronic mail
immediately. Any opinions expressed are those of the author, not the
company's  .This email does not constitute either offer or acceptance of
any contractually binding agreement. Such offer or acceptance must be
communicated in
writing. You are requested to carry out your own virus check before opening
any attachment. Thomas Smyth accepts no liability for any loss or damage
which may be caused by malicious software or attachments.

Reply via email to