I'm trying to setup a postifix server with virtualmin and while doing so I ran into a SASL error that said "No such file or directory". So I tried testing it with "testsaslauthd -u username -p password", but this also gave me the "No such file or directory" error. The postfix installation seems chrooted, but the /var/spool/postfix/var/run/saslauthd/
directory is empty. Looking at the numerous articles I found while googling there should be a mux file and some other ones in that directory when postfix is chrooted. My guess is that this is what causes the "No such file or directory" error.
How can I force generate the missing files to fix this issue? Or does anyone know how to resolve this issue otherwise?
The full error (using sudo gives the same result):
$ testsaslauthd -u username -p password
connect() : No such file or directory
0:
I know that the postfix installation is chrooted because it has set the smtp service to chrooted: y
in /etc/postfix/master.cf
. All config files I could find try to find the saslauth files at /var/spool/postfix/var/run/saslauth/
, but this directory is empty for me.
Apologies if anything is missing. It's my first time posting on here, or any tech forum for that matter.