I've the line below in my main.cf file
relay_recipient_maps = hash:/etc/postfix/relay_recipients
I've run the postmap
postmap /etc/postfix/relay_recipients
below is results "ls" command
mail postfix # ls /etc/postfix/
1 local_recipients.db master.cf pcre-header.cf postfix-files relay_domains relay_recipients saslpass transport.db
local_recipients main.cf pcre-body.cf post-install postfix-script relay_domains.db relay_recipients.db transport transport.db.db
mail postfix #
But postfix is still letting every message through.
Would anyone know what the problem is
relay_recipients contents e.g.
#
modise@domain.com modise@domain.com OK
modise1@domain.com OK