No. I'm not sure you understand the issue. Normally both the email must be in virtual file & domain in virtual_domain file.
If the domain is not present in domain file, should be rejected with (MX loops back to me) If the email is not in virtual, should be rejected with (user unknow) I tried to put the email in virtual but I didn't put the domain in virtual_domain file. Should be rejected but that's not the case. Am I understand correctly the expected behavior ? -----Message d'origine----- De : owner-postfix-us...@postfix.org <owner-postfix-us...@postfix.org> De la part de Wietse Venema Envoyé : samedi 28 septembre 2019 17:10 À : Postfix users <postfix-users@postfix.org> Objet : Re: Virtual Alias Domains Did you miss this? Wietse VIRTUAL(5) VIRTUAL(5) NAME virtual - Postfix virtual alias table format SYNOPSIS postmap /etc/postfix/virtual postmap -q "string" /etc/postfix/virtual postmap -q - /etc/postfix/virtual <inputfile DESCRIPTION The optional virtual(5) alias table rewrites recipient addresses for ALL LOCAL, ALL VIRTUAL, AND ALL REMOTE MAIL DESTINATIONS. This is unlike the aliases(5) table which is used only for local(8) delivery.