On 2020-04-03 17:42 BST, Roberto Carna wrote:
> Internet --> ali...@mydomain.com REJECT
> u...@mydomain.com --> ali...@mydomain.com PERMIT
>
> Is it possible?

Yes, with check_recipient_access.  Set it to a list of the
internal-only aliases, rejecting all of them.  E.g.

   smtpd_recipient_restrictions =
      ...
      check_recipient_access hash:/etc/postfix/check-recipient-access-inbound

In check-recipient-access-inbound,

   internal-only@    REJECT My hovercraft is full of eels
   
Ensure it's set for smtpd only and not for submission.

HTH,
-- 
Nick

Reply via email to