procmail
[Top] [All Lists]

now i can trap spam how do i forward good mail

2002-10-19 09:45:52
Hi

I have spambouncer working but need to forward the good mail to another
server.
So if it passes all the traps and filters it is then forwarded to the users
alternate address.

I did have a simple forward rule in .procmailrc

:0H
* info(_at_)somedomain(_dot_)com
! user(_at_)alternatedomain(_dot_)com

now since the .procmailrc has lots of rules i am lost as to how to forward
the good mail.
I figure i need to modify this rule since it passes good mail to the "info"
users mailbox ok on this server.

:0:
* ? test -f ${MYEMAIL} && \
    (${FORMAIL} -zxTo: -zxCc: |\
    fgrep -i -f ${MYEMAIL})

| ${FORMAIL} -A"X-Folder: Default" >>${DEFAULT}

MYEMAIL is a text file with list of legal email addresses to accept email
to.

Mark

_______________________________________________
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>
  • now i can trap spam how do i forward good mail, Obantec Support <=