Lanfeust troy:
> hi list,
>
> is it possible with postix to:
>
> receive an email from outside for example from
>
> mail from: [email protected]"
> rcpt to : "[email protected]", "[email protected]", "[email protected]"
>
> I want to
>
> "[email protected]" and "[email protected]" receive this mail.
> but not "[email protected]"
This is what it looks like in SMTP, which requires ONE address
per RCPT TO command:
MAIL FROM:<[email protected]>
250 Sender OK
RCPT TO:<[email protected]>
250 Recipient OK
RCPT TO:<[email protected]>
250 Recipient OK
RCPT TO:<[email protected]>
550 Recipient not accepted
You can implement this with
/etc/postfix/main.cf:
smtpd_recipient_restrictions =
permit_mynetworks
reject_unauth_destination
check_recipient_access hash:/etc/postfix/rcpt_access
/etc/postfix/rcpt_access
[email protected] reject
Wietse