As I know, table sources is needed to bind smtpd to an interface while mail sending, but table helonames is for session IP=name. sorces != helonames in my particular configuration. So it doesn't work for me.
smtpd should bind to local interface like localhost or another interface on local system, but smtpd should expose its external address in heloname of remote system from which mail actually send. Any ideas? Martin ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Saturday, August 15, 2020 2:27 PM, Kastus Shchuka <[email protected]> wrote: > On Sat, Aug 15, 2020 at 07:49:28AM +0000, Martin wrote: > > > It is worth to mention smtpd works absolutely fine for outgoing/incoming > > mail if local machine has static IP address when: > > ... > > table sources {1.2.3.4} equivalent to > > table helonames {1.2.3.4 = smtp.domain.tld} > > ... > > And yes, I have exactly the same action in /etc/mail/smtpd.conf > > ... > > table sources {127.0.0.1} > > table helonames {1.2.3.4 = smtp.domain.tld} > > Your helonames table does not have an entry for 127.0.0.1, that is why it > cannot find helo string for it.

