One of everyone's favorite topics:

I added "virtual_alias_maps = hash:/etc/postfix/virtual" to main.cf

Then I added "joeb...@katy.net j...@katy.net" to /etc/postfix/virtual

/etc/postfix/main.cf includes:
relay_domains = hash:/etc/pmg/domains
transport_maps = hash:/etc/pmg/transport
smtpd_recipient_restrictions =
        permit_mynetworks
        reject_unauth_destination
        reject_non_fqdn_recipient
        check_recipient_access  regexp:/etc/postfix/rcptaccess check_sender_access  regexp:/etc/postfix/senderaccess check_client_access  cidr:/etc/postfix/clientaccess check_policy_service inet:127.0.0.1:10022 reject_unknown_recipient_domain reject_unverified_recipient

unverified_recipient_reject_code = 450

Domains & transport include:
/etc/pmg/domains:katy.net 1
/etc/pmg/transport:katy.net smtp:mail.katy.net:25

j...@katy.net gets delivered, any attempts to deliver joeb...@katy.net nets a 450 error: SERVER -> CLIENT: 450 4.7.1 : Recipient address rejected: Service is unavailable (try later) SMTP ERROR: RCPT TO command failed: 450 4.7.1 : Recipient address rejected: Service is unavailable (try later)

I suspect I need to add something to "check_recipient_access" in main.cf, but I am not sure what syntax will get the job done.

--
John Schmerold
Katy Computer Systems, Inc
https://katycomputer.com
St Louis

Reply via email to