Re: exim4 for virtual domains
On Sunday 16 January 2005 02:51, Stephen Gran wrote:
> This one time, at band camp, David Schmitt said:
> > I also have my virtual_domain list in a file:
> > > david@diode:~$ grep
> > virtual_domains /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs
> > > domainlist virtual_domains = lsearch*;/etc/mail/virtual-domains
> Why an lsearch* for virtual_domains? Aah, I see, so that you can make
> firstname.lastname@example.org, email@example.com all work with a *.domain.com?
> I never thought of having that work like that - I like it. Am I
> correct in this?
Yes, though you have to implement a fallback strategy:
if /etc/mail/aliases/bar.example.com doesn't exist, /.../example.com should