On 2023-04-25 at 09:14:18 UTC-0400 (Tue, 25 Apr 2023 15:14:18 +0200)
Jos Chrispijn via Postfix-users <postfix...@cloudzeeland.nl>
is rumored to have said:

Running mailservice with Postfix
PTR record is set to myserver.mydomain.com (1.2.3.4)

Every time I receive external e-mail, my logfile shows:
Apr 25 15:01:39 terra postfix/smtpd[12479]: 073416D2: client=unknown[1.2.3.4], sasl_method=LOGIN, sasl_username=me

How can I configure that client=unknown[1.2.3.4] will be replaced with the PTR record text instead?

Make the name in the PTR record resolve back to the same client IP.

I could force that by puting 'myserver.mydomain.com 1.2.3.4' in my hosts file, but I am not quite convinced that is the only solution.

Actual DNS is also an option, and a better one usually.

As you've chosen to pose this as a hypothetical with bogus details, there may be complications we can't see.


--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to