Re: [postfix] virtual domains, filter users
* Cuenta la leyenda que Davi Leal (david.leal@ene.es) escribió:
> Hi,
>
> I have two domains. One the real 'ene.es' and the second the virtual
> 'gesida.com'.
>
> Both user@ene.es and user@gesida.com are allowed recipients. I want reject
> user@ene.es; as in sendmail, with "error:nouser No such user here" in the
> file /etc/mail/virtusertable. So, I will get only the user@gesida.com
>
> Reference: http://www.sendmail.org/virtual-hosting.html
>
Davi,
Is this what are you looking for?
main.cf:
smtpd_recipient_restrictions =
(..)
check_recipient_access hash:/etc/postfix/recipient_access
(..)
recipient_access:
user@domain 550 message
--
Regards,
Germán
Reply to: