Martin Gregorie wrote: > On Mon, 2009-08-31 at 12:13 -0800, Kevin Miller wrote: >> I'm seeing a lot of blowback from Russian servers due to my domain >> users being joe-jobbed. >> > If you're not scanning outgoing mail or mail that doesn't cross the > domain boundary, then its reasonable to simply bin anything that > claims to be from your domain. Since it didn't originate in your > domain the sender must be forged.
Problem isn't mail coming from one of my servers - problem is some server overseas is joe-jobbing my users. The foreign spammers send to a bunch of Russian recipients on servers that don't bother to check SPF, with my users address in the from field. The Russian servers then send NDRs for non-existant users on their servers. Rather than reject at the handshake, they're apparently accepting the spam then bouncing it. >> I'm writing a rule to check (among other things) the From: address. >> > Your MTA can probably deal with that without involving SA, but if you > want to involve SA, then > > describe LOC_FORGED Message with a forged sender > header LOC_FORGED From ~= /\.example\.com/m > score LOC_FORGED 10.0 > > should do the trick. Of course, if you also scan outbound and/or > intra-domain mail then things get a little trickier... Poking around in SA I found a similar rule to what I was trying to do and used it's setting: header __CBJ_PESKY_RUSKIES2 Return-Path =~ /<>/ > I access my mail archive via a plugin and whitelisting rule that > whitelists mail from all senders who: > - have previously been sent mail from my domain > - are not recorded in the archive as users within my domain > > Any sender who passes this check is assigned a score of -50.0 by the > whitelisting rule. > > As a result I can be quite vicious with spam detection rules without > impacting mail from such correspondents. > > I hope this gives you ideas about similar approaches. Its working > well here. Thanks for the reply. Is the plugin publically accessible? ...Kevin -- Kevin Miller Registered Linux User No: 307357 CBJ MIS Dept. Network Systems Admin., Mail Admin. 155 South Seward Street ph: (907) 586-0242 Juneau, Alaska 99801 fax: (907 586-4500
