Vacation Program...

Vacation Program...

Post by Paul Malinowsk » Fri, 22 Jun 2001 07:34:22



Howdy,

I am trying to get the vacation mail auto-responder working and am not
having much luck.
I am running RH7.1/2.4 kernel and downloaded and installed
vacation-1.2.5-1.i386.rpm from RH.  There is a
link from /etc/smrsh/vacation to /usr/bin/vacation.

total 12
drwxr-xr-x    2 root     root         4096 Jun 20 14:06 .
drwxr-xr-x   60 root     root         8192 Jun 20 07:53 ..
lrwxrwxrwx    1 root     root           17 Jun 20 14:06 vacation ->
/usr/bin/vacation

Running the vacation program yeilds .forward, .vacation.msg and
.vacation.db in user directory.

.forward
\username, "|/usr/bin/vacation username"

Mail log yeilds:

Jun 20 14:36:44 machine sendmail[26253]: f5KLaiE26253:



Jun 20 14:36:44 axiom sendmail[26254]: f5KLaiE26253:
to="|/usr/bin/vacation username", ctladdr=username  (651/651),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=60985, dsn=2.0.0,
stat=Sent
Jun 20 14:36:44 machine sendmail[26254]: f5KLaiE26253: to=\username,
delay=00:00:00, xdelay=00:00:00, mailer=local, pri=60985, dsn=2.0.0,
stat=Sent

when a message is sent to the user of the machine.  Looks like procmail
is handing off to /usr/bin/vacation.

The message is not replied to.  Manually configured .forward files to
forward or mail to other addersses
and .procmailrc vacation files work just fine.  It would seem something
is not right with /usr/bin/vacation.
Does anyone have any suggestions.  My ultimate goal is to get the
vacation plugin of SquirrelMail working,
which requires the vacation rpm.

Any help would be greatly appreciated!

Paul Malinowski

 
 
 

Vacation Program...

Post by Dean Thompso » Fri, 22 Jun 2001 09:48:50


Hi Paul,

Quote:> I am trying to get the vacation mail auto-responder working and am not
> having much luck.
> I am running RH7.1/2.4 kernel and downloaded and installed
> vacation-1.2.5-1.i386.rpm from RH.  There is a
> link from /etc/smrsh/vacation to /usr/bin/vacation.

> total 12
> drwxr-xr-x    2 root     root         4096 Jun 20 14:06 .
> drwxr-xr-x   60 root     root         8192 Jun 20 07:53 ..
> lrwxrwxrwx    1 root     root           17 Jun 20 14:06 vacation ->
> /usr/bin/vacation

> Running the vacation program yeilds .forward, .vacation.msg and
> .vacation.db in user directory.

You might want to check your other logs like "secure" or "messages" to see
whether or not they report a problem.  I know that I have had problems in the
past getting smrsh to execute programs like vacation.  In the end, after doing
some quick debugging (and the need to get it up and running), I changed my
mail delivery over to procmail.  This seemed to stop all my problems and
vacation has worked since.

If I remember correctly, there may well be a security entry somewhere in one
of your logs saying that it refuses to run the program vacation even though
you have constructed the appropriate symbolic link.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+