Hello!
I believe you can achieve that by this restriction from
"smtpd_client_restrictions" that can be included into the main.cf file:
*reject_unknown_client_hostname* /(with Postfix < 2.3://
// reject_unknown_client)//
// Reject the request when 1) the client IP address->name
mapping//
// fails, or 2) the name->address mapping fails, or 3) the//
// name->address mapping does not match the client IP
address.//
// This is a stronger restriction than the//
// reject_unknown_reverse_client_hostname feature, which
triggers//
// only under condition 1) above.//
// The unknown_client_reject_code parameter specifies the
response//
// code for rejected requests (default: 450). The reply is
always//
// 450 in case the address->name or name->address lookup
failed due//
// to a temporary problem./
Please note that you can use several different restrictions, and besides
client restrictions, there are also helo restrictions, recipient
restrictions and sender restrictions that apply during their
corresponding phases of the SMTP relation, so careful study of "man 5
postconf" or other documentation and examples is highly recommended.
--
S pozdravem,
Daniel Ryšlink
System Administrator
Dial Telecom a. s.
Křižíkova 36a/237
186 00 Praha 3, Česká Republika
Tel.:+420.226204627
daniel.rysl...@dialtelecom.cz
-----------------------------------------------
www.dialtelecom.cz
Dial Telecom, a.s.
Jednoduše se připojte
-----------------------------------------------
On 11. 11. 19 14:27, ratatouille wrote:
Hello all!
Received: from mail.namase.de (s1.bomberg.city [62.173.139.77])
I would like to reject incoming email if dns- and rdns-entries differ.
Does this make sense and how could I achieve this?
Kind regards
Andreas