Hello, Seems you had issue with your passwd file.
1) does the opensmtpd users can read your file ? _ did you fill properly this file ? --> For the creds table file; put the user name in the 1st column and the password hash in the 2nd column ---->#/etc/smtpd/creds.txt ---->roger <password hash created using 'smtpctl encrypt' command> ---->shirley <password hash created using 'smtpctl encrypt' command> 2) Seems you are running Jessie, debian propose an official package. did you install opensmtpd from apt tool ? May I suggest in first to test a simple local MTA configuration and in second step to create virtual or local user with authentication file ? (to test the base configuration) For example : # smtpd.conf listen on localhost accept for local alias <aliases> deliver to mbox # where you can define alias for local account : root... postmaster... Please find specifics links for dovecot side : Users specificities on dovecot side. http://wiki.dovecot.org/UserDatabase/Static Pasword authentication on dovecot side. http://wiki.dovecot.org/PasswordDatabase regards, Olivier. -----Message d'origine----- De : Jeremy Volkening [mailto:[email protected]] Envoyé : mardi 16 août 2016 19:19 À : [email protected] Objet : table ownership/permissions issues Hello, I'm setting up OpenSMTPD 5.7.3p2 on a Linux box (Debian 8). So far everything is great except for one annoyance. I have a credentials table in 'passwd' format that I want to share between opensmtpd and dovecot. I have created a separate group and added the 'opensmtpd' and 'dovecot' users and given ownership of the table file to that group along with read permissions. However, under this setup smtpd fails to start, with this truncated output: ... mproc: queue -> lka: enabled mproc: queue -> scheduler: enabled mproc: queue -> pony: enabled warn: table-passwd: error parsing config file warn: table-proc: imsg_read: Connection reset by peer fatal: table-proc: exiting ... If I simply change the group ownership of the file from the shared "mail_auth" group to the "opensmtpd" group, everything works fine. The "opensmtpd" user is a member of both groups, and this is after a reboot so all group memberships have fully propagated. I have also confirmed that the "opensmtpd" user can read the file (e.g. with "cat") when owned by the "mail_auth" group. I know this is an older version of the software. Is this a known issue that has since been resolved, or does anyone have any insight? I couldn't find anything at all relevant in the various lists and sources I searched. Thanks, Jeremy -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected] -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
