Tue, 22 Aug 2006, M. Imran wrote:
Sorry Dallman for being incorrect second time.
Can any one tell me the right way to write this reciepie
Did you read my message?
Bye,
Udi
However, I start following the man pages.
Imran
--
8/22/06, Udi Mottelo <uuddii (AT) eng (DOT) tau.ac.ilwrote:
>
>Tue, 22 Aug 2006, M. Imran wrote:
>
>Date: Tue, 22 Aug 2006 13:29:19 +0500
>>
>Dear All,
>>
>I want to filter all emails coming not from my own domain to our
>private email address say privateaddress (AT) mydomain (DOT) com . I am working
>around following recipie but it is not working, kindly tell me how to
>write it.
>
>>
>The most simple or innocent recipe is:
>
>FRM=`formail -r -x"To: "`
>:0
>* ! FRM ? @my.own.main\>
>! private@address
>>
>I think it's ok for start. If your private is gmail you
>already have SPAM filter.
>
>>
>:0
>* !^From:outsidefrom-mydomain (AT) mydomain (DOT) com
>* ^T (AT) mydomain (DOT) com
>/dev/null
>>
>If you don't wnat to read extra info in the mans, read the man for
>procmailex (examples) you will see what /dev/null means. If you
>want to learn procmail I suggest you to start from
>#steps (Nancy
>McGough's Step by Step)
>
>Bye,
>Udi
>
>
>
>
>
>
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer
viruses.
>
>
>
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail (AT) lists (DOT) RWTH-Aachen.DE