1 (edited by Dominique 2014-03-18 06:44:34)

Topic: Adding a domain as an exception to all restrictions in Posfix's main.c

==== Required information ====
- iRedMail version: 1.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Centos 6
- Related log if you're reporting an issue:
====

I have a customer who wants to receive emails from a domain whose server fails to identify itself correctly.   it's using .local

Is there any way of adding a single domain in the main.cf so it circumvents all checks?  Or can I make an exception rule for that domain from being caught by:

check_helo_access pcre:/etc/postfix/helo_access.pcre   >>   /(\.local)$/ REJECT ACCESS DENIED. Your email was rejected because the sending mail server does not identify itself correctly (${1})

I know the sender should configure their server correctly, but it's a big organization (no guarantee for competence apparently) so I can't tell my customer to get the sender to solve the problem.

2

Re: Adding a domain as an exception to all restrictions in Posfix's main.c

You can simply comment out that restriction rule in /etc/postfix/helo_access.pcre. No idea about how to make an exception, sorry.