Wietse Venema <wietse <at> porcupine.org> writes:
> Wietse Venema:
> > Noel Jones:
> > > Don't bash OP too hard.  He got bit by the interaction of the 
> > > default value of virtual_alias_domains = $virtual_alias_maps 
> > > and a static map in virtual_alias_maps.  That made every 
> > > domain match the virtual_alias_domains lookup.
> > > 
> > > Just a funny interaction with a seldom-used configuration.
> > 
> > Indeed. With "virtual_alias_maps = static:user <at> example.com", and
> > the default "virtual_alias_domains = $virtual_alias_maps", the
> > virtual_alias_domains lookup will always succeed.
> 
> This probably needs to be documented under "basic configuration"
> or "standard configuration". What appears to be an obvious
> solutil (one-line alias) breaks in a way that is not obvious.
 
I'm trying to do this on a second smtpd process running on a non-standard port:

master.cf
2025      inet  n       -       n       -       -       smtpd -o
virtual_alias_maps=static:[email protected] -o virtual_alias_domains=,

but that doesn't seem sufficient -- what am I missing?

Thanks,
Adi


Reply via email to