Re: [Exim] Blocking Certain Addresses From CatchAll

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Andreas Metzler
Datum:  
To: exim-users
Betreff: Re: [Exim] Blocking Certain Addresses From CatchAll
On Mon, Aug 25, 2003 at 07:39:43PM -0700, Brian Downer wrote:
> I'm hosting 4 different domains on my server for four different users.
> I think I've figured out how to have all email for each domain get
> delivered to the owner of that domain (CatchAll).
>
> Before I test the below setup let me get ahead of myself and ask if
> there is a way to block certain (Local) virtual addresses from the user
> they're getting delivered to.
> ie.

[...]
> In my exim configuration file I have them setup like this:
> virtual_domains:
>     driver=aliasfile
>     domains=LOCAL
>     file=/usr/local/exim/virtual/${domain}/aliases
>     search_type=lsearch

>
> In "/usr/local/exim/virtual/" I have four directories for each domain
> each with an alias file with "*: user"


If you want to bounce a specific local part use e.g.
-----------
idontwantyou: :fail: invalid address
-----------
in the aliasfile for this domain. Check spec.txt for :blackhole: and
:defer:.

Imho catchall accounts are next to useless today, the mailbox will
quickly fill up with spam addressed to bill, joe or
antonio@???, because spammers just try combinations of
valid-domain and frquently used local_part. Additionally message-ids
like E19rXg4-0001BF-A0@??? end up in their databases. I've
ended up keeping a list of allowed local parts instead.
                 cu andreas


E19rXg4-0001BF-A0
              cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"