But, I'm not sure if you are talking about in a listen context or not. I'm
currently sharing my users table in a passwd file with dovecot with no problems.
I do have a seperate creds table in the above format for my listen context.

/etc/mail/users passwd file
-rw-r--r--  1 root  wheel         214 Aug  3  2015 users

I never noticed this was world readable which doesn't seem like a good thing.
Now I see what your problem is, because I tried the same thing and it causes
problems for dovecot and smtpd.

Yes - it does work if world-writable. The passphrases are hashed like yours so in theory someone would still have to brute-force them to get the original passphrase, but it seems better to only give read access to the various mail daemons.

Currently I have just copied the same file and changed group ownerships
on each. Still not clear to me why this is necessary and why creating a shared group doesn't work with opensmtpd.

Jeremy

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]


Reply via email to