Ruleset questions

Glenn Steen glenn.steen at
Thu Aug 14 01:13:44 IST 2008

2008/8/14 Richard Frovarp <Richard.Frovarp at>:
> How would one go about blacklisting a From email address that is did not
> come from a subnet. Email would for this one address would only come
> legitimately from one of my subnets. Everything else should be thrown away.
> What would be the best way to accomplish this?
> Thanks,
> Richard
Apart from SPF, which I'm sure one could use to reject fakers, one
could do as I do in postfix... I simply reject all faked senders (we
only allow internal senders for our domain, exactly as you would
likedo it)... A simple access map restriction on the sender...
something like "smtpd_sender_restrictions
permit_mynetworks,check_access regexp:/path/to/accessfile ... How one
would do it with other MTAs... I do not know... Should be possible

-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se

More information about the MailScanner mailing list