OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: weird problem with vacation, procmail, and postfix
From: Michael Tokarev (mjttls.msk.ru)
Date: Mon Jun 05 2000 - 11:28:06 CDT


Michael Tokarev wrote:
>
[]
> Maybe the problem is there. But wait -- you can test what exactly vacation
> gives to sendmail. Try to replace (temporary!) /usr/sbin/sendmail with
> a shell script like this:

Ops, forget to mention -- may be useful also:
Include the call to "id" program (do not know your system, so do not
know where to find it and what args it need) -- something like
  /bin/id -a >> $tmp
This can also be due to permission problems.
And check user's home and permissions on ~/.vacation* files.

> ---- cut ----
> #! /bin/sh
>
> tmp=/tmp/sendmail.$$
>
> echo "===Called: `/bin/date`" > $tmp
> echo "Arguments: $0 $*" >> $tmp
> echo >> $tmp
> echo "Message:" >> $tmp
> /bin/cat >> $tmp
> echo "end" >>$tmp
>
> exit 0
> ---- cut ----
>
> Place this in place of /usr/sbin/sendmail and watch the /tmp/sendmail.* files.
> This can get a clue...
>
> Regards,
> Michael.