On Fri, 31 Dec 2021, Wietse Venema wrote:
John Fawcett:
On 31/12/2021 10:36, Doug Denault wrote:
This is a postfix/cyrus/mysql system running in a FreeBSD jail. It is
(as far as I can make it) identical to a bare metal with the same
configuration. Delivery & reading email works fine, the jailed system
will not send email failing with:
cyrus postfix/smtpd[51745]: warning: SASL: Connect to smtpd failed: No
such file or directory
cyrus postfix/smtpd[51745]: fatal: no SASL authentication mechanisms
The warning message (at least in the latest version of postfix) is given
only for smtpd_sasl_type = dovecot, so seems that dovecot SASL is
configured, not cyrus SASL and postfix is interpreting "smtpd" which is
your smtpd_sasl_path setting as the dovecot socket path to connect to
for authentication.
That message neewds to be improved. As of Postfix 3.7 it will be:
warning: SASL: Connect to Dovecot auth socket 'smtpd' failed: ...
which would save some head scratching.
Thank you all. That is indeed the problem. My problem is further compounded
by FreeBSD in postfix-3.5.6,1 the package is built with cyrus support
however postfix-3.6.2_1,1 is apparently built without cyrus support.
cyrus:~> postconf -A
cyrus:
cyrus:~> postconf -a
dovecot
setting smtpd_sasl_type = cyrus begets
warning: unsupported SASL server implementation: cyrus
fatal: SASL per-process initialization failed
Fix is trivial but not without the help I got here, Thank again to all and
Happy New Year
Doug
_____
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
Fax: 301-217-9277