procmail
[Top] [All Lists]

Re: $DEFAULT

2001-12-24 19:15:49
Steve Sykes asked,

| How can I make the $DEFAULT address another user's address to forward mail
| to them?

You can't.  There's no such thing as a default address in procmail, only a
default folder.  $DEFAULT has to be a folder (an mbox or a directory) and
can't be any other kind of action; the only exception is

 DEFAULT=|

which makes writing to stdout the default delivery.

In order to make forwarding to another address the default action, you have
to state

 :0
 ! that(_at_)other(_dot_)user

explicitly at the end of the recipes.  That should do what you want, but it
can't be done by assigning DEFAULT.  Remember that if you have any other
recipes that explicitly deliver to $DEFAULT, their action lines should be
changed to   ! that(_at_)other(_dot_)user   as well.



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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