I know - procmail is very cewl.
But why not to use "vacation" for
this simple thing ? If it's something more then
just setting vacation message - procmail is better.
But if not ... Why make your life more complex ?
On Thu, 21 Oct 1999, Hetz Ben Hamo wrote:
> Hi,
>
> I'm trying to set up a small message which will be sent if someone sends
> email to one of our users who is in vacation..
>
> I have this file as .procmailrc
> [hetz@mail ~rkatan]# cat .procmailrc
> PATH=/bin:/usr/bin:/usr/bin
> MAILDIR=$HOME/mail #you'd better make sure it exists
> LOGFILE=$MAILDIR/from #recommended
>
> :0 h c
> * !^FROM_DAEMON
> * !^X-Loop: autoresponder loop
> | (/usr/bin/formail -r -A"X-Loop: autoresponder loop" ; /bin/cat
> $HOME/vacation.msg) | /usr/sbin/sendmail -t
>
> I have also the vacation file:
>
> [hetz@mail ~rkatan]# ls -l vacation*
> -rwxr-xr-x 1 rkatan root 72 Oct 21 11:21 vacation.msg
>
> Yet, when I send a message to this user, it doesn't bounce this
> vacation.msg back to me...
>
> Any help??
>
> Thanks
> Hetz
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>
>
>
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]