PDA

View Full Version : Spamassassin and self addressed spam!



gigi
04-30-2009, 09:26 AM
Hallo, is there anything I can do to reduce the spam coming with my own address?
Lot's of customers are complaining about the huge ammount of self-addressed spam which has dramatically raised during the last period.

Any config to do in spamassassin ? Something else? :(

Thanks

nobaloney
05-03-2009, 03:45 PM
You can, perhaps by a ruleset in SpamAssassin. I've never implemented it in SpamBlocker because then I couldn't send myself an email (for example when travelling and using a different mailserver). I often do that when travelling, to remind me to do something when I get back to the office.

Jeff

santibm
05-04-2009, 03:00 AM
Hi!

I also have the same problem. I only receive spam from my own domain. I dont have it on any of the whitelist files of exim. Any hint on what rules could be applied to spamassassin to prevent this?

floyd
05-04-2009, 05:58 AM
This is not necessarily recommended for the reasons that Jeff gave above but if you really want to do it then you can add this to the system filter file:


if $recipients is $sender_address
then

fail text "You sent mail to $recipients from $sender_address \n You cannot send mail to yourself from yourself."
seen finish

endif