[EXIM] exim, subdomains, qualify_domain and majordomo

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Marc Haber
Data:  
Para: exim-users
Assunto: [EXIM] exim, subdomains, qualify_domain and majordomo
Hi!

I am running exim to take care of mail sent to mydomain.de.
For some low volume mailing list, I have the subdomain
lists.mydomain.de that is also processed by the same exim
that also takes care of mydomain.de. This construct has
been established to be able to move the mailing list to
a different host if mailing list volume demands that.
To segregate normal and mailing list traffic, I have
set my alias file transports so that one alias file handles
lists.mydomain.de and a different one everything else.

system_aliases:
except_domains = "lists.mydomain.de"
driver = aliasfile
file = /etc/aliases
search_type = lsearch

majordomo_aliases:
domains = "lists.mydomain.de"
driver = aliasfile
file = /usr/local/majordomo/majordomo.aliases
search_type = lsearch
user = majordomo
optional = yes

I have qualify_domain = mydomain.de and this poses a problem.
majordomo happily uses unqualified addresses that are qualified
with mydomain.de by exim. This is wrong and does not work since
the normal system_aliases director does not know about the
majordomo aliases.

I would like to be able to judge on the sender (that is
majordomo@??? for majordomo-generated mails)
how to qualify the address. Is this possible with
exim?

I have now solved the problem by qualifying the addresses
in the majordomo.aliases file but I consider that a quick
and dirty fix. Is there any chance to do it any better?

Hints will be appreciated, as usual :-)

Greetings
Marc


-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29


--
*** Exim information can be found at http://www.exim.org/ ***