Hello (or should that be EHLO? :))

It has been a while since I've had a need to change my Postfix
configuration, so I'm a bit rusty. I have searched, checked the
configuration, etc. No luck yet.

Is it possible to get Postfix to log the hostname presented to it during
HELO/EHLO? Any configuration setting I've missed? Or will I have to change
the sourcecode for this?

This could be handy for a couple of reasons:

1) I've seen spam-attacks where clients have beeen infected with some
malware. Example: I've seen SMTP clients present themself as "raspberry",
and it is helpful if I can tell the clients that "Something hidden behind
your NAT gateway presents itself as raspberry, that's where you might want
to look first."

2) Sometimes when sending emails externally, I won't always know which
mailserver has received it. Example: multiple mailservers behind a virtual
IP address / loadbalancer. Logging the hostname presented in the SMTP
session would cover this.

Regards
Eivind Olsen


Reply via email to