We have two servers running postfix smtp1.thornet.co.uk &
smtp2.thornet.co.uk, smtp1 is the main server and smtp2 the backup. All
local mail is delivered to mailboxes on stmp1. smtp1 also runs dovecot for
POP & IMAP. As most of our users have phones, tablets etc and
send/receive via mobile connections we offer SMTP Auth with both STARTTLS
and SSL on ports 587 & 465 on server smtp1. This uses sasl/dovecot to
provide the authentication.
We want to be able to offer server smtp2
for outgoing as well, and have configured dovecot to accept auth via TCP
on port 12345 (as a test!)
However on server smtp2 we cant get
postfix to use inet for auth. We have configured smtpd_sasl_path as per
the HowTos, but it seems to interpreting it as a file system path
In
main.cf we have:
smtpd_sasl_path =
inet:82.113.142.39:12345
>From the logs
postfix/smtpd[30909]: warning: SASL:
Connect to inet:82.113.142.39:12345 failed: No such file or directory
postfix/smtpd[30909]: fatal: no SASL authentication
mechanisms
A test of the inet connection with telnet
gives:
Connected
to smtp1.thornet.co.uk (82.113.142.39).
Escape character is '^]'.
VERSION 1 1
MECH PLAIN plaintext
MECH LOGIN
plaintext
SPID 3469
CUID 652
COOKIE
7bd8adb7f6dc5710e3c847d7ab933527
DONE