Discussion:
SMTP sasl authentication not sending client port
(too old to reply)
Victor Homsi Mora
2021-08-19 17:13:25 UTC
Permalink
Hi,

I'm using SMTP authentication via Dovecot and it's working perfectly. The problem is that during the communication between Postfix and Dovecot, I only see the Client IP going on, but the PORT is not going. I need this information for security purposes.

smtpd_sasl_type = dovecot

Using tcpdump I can see:

plain service=smtp nologin lip=xx.xx.xx.xx rip=xx.xx.xx.xx


Anyone knows how to implement the PORT in this communication?

Thanks
Victor Homsi Mora
2021-08-27 20:34:10 UTC
Permalink
Post by Victor Homsi Mora
Hi,
I'm using SMTP authentication via Dovecot and it's working perfectly. The problem is that during the communication between Postfix and Dovecot, I only see the Client IP going on, but the PORT is not going. I need this information for security purposes.
smtpd_sasl_type = dovecot
plain service=smtp nologin lip=xx.xx.xx.xx rip=xx.xx.xx.xx
Anyone knows how to implement the PORT in this communication?
Thanks
I managed to solve it by editing the file xsasl_dovecot_server.c and compiling Postfix again.
Loading...