1 (edited by dxdigg 2023-04-29 11:10:03)

Topic: [HELP] Helo command rejected: ACCESS DENIED.

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.5.0
- Deployed with iRedMail Easy or the downloadable installer? Downloadable Installer
- Linux/BSD distribution name and version: CentOS Stream release 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

====================================================================================
Maillog:

Apr 17 13:44:43 mail postfix/smtpd[289567]: NOQUEUE: reject: RCPT from revws10-192.99.240.2.intermedia.net.ar[192.99.240.2]: 554 5.7.1 <revws10-192.99.240.2.intermedia.net.ar>: Helo command rejected: ACCESS DENIED. Your email was rejected because the sending mail server appears to be on a dynamic IP address that should not be doing direct mail delivery (10-192.99.240); from=<usersname@usersdomain.com.ar> to=<info@ourdomain.com> proto=ESMTP helo=<revws10-192.99.240.2.intermedia.net.ar>

====================================================================================

Added to /etc/postfix/helo_access.pcre/ but seems not work:

# Prepend HELO hostname of sender server

/^revws10-(\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}).intermedia.net.ar$/ DUNNO
/^revws10-(\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}).*.intermedia.net.ar$/ DUNNO

====================================================================================

What should I do now?
Did I add something wrong?

I want to whitelist this domain name or user's email address to let his emails successfully come into our inbox.

Please help, thank you very much!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: [HELP] Helo command rejected: ACCESS DENIED.

I don't know the regnex code, so if the regnex code wrong, please tell me how to fix it. Thank you very much for your help!

3 (edited by Cthulhu 2023-04-29 18:33:10)

Re: [HELP] Helo command rejected: ACCESS DENIED.

revws10-192.99.240.2.intermedia.net.ar

there are dots between ip, but your regex expect -


^revws10-(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\.intermedia\.net\.ar$

try this

4

Re: [HELP] Helo command rejected: ACCESS DENIED.

dxdigg wrote:

# Prepend HELO hostname of sender server
/^revws10-(\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}).intermedia.net.ar$/ DUNNO
/^revws10-(\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}).*.intermedia.net.ar$/ DUNNO

- Prepend (insert) these lines in /etc/postfix/helo_access.pcre, not append to the end of file.
- Replace DUNNO by OK.