Hello,
I'm trying to verify that my regex looks good, in theory, it should be fine, but I'm seeing this in the logs:
This is what I have in the whitelist:
That is a real regex, but seeing those warnings, it seems like postfix is wanting something different.
Here is the senderaccess file:
and the rcptaccess
I've tried adding just the domain for the dicentral.com one and it still has issues receiving those at times. Using the regex like this, it seems like it does work, but just litters the logs with the warnings. Thank you for the assistance.
I'm trying to verify that my regex looks good, in theory, it should be fine, but I'm seeing this in the logs:
Code:
Apr 13 18:18:11 smtp postfix/smtpd[1039]: warning: regexp map /etc/postfix/senderaccess, line 1: Invalid preceding regular expression
Apr 13 18:18:11 smtp postfix/smtpd[1039]: warning: regexp map /etc/postfix/senderaccess, line 2: Invalid preceding regular expression
Apr 13 18:18:11 smtp postfix/smtpd[1039]: warning: regexp map /etc/postfix/senderaccess, line 3: Invalid preceding regular expression
Apr 13 18:18:11 smtp postfix/smtpd[1039]: warning: regexp map /etc/postfix/senderaccess, line 4: Invalid preceding regular expression
Apr 13 18:18:11 smtp postfix/smtpd[1039]: warning: regexp map /etc/postfix/senderaccess, line 5: Invalid preceding regular expression
Apr 13 18:18:11 smtp postfix/smtpd[1039]: warning: regexp map /etc/postfix/senderaccess, line 6: Invalid preceding regular expression
Apr 13 18:18:11 smtp postfix/smtpd[1039]: warning: regexp map /etc/postfix/senderaccess, line 7: Invalid preceding regular expression
Apr 13 18:18:11 smtp postfix/smtpd[1039]: warning: regexp map /etc/postfix/rcptaccess, line 1: Invalid preceding regular expression
Apr 13 18:18:11 smtp postfix/smtpd[1039]: warning: regexp map /etc/postfix/rcptaccess, line 2: Invalid preceding regular expression
This is what I have in the whitelist:
That is a real regex, but seeing those warnings, it seems like postfix is wanting something different.
Here is the senderaccess file:
Code:
/^*af.mil$/ OK
/^*amazon.com$/ OK
/^*army.mil$/ OK
/^*chrobinson.com$/ OK
/^*mail.mil$/ OK
/^*medline.com$/ OK
/^*navy.mil$/ OK
and the rcptaccess
Code:
/^*adp.com$/ OK
/^*dicentral.com$/ OK
/^scorecard@truevalue\.com$/ OK
I've tried adding just the domain for the dicentral.com one and it still has issues receiving those at times. Using the regex like this, it seems like it does work, but just litters the logs with the warnings. Thank you for the assistance.