Chris Green asked,
| I want to use procmail to filter out mail for a couple of addresses
| and then forward all other mail to the same place that the original
| .forward file sent it to.
|
| How do I set up a DEFAULT variable in procmail to send mail to an
| email address rather than a mailbox file?
You can't do it by setting DEFAULT. You need an explicit recipe at the end
of your rcfile to forward all mail that procmail has not already delivered:
:0 # no conditions; recipe is unconditional
! the(_at_)other(_dot_)address
I'd recommend adding some loop detection to that, though:
:0fwh
* ! ^X-Loop: this(_at_)local\(_dot_)address
| formail -A "X-Loop: this(_at_)local(_dot_)address"
:0A
! the(_at_)other(_dot_)address
:0E:
loopingmail
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail