-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Hi.
I build 2.0.10 from src on debian 12. I set it up as a milter on postfix. The first email it receives it makes the appropriate SRS return path header change. Subsequent attempts result in no return path changes and a "PostSRSd: private data not NULL" message.
Using the canonical settings and it appears to be working as expected (multiple emails can be sent and return paths are each set as expected).
Any suggestions how I can troubleshoot this?
smtpd_milters = inet:127.0.0.1:9997, unix:/run/opendkim/opendkim.sock, unix:/run/opendmarc/opendmarc.sock, unix:/run/spamass/spamass-milter.sock, unix:/run/clamav/clamav-milter.ctl
# cat /usr/local/etc/postsrsd.conf | egrep -v '^#|^$'
domains = {"tempmaildomain.example.com"}
srs-domain = srs.example.com
socketmap = inet:127.0.0.1:10003
milter = inet:127.0.0.1:9997
original-envelope = embedded
secrets-file = "/usr/local/etc/postsrsd.secret"
separator = "="
hash-length = 4
hash-minimum = 4
always-rewrite = off
unprivileged-user = "nobody"
chroot-dir = "/usr/local/var/lib/postsrsd"
syslog = on
debug = on
# postsrsd
postsrsd: debug: <pedro@testmaildomain.example.com> not reversed: Not an SRS address.
postsrsd: <example@gmail.com> forwarded as <SRS0=VxAu=U5=gmail.com=example@srs.example.com>
/var/log/mail.info:
2025-02-06T20:27:36.071339+00:00 host-10020421 postsrsd[1946]: <pedro@testmaildomain.example.com> not reversed: Not an SRS address.
2025-02-06T20:27:36.071457+00:00 host-10020421 postsrsd[1946]: <example@gmail.com> forwarded as <SRS0=VxAu=U5=gmail.com=example@srs.example.com>
2025-02-06T20:27:39.846922+00:00 host-10020421 postsrsd[1946]: PostSRSd: private data not NULL
2025-02-06T20:27:51.986647+00:00 host-10020421 postsrsd[1946]: PostSRSd: private data not NULL
Also:
2025-02-06T20:46:06.059156+00:00 host-10020421 postfix/smtpd[2949]: warning: milter inet:127.0.0.1:9997: can't read SMFIC_OPTNEG reply packet header: Connection timed out
2025-02-06T20:46:06.059424+00:00 host-10020421 postfix/smtpd[2949]: warning: milter inet:127.0.0.1:9997: read error in initial handshake
Metadata
Metadata
Assignees
Labels
No labels