[Pkg-exim4-users] ACL to verify recipients based on alias file for multiple domains

Marc Haber mh+pkg-exim4-users at zugschlus.de
Mon Sep 26 13:49:15 UTC 2005


On Mon, Sep 26, 2005 at 02:43:08PM +0100, Tony Finch wrote:
> Bas Couwenberg <bas at itd.net> wrote:
> >I maintain an email gateway running exim4 on Debian Sarge. It is
> >configured with an alias file for each domain it accepts mail for.
> >The alias files are used to forward incoming emails to the correct
> >mailserver as the exim4 server does not handle any accounts, it only
> >routes and does an intial virus and spam check.
> >
> >I would like to create an ACL which checks if the recipient addressed
> >in an incoming mail actually exists in the alias file of the domain
> >addressed before it gets forwarded to amavisd-new.
> 
> All you need is:
> 	require verify = recipient

This is the default in Debian's exim4:
  # Accept if the address is in a local domain, but only if the recipient can
  # be verified. Otherwise deny. The "endpass" line is the border between
  # passing on to the next ACL statement (if tests above it fail) or denying
  # access (if tests below it fail).
  #
  accept
    domains = +local_domains
    endpass
    message = unknown user
    verify = recipient

Greetings
Marc

-- 
-----------------------------------------------------------------------------
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 621 72739835



More information about the Pkg-exim4-users mailing list