Hi

Thanks all for replies — just wanted to give an update so the solution can be 
in the mail archive.

I got it working :thumbsup: and was able to send email out through 
authenticated relay server.

I now have:

postconf -a
  cyrus
  dovecot

postconf -A
  cyrus

Answering the various questions I posed:

1. As confirmed in a couple of emails both Cyrus and Dovecot (SASL) are needed
2. Dovecot SASL is only needed for IMAP authentication
3. I didn’t install the whole (large) Cyrus IMAP server, I just installed 
Cyrus-SASL (info below)
4. I tried various ways for the ‘make makefiles’ options this was the final 
command line which worked OK (no errors in ‘make makefiles’ & ‘make’.

make makefiles CCARGS="-DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\" 
-DUSE_CYRUS_SASL -I/usr/local/include/sasl -DUSE_TLS" AUXLIBS="-lssl -lcrypto 
-L/usr/local/lib64 -lsasl2"

5. I saw that when I ran ‘make install’ again only changed files (executables) 
were updated — so that was good.


Cyrus-SASL installation and setup for compiling
===============================================

I didn’t (need to) install the whole Cyrus IMAP, I just installed Cyrus SASL. I 
installed the following RHEL packages, cyrus-sasl-devel was needed (obviously) 
for the include files:

dnf install cyrus-sasl
dnf install cyrus-sasl-lib
dnf install cyrus-sasl-devel

The lib files were not installed into /usr/lib but /usr/lib64, I then ran:

ln -s /usr/include/sasl /usr/local/include/sasl
ln -s /usr/lib64/sasl2 /usr/local/lib64/sasl2

to get symlinks under /usr/local (not sure why Postfix wants/needs them under 
/usr/local instead of /usr).

I still need to study the Dovecot installation, setup and linking with Postfix 
but for SMTP sending it seems good.

Patrick
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to