procmail
[Top] [All Lists]

Re: searched, lurked... autoresponse + forward?

1997-06-03 05:27:00
Hi,
try this, it works for us:).

This will send out whatever is stored in the file auto.info when somebody
mails the user info(_at_)our(_dot_)domain

:0 c
* ^To:
* [iI][nN][fF][oO]@
* !^X-Rinfo: info(_at_)rayware(_dot_)co(_dot_)uk
* !^Subject:.Re:
* !^FROM_DAEMON
{
MAILDIR=/var/spool/mail
:0 fhw
| formail -rA "X-Rinfo: info(_at_)rayware(_dot_)co(_dot_)uk" -I "Subject: Your 
request for
Inform
ation" -I "From: Information_Server <info(_at_)rayware(_dot_)co(_dot_)uk>"
:0 ah
| cat - /var/spool/mail/auto.info 2>&1 | $SENDMAIL -oi -t -f sysbot
}

---
Ian


<Prev in Thread] Current Thread [Next in Thread>