Re: table ownership/permissions issues

2016-08-16 Thread Jeremy Volkening
On Wed, Aug 17, 2016 at 07:39:41AM +0200, Joerg Jung wrote: My conclusions on this issue: It seems on Linux that a process started as a user by another user (as done by opensmptd and dovecot to drop permissions to a non-privileged user) inherits by default only that user's primary group. Sec

Re: table ownership/permissions issues

2016-08-16 Thread Joerg Jung
Am 17.08.2016 um 07:25 schrieb Jeremy Volkening : >>> >>> As an update to this - it works if I set "mail_auth" as the group >>> of the opensmtpd user (rather than a secondary group). Not sure if this is >>> a feature or a bug but I'll file something over on the github project page. >>> In a

Re: table ownership/permissions issues

2016-08-16 Thread Jeremy Volkening
As an update to this - it works if I set "mail_auth" as the group of the opensmtpd user (rather than a secondary group). Not sure if this is a feature or a bug but I'll file something over on the github project page. In any case I consider this an acceptable fix to allow opensmtpd and dovecot

Re: mlmmj with opensmtpd

2016-08-16 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 16, 2016, at 12:18 PM, Silvio Siefke wrote: > > Hello, > > i try to run mlmmj with opensmtpd. > > My config: > > # generate db using makemap > table aliases file:/etc/smtpd/tables/aliases > table vdomsfile:/etc/smtpd/tables

Re: table ownership/permissions issues

2016-08-16 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 16, 2016, at 9:07 PM, Jeremy Volkening wrote: > >> On Tue, Aug 16, 2016 at 02:49:04PM -0500, Jeremy Volkening wrote: >> Olivier, >> >> Thanks for the reply. >> >>> Seems you had issue with your passwd file. >> >> I'm faily sure the format of the file is not the

Re: table ownership/permissions issues

2016-08-16 Thread Jeremy Volkening
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 21

Re: table ownership/permissions issues

2016-08-16 Thread Jeremy Volkening
On Tue, Aug 16, 2016 at 02:49:04PM -0500, Jeremy Volkening wrote: Olivier, Thanks for the reply. Seems you had issue with your passwd file. I'm faily sure the format of the file is not the issue. To clarify, with: -rw-r- 1 root opensmtpd 314 Aug 15 16:58 passwd the server is working

Re: table ownership/permissions issues

2016-08-16 Thread Edgar Pettijohn
On 16-08-16 16:38:36, Edgar Pettijohn wrote: > On 16-08-16 12:18:31, Jeremy Volkening wrote: > > 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 sha

Re: table ownership/permissions issues

2016-08-16 Thread Edgar Pettijohn
On 16-08-16 12:18:31, Jeremy Volkening wrote: > 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 sepa

Re: table ownership/permissions issues

2016-08-16 Thread Jeremy Volkening
Olivier, Thanks for the reply. Seems you had issue with your passwd file. I'm faily sure the format of the file is not the issue. To clarify, with: -rw-r- 1 root opensmtpd 314 Aug 15 16:58 passwd the server is working perfectly. With -rw-r- 1 root mail_auth 314 Aug 15 16:58 pas

RE: table ownership/permissions issues

2016-08-16 Thread Olivier
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

table ownership/permissions issues

2016-08-16 Thread Jeremy Volkening
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' us

mlmmj with opensmtpd

2016-08-16 Thread Silvio Siefke
Hello, i try to run mlmmj with opensmtpd. My config: # generate db using makemap table aliases file:/etc/smtpd/tables/aliases table vdomsfile:/etc/smtpd/tables/domains.conf table vusers file:/etc/smtpd/tables/users.conf table blacklist