I suggst that you strace the smtpd process as described in
https://www.postfix.org/DEBUG_README.html#auto_trace
This will log a lot of information, and if you are stuck with systemd
logging rate limits, then we may need to do some additional surghery
to get at the evidence.
Wietse
The following instructions assume that postscreen ahd naproxy are
not enabled. Otherwise, you will neeed different instructiopns.
In order for smtpd to respond to the client, all the following needs
to happen:
- The master wakes up from epoll or whatever and spawns an smtpd process.
- The smtpd process grabs a lock on $queue_directory/pid/smtpd.pid
(that's probably an fcntl() call)
- The smtpd process informs the master that is is taking the connection
(that's a write call)
- The smtpd process calls accept() and passes that to the smtp
server code
- The smtp server code looks up the server and client IP address
- The smtp server code looks up the client address-to-name mapping,
and the name-to-address mapping.
- The smtp server code logs "connect from host[addr]..."
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]