I am trying unsuccessfully to have a more permanent fix so I can receive emails from an invalid domain.
The message is 'Sender address rejected: Domain not found
' in the postfix mail logs. Fair enough, there may be an A record or MX record problem there, but there is nothing I can do about this with the Sender at present.
Mail *will* come through from the invalid domain if I delete
from the list at:
in /etc/postfix/main.cf (see coded area below for full list).
I have added the Domain in question as an 'OK', both by name and by IP address, to:
then used postmap to successfully create the database which appears as:
ie recipient_access (not recipient_access.db) has contents:
invalid-domain-name.com OK ; the space betw is a tab space
123.456.789.012 OK ; the space betw is a tab space
I suspect the failure is something to do with postmap and the recipient_access.db database file created by postmap, but just cannot work this out.
Running: postconf -d indicates that the hash format is the default database format
As indicated below,
is listed up front in
Postfix was restarted on all occassions
Everything above was done as root and permissions on the .db files are the same as other files in /etc/postfix
smtpd_helo_required = yes
disable_vrfy_command = yes
#smtpd_client_restrictions = check_client_access hash:/etc/postfix/client_access
smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/recipient_access,
check_policy_service unix:/var/spool/postfix/postgrey/socket, permit
broken_sasl_auth_clients = yes
(you'll note I have #smtpd_client_restrictions =... blanked out. I tried using this to specify the invalid domain, but it did not work)
Any advice would be appreciated!