[Pkg-exim4-users] Block *@example.com but allow name at example.com

Marc Haber mh+pkg-exim4-users at zugschlus.de
Fri Mar 26 11:28:02 UTC 2010

On Fri, Mar 26, 2010 at 12:19:57AM -0700, Jeroen van Aart wrote:
> I would like to know if there is an easy way to block all recipients for  
> a domain that is configured in hubbed_hosts except for certain ones.
> For example in hubbed_hosts I have:
> example.com: smtp.example.com
> And I want all emails to that domain to be either denied (or sent to  
> /dev/null) execpt for user at example.com.
> I am hoping there is an easy way to do this with a few configuration  
> settings in Debian, as opposed to writing my own. But I haven't yet been  
> able to find out if this is the case.

If smtp.example.com will also accept user at smtp.example.com as a
synonym of user at example.com, treat example.com as local and alias the
local-parts you want to foo at smtp.example.com.

Otoh, you could do some ACL magic.


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190

More information about the Pkg-exim4-users mailing list