On Wed, 10 May 2017 19:26:48 -0400 (EDT) Wietse Venema wrote:
> > Normally I would avoid a catch-all for the obvious reasons, but
> > we're undertaking a migration, and for a short period we want to
> > have the Postfix server relay to another MX server any messages
> > that it has no specific action for (and that it would otherwise
> > normally reject).
> 
> I think that's what relay_domains (without relay_recipient_maps)
> and reject_unverified_recipient are for. See the gateway examples
> in STANDARD_CONFIGURATION_README.

Thanks for the quick reply Wietse. I've tried setting relay_domains and
relay_recipient_maps accordingly, but what I failed to mention in my
first email is that the domain in question is a virtual domain. As
such, emails that I would like forwarded (in relay_domains) are being
rejected with "User unknown in virtual alias table".

I've tried adding the domain as "OK" in the access file configured as
check_recipient_access, but that doesn't make any difference:

  smtpd_recipient_restrictions = check_recipient_access 
hash:/etc/postfix/access,
    reject_unknown_sender_domain, permit_mynetworks,
    reject_unauth_destination,reject_unauth_pipelining

/etc/postfix/access:

  lists.andybev.com      OK


Is there a way that I can get what would normally be a virtual domain
catch-all to be relayed to another host?

Thanks,

Andy

Reply via email to