Re: [exim] spam to mail/root

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Dominic Hargreaves
日付:  
To: exim-users
題目: Re: [exim] spam to mail/root
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: legaluser@???
> but addressed in To: root@???


Ah. Well in that case they're not being delivered to
root@???, 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)