1 (edited by KNERD 2019-11-01 23:36:39)

Topic: Spamcop Mailhost email being blocked despite whitelisted

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

I am needing to report spam I am still getting form legit sources, but Spamcop requires a test message to be sent to your server.

When I try adding a mail host, it send the test email and returns this:

mtpSend:smtpEnvelope (service@admin.spamcop.net, knerd@my.mail): smtpTo rcpt to:knerd@my.mail (450 4.7.1 : Helo command rejected: Host not found )

I do have greylisting turned off.
What can be done to get around this?

Thanks!

2

Re: Spamcop Mailhost email being blocked despite whitelisted

KNERD wrote:

Helo command rejected: Host not found

You should whitelist it in /etc/postfix/helo_access.pcre.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3 (edited by KNERD 2019-11-06 02:39:09)

Re: Spamcop Mailhost email being blocked despite whitelisted

ZhangHuangbin wrote:
KNERD wrote:

Helo command rejected: Host not found

You should whitelist it in /etc/postfix/helo_access.pcre.


Thank you. Doing research, I was able to include it by putting in the following lines;

/^.*=service@admin.spamcop.net$/ OK
/^.*spamcop.net$/ OK

Placing it here for others to find.