Re: virtual_alias_maps bypass smtpd_restriction_classes?
- Francisco Reyes wrote:
> OS: FreeBSDAs reported multiple times on the list, this breaks recipient validation
> When using a virtual_alias_map of the form
> @... @...
(search for wildcard+aliases+break.recipient.validation).
>all mail goes through restrictions. but there is no alias expansion
> It does not seem like the emails are going through the
> smtpd_restriction_classes if they come to domain-a.com
>smtpd_restriction_classes have nothing to do with transports.
> I am specifying the classes in a transport table
> and I do have an entry for each user in domain-b.com and also have atransports are for transport. restriction classes are for access. These
> @... to specify which class.
> I also tried a transport entry of the form: user@... to see
> if that would get the smtp_restriction_class to kick in.
are two completely different concepts.
>- remove the wildcard aliases and replace them with individual aliases.
> Emails going directly to the domain "domain-b.com" go through the
> Any suggestions?
you can use a script to generate the file.
- add the same individual addresses in the maps that you use in