hi

in spamassassin i generally whitelist specific domains

whitelist_from_rcvd *[email protected] friendlydomain.com
whitelist_from_rcvd *[email protected] abc.friendlydomain.com
whitelist_from_rcvd *[email protected] xyz.friendlydomain.com

i know for sure that the emails from *[email protected] and coming from
different ip addressess - friendlydomain.com, abc.friendlydomain.com and
xyz.friendlydomain.com are good email

what i need to do is blacklist emails from *[email protected] if they
are NOT from friendlydomain.com, abc.friendlydomain.com and
xyz.friendlydomain.com since i know for sure that emails from
*[email protected] will not originate from any other server.


is there is method for this ?


rajesh


> FWIW, I have a user who does this periodically to save various things,
> so for me it's not spam.
>
> Are you using spamdyke? I'd be surprised if spamdyke didn't catch the
> emails in question.
>
> [email protected] wrote:
>> thanks for your reply
>>
>> spamassassin is such an advanced software i am sure there will be some
>> way
>> out to handle this.
>>
>> i hope somebody suggests a solution because such emails would be a
>> definite spam
>>
>> rajesh
>>
>>
>>> On Thursday 23 April 2009 12:58:17 [email protected] wrote:
>>>> 1) I sometimes receive spam mail with both the "mail from" and the
>>>> "mail
>>>> to" as the same email id. I need a spamassassin rule to block such
>>>> emails
>>>>
>>>> 2) a spamassassin rule to compare the mail from and envelope sender
>>>> (reply-to) and if both don't match then allocate a particular score to
>>>> the
>>>> email.
>>> I have asked the same question in spamassassin mailing list, but it
>>> seems
>>> that
>>> spamassassin cannot do it.
>>>
>>> I have tried to harden my SPF to block it ("v=spf1 mx -all" instead of
>>> "v=spf1
>>> mx ~all" ) , but it create more problem.
>>>
>>> My suggestion is to train the spamassassin bayes to catch the spam.
>>>
>>> --
>>> Regards,
>>>
>>> Adi Nugroho - http://adi.internux.co.id/
>>> iNterNUX --- http://www.internux.net.id/
>>> Jalan Dr. Sam Ratulangi No. 53J Makassar
>>> Tel. +62-411-834690  Fax. +62-411-834691
>>> CDMA:+62-411-6109535 GSM:+62-816-27-9193
>>>
>>>
>
>
> --
> -Eric 'shubes'
>
>
> ---------------------------------------------------------------------------------
>                  Managed Qmailtoaster servers are now available
>        Visit http://qmailtoaster.com/QMTManaged.html to order yours today!
>
> Qmailtoaster is sponsored by Vickers Consulting Group
> (www.vickersconsulting.com)
>
>      Please visit qmailtoaster.com for the latest news, updates, and
> packages.
>
>
>           To unsubscribe, e-mail: [email protected]
>          For additional commands, e-mail: [email protected]
>
>
>






---------------------------------------------------------------------------------
                 Managed Qmailtoaster servers are now available
       Visit http://qmailtoaster.com/QMTManaged.html to order yours today!

Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

     Please visit qmailtoaster.com for the latest news, updates, and packages.


          To unsubscribe, e-mail: [email protected]
         For additional commands, e-mail: [email protected]


Reply via email to