Quoting Nico Erfurth <masta@???>:
> Kristian Førde wrote:
> > Hi,
> >
> > I'm trying to reduce the number of valid adresses for several domains
> > hosted on one server. Firstname.Lastname@domain should work,
> > username@domain should not work for people sending mail to it (but exim
> > should be able to deliver the expanded aliases).
>
> You want to enable delivery to aliases only?
>
> > The host has about 1000 unix users and 5 domains, that is 5000 valid
> > adresses + the official adresses (aliases). Spam is a problem...
> >
> > Exim 3.3.x is in production, but will upgrade to 4.x soon (or now, if
> > someone know how to do this in 4.0).
>
> Mostly everything is easier with exim4 ;)
>
> With exim4.12 this would be a three-liner in the RCPT ACL.
>
> deny message = We don't accept mails to real usernames
> domains = +local_domains
> local_parts = passwd;$local_part
>
> This will reject anything to realuser@localdomains (you still should
> accept mails to postmaster and some other standard accounts).
>
> I think something like this is possible with exim3 too (could be a
> little bit hacky), but I encourage everyone to switch to exim4.
>
> ciao
>
>