I've dmarc configured to send out reports to those domains, that have dmarc
configuration too. 

 

A lot of those are misconfigured in one way or another. 

Mostly the mailaddress stated in DNS is not accepting my mails or is not
existent at all. 

But some have got their mailserver misconfigured in a way that the
MAILER-DAEMON sends mail from a non existent domain as you can see in this
log:

 

In:  EHLO mail1.tk.de

Out: 250-mail2.proris.com

.

.

.

In:  MAIL FROM:< <mailto:mailer-dae...@esa2.tk.de> mailer-dae...@esa2.tk.de>
SIZE=1823

Out: 250 2.1.0 Ok

In:  RCPT TO:< <mailto:dm...@proris.com> dm...@proris.com>

Out: 450 4.1.8 < <mailto:mailer-dae...@esa2.tk.de>
mailer-dae...@esa2.tk.de>: Sender address rejected: Domain not

     found

In:  RSET

Out: 250 2.0.0 Ok

In:  QUIT

Out: 221 2.0.0 Bye

 

Now I would like to whitelist such domains within postfix so it does accept
these mails.

I tried by creating a file /etc/postfix/whitelist_unknown_domain with:

 

mailer-dae...@esa2.tk.de        OK

 

Then added it to smtpd_sender_restrictions:

smtpd_sender_restrictions = pcre:/etc/postfix/blacklist_domains_pcre,
hash:/etc/postfix/whitelist_unknown_domain

 

But the mails are still not accepted. 

What am I missing?

 

Thanks

Norbert

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to