[Exim] Slight Bug with aliases

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Colin Harford
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Slight Bug with aliases
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I use the following in Exim 4.22 for dealing with aliases for different
domains:

system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/mail/$domain}}
#data = ${lookup{$local_part}lsearch{/etc/mail/aliases}}
# user = exim
file_transport = address_file
pipe_transport = address_pipe


What happens if say the primary server name is set to mail.blah.com,
and there is an alias for blah2.com.

In the alias file for blah2.com there is:

alias1: alias2
alias2: account1


If somethings comes in for alias1@???, it tries to match alias2
as an account or in the alias file mail.blah.com. When it does not
find it in either, then it rejects the email.


I think that perhaps, when checking alias file, that when exim
encounters an alias, it looks through the same file to find another
match, before looking else where.


Just my $0.02. Thoughts?


Cheers,


CH





-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE/cw5Ytf2vknGZ+KoRAnyUAJsErkksXWiGhoGSL1VH7HpxPZpy3QCeI3XD
OgzCXKLcKhDzxlv8LMBdwHg=
=d0D+
-----END PGP SIGNATURE-----