I have the following auto-responder that works great:
Now, I'd like to add an additional recipe to this that would forward the
mail that comes in to another users mailbox. What would I have to add
to do this?
Something like:
:0 h c
* !^FROM_DAEMON
* !^X-Loop: info(_at_)allegiantmortgage(_dot_)com
| (formail -rt -A"From: Allegiant Mortgage
<info(_at_)allegiantmortgage(_dot_)com>" \
-A"X-Loop: info(_at_)allegiantmortgage(_dot_)com" ; \
echo "Thank you for your interest in Allegiant Mortgage."; \
echo "We have received your information and will be contacting you"; \
echo "within the next 48 to 72 hours to discuss your mortgage options.") |
$SENDMAIL -t
:0 A
! some(_at_)other(_dot_)users(_dot_)mailbox
The 'A' flag says "do this if the conditions on the preceding recipe
matched".
Hope that helps,
Martin
--
Martin McCarthy /</ PGP key available
`Procmail Companion' \>\ http://www.ancient-scotland.co.uk
Addison Wesley /</ http://www.ehabitat.demon.co.uk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail