procmail
[Top] [All Lists]

Re: Bouncing Spam(mail)

1996-09-17 07:24:31
On Mon, 16 Sep 1996, Alan K. Stebbens wrote:

To see exactly how a procmail recipe behaves, use VERBOSE=yes and
LOGABSTRACT=all.

How do I use that?

    MAILDIR=$HOME/Mail  # set appropriately, where to "chdir" to
    LOGFILE=log         # file is actually $MAILDIR/log
    VERBOSE=yes
    LOGABSTRACT=all

    ... # recipes ...

Please read the manpages on procmail, procmailrc, procmailex, and
procmailsc.  Especially, read the man page on "procmailrc" on the
variables. 
___________________________________________________________
Alan Stebbens <aks(_at_)sgi(_dot_)com>      http://reality.sgi.com/aks

On Fri, 13 Sep 1996, Alan K. Stebbens wrote:

    :0wc
    * 
^(Resent-)?(From|Sender):(.*[^a-zA-Z0-9])?\/soandso(_at_)spam\(_dot_)com
    * !^FROM_MAILER
    ! $MATCH

    # If the mail was successfully forwarded back, keep it in this
    # folder so I can check its contents now and then.
    :0a
    bounced-mail

I have put the same text in my .procmailrc. I have written
d7iraj(_at_)dtek(_dot_)chalmers(_dot_)se instead of 
sosandso(_at_)spam\(_dot_)com but the mail from
him to me dimps down in my inbox just as usuall.
I tried to write d7iraj(_at_)dtek\(_dot_)chalmers\(_dot_)se but neither 
that gave any
result. What is wrong?

/Markus
--
If you eat a live frog in the morning, nothing worse will happen to
either of you for the rest of the day.

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