procmail
[Top] [All Lists]

Re: mailing list

1996-12-03 08:45:26
At 23:33 2.12.1996 +0000, you wrote:
I have a mailing list set up which works fine.


:0
* ^TO_test
| $SENDMAIL  `cat $PMDIR/a.list`

You'll want to prevent mailing loops. Try

:0
* ^TO_test
* !^FROM_DAEMON
* !^X-Loop: test(_at_)yourdomain
| formail -i'X-Loop: test(_at_)yourdomain' -i'Precedence: list'\
 | $SENDMAIL `cat $PMDIR/a.list`


Antti-Juhani
--
PGP public key available through the keyservers.
gaia(_at_)iki(_dot_)fi * http://www.iki.fi/gaia/

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