On Mon, Jan 08, 2007 at 12:44:32PM +0100, Pieter Claassen wrote: > I am receiving loads of spam directed to mail|webmaster|root etc. > > How do I configure exim to ensure that only locally generated mail and mail > from authorised hosts is delivered? > > I am using exim4-daemon-heavy 4.60-3ubuntu3.1 > > My feeling was to create the following router in > 001_exim4-config_non_local_system_mail > > router_reject_non_local_system_mail: > driver = reject > local_parts = root : webmaster : mail > senders = ! 127.0.0.1 : 10.0.0.2: 10.0.0.3 > domains = +local_domains > > Any suggestions?
No specific config fragments, although your approach looks sane on a first glance. But see also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400790 so this functionality may at some point make it to Debian and Ubuntu :) > BTW. These emails are all Evelope-to: [EMAIL PROTECTED] > but addressed in To: [EMAIL PROTECTED] Ah. Well in that case they're not being delivered to [EMAIL PROTECTED], so restricting that address won't help... Dominic. -- Dominic Hargreaves | http://www.larted.org.uk/~dom/ PGP key 5178E2A5 from the.earth.li (keyserver,web,email) -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
