1

Topic: Whitelist an email with Domain not found

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.2 LDAP
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Debian GNU/Linux 11 (bullseye)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- 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.
====

I want to get an email by www-data@wordpress.example.net ,
When iredmail check it result are:

May 21 16:48:30 belar postfix/smtpd[687791]: connect from xx.xx.xx.xx.bc.googleusercontent.com[yy.yy.yy.yy]
May 21 16:48:30 belar postfix/smtpd[687791]: Anonymous TLS connection established from xx.xx.xx.xx.bc.googleusercontent.com[yy.yy.yy.yy]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)
May 21 16:48:30 belar postfix/smtpd[687791]: NOQUEUE: reject: RCPT from xx.xx.xx.xx.bc.googleusercontent.com[yy.yy.yy.yy]: 450 4.1.8 <www-data@wordpress.example.net>: Sender address rejected: Domain not found; from=<www-data@wordpress.example.net> to=<user@mydomain.example.com> proto=ESMTP helo=<mail.example.net>

Then i try to add it in whitelist

root@belar:/opt/iredapd/tools# python3 wblist_admin.py --add --whitelist www-data@wordpress.example.net
* Establishing SQL connection.
* Add inbound whitelist for account: @.
* Add senders: www-data@wordpress.example.net
root@belar:/opt/iredapd/tools# python3 wblist_admin.py --list --whitelist
* Establishing SQL connection.
* List all inbound whitelist for account: @.
root@belar.mydomain.example.com
www-data@wordpress.example.net

Ask the eamil again, but same result.

I need to add wordpress.example.net to wblist_rdns ?
No way to allow only this email ?

Thanks you,

----

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

2

Re: Whitelist an email with Domain not found

Shnoulle wrote:

I want to get an email by www-data@wordpress.example.net ,

Do you own this domain name? If yes, simply add DNS record for it to solve the issue, don't mess the server configurations.

3

Re: Whitelist an email with Domain not found

ZhangHuangbin wrote:
Shnoulle wrote:

I want to get an email by www-data@wordpress.example.net ,

Do you own this domain name? If yes, simply add DNS record for it to solve the issue, don't mess the server configurations.

Non, no,

It's another domain name, i add wordpress.example.net in `iredapd`.`wblist_rdns` and it work, but not as single email in `amavisd`.`mailaddr`

I didn't test as global adress (@wordpress.example.net) in `amavisd`.`mailaddr` whitelist …

4

Re: Whitelist an email with Domain not found

Add the d

Shnoulle wrote:

May 21 16:48:30 belar postfix/smtpd[687791]: NOQUEUE: reject: RCPT from xx.xx.xx.xx.bc.googleusercontent.com[yy.yy.yy.yy]: 450 4.1.8 <www-data@wordpress.example.net>: Sender address rejected: Domain not found; from=<www-data@wordpress.example.net> to=<user@mydomain.example.com> proto=ESMTP helo=<mail.example.net>

Add this line in /etc/postfix/sender_access.pcre:

/^mail\.example\.net$/ OK

Then reload or restart postfix service.