Hermann Wecke <hermann(_at_)cmil(_dot_)sp(_dot_)gov(_dot_)br> writes:
Is this correct?
No.
:0
* ^FROM: Majordomo\(_at_)tradinghouse\(_dot_)com
! /dev/nul
1) ^FROM isn't special. The above will match against the From:
header. If that's really what you want, just capitalize it
normally. If you want to match against other headers as well
(Sender:, Return-Path:, etc) then you'll have to put them in
the regexp.
2) @ isn't a special in regexps, except in Perl, so don't escape it
unless you're writing Perl code.
3) "/dev/null" is spelled with two ells.
4) You don't forward to /dev/null, you deliver to it like it's normal
file. Remove the '!' from the action.
:0
* ^From: Majordomo(_at_)tradinghouse\(_dot_)com
/dev/null
or maybe
:0
*
^(From|Return-Path|Sender):.*\<Majordomo(_at_)tradinghouse\(_dot_)com\>
/dev/null
Philip Guenther