procmail
[Top] [All Lists]

forwarding

2001-04-08 14:03:47
Hi,

I've a simple task, which I cannot solve.
I'd like to forward all mails which come NOT from me AND are NOT
directed to the specific computer where procmail runs. I tried:

    DEFAULT = /var/spool/mail/joze

    :0:
    * !^From:(_dot_)*johannes(_at_)zellner(_dot_)org
    * !^To:(_dot_)*joze(_at_)krispc6(_dot_)physik(_dot_)uni-karlsruhe(_dot_)de
    !johannes(_at_)zellner(_dot_)org

why does this not work ?

I tried also:

    LOCALMBOX = /var/spool/mail/joze
    DEFAULT = !johannes(_at_)zellner(_dot_)org

    :0:
    * ^From:(_dot_)*johannes(_at_)zellner(_dot_)org
    * ^To:(_dot_)*joze(_at_)krispc6(_dot_)physik(_dot_)uni-karlsruhe(_dot_)de
    $LOCALMBOX

but this saves the not-matching mails to 
~/.mail/!johannes(_at_)zellner(_dot_)org,
so the mail forwarding does apparently not work for DEFAULT.

Any help much appreciated.

-- 
   Johannes
_______________________________________________
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>