Mirko Zeibig writes:
> Hello,
> I now use this alias-definition to post every mail to a list to a
> newsgroup as well. Any ideas to do this more efficient?
> Thanx
> Mirko
> ** /var/qmail/alias/.qmail-all **
> | { echo "Newsgroups: local.announce"; cat - } | sed '/^Received:/d' |
> sed '/^\ \ by\ unknown\ with\ SMTP/d' | rpost localhost -M
Yuck. Use formail which comes with procmail, or reformail which comes with
maildrop, to properly twiddle your headers. This is not the right way to
do it, and it will break sooner or later.