On Sat, Feb 14, 2015 at 03:30:45PM -0500, Wietse Venema wrote:
> In conclusion, whatever the problem is, it is not in Postfix. My
> test shows that it works fine in a non-container environment on what
> should basically be the same kernel as what you use.
An "strace" of an smtp(8) delivery agent failing to receive the
bounce(8) service reply might shed a bit more light on the kernel
issue.
http://www.postfix.org/DEBUG_README.html#auto_trace
master.cf:
127.0.0.1:52 inet n - n - - smtpd
-o smtpd_client_restrictions=reject
debug unix - - n - - smtp -D
main.cf:
indexed = ${default_database_type}:${config_directory}/
transport_maps = ${indexed}transport
debugger_command =
PATH=/bin:/usr/bin:/sbin:/usr/sbin;
(strace -p $process_id -o
${queue_directory}/trace.$process_id) & sleep 2
transport:
[email protected] debug:[127.0.0.1]:52
Send a single message to [email protected], and post the resulting
trace file, which will be in the Postfix queue directory.
You can trim off the top of the trace file above the connect to
the bounce socket (/var/spool/postfix/private/bounce).
--
Viktor.