Mark Martinec: > I'd like to report a rather minor/cosmetic problem - namely a lack of > useful logging when an smtpd service tries to connect to a proxy content > filter over a Unix socket which is too heavily protected - but which took > me far longer to understand than necessary (the strong protection was on > a parent directory, not on a socket itself, which obscured the obvious). > > All I got was a '451 4.3.0 Error: queue file write error' for the > client, and just a disconnect and a double bounce in the log. > Turning on verbosity on smtpd did not help to explain the issue. > (version: postfix-current-2.8.20100728 from ports @ FreeBSD 8.1)
By design, Postfix does not report error details to SMTP clients. > postfix/lmtp[55986]: 61C8A117: to=<mark.marti...@ijs.si>, relay=none, > delay=24, delays=24/0/0/0, dsn=4.4.1, status=deferred > (connect to xxx.ijs.si[/var/amavis/amavisd.sock]: Permission denied) > > Perhaps an improved error logging could save somebody the effort > of troubleshooting. What is unclear about "connect to site/[pathname]: Permission denied"? Wietse