Re: Virtual User handling

2019-09-08 Thread Ede Wolf
Hooray, I think I have it now. The lmtpd user was member of the goup "mail", that is required to access the socket, however, it was not it's primary group. Seems like opensmtpd does not like the non primary groups. I've changed this and it seems to work now - besides mary not having a mailbo

Re: Virtual User handling

2019-09-08 Thread Reio Remma
> On 07.09.2019 12:53, Ede Wolf wrote: > Excellent idea, however, the error stays the same. No change, despite copying > the whole opensmtpd folder to /usr/local/libexec > > result=TempFail stat=Error (temporary failure: "mail.lmtp: No such file or > directoryconnect") I purposefully mistyped t

Re: Virtual User handling

2019-09-08 Thread Ede Wolf
https://manpages.debian.org/testing/cyrus-common/cyrus-lmtpd.8.en.html Sorry. Great idea, but AFAIK the cyrus lmtpd is activated on demand by the cyrus master process. But I can verify, that either the unix- or the tcp socket are there. And the unix socket is writeable by the opensmtpd l

Re: Virtual User handling

2019-09-08 Thread Edgar Pettijohn
On Sep 8, 2019 7:58 AM, Ede Wolf wrote: > > > > > > > > Looks like lmtpd isn't running. > > > > Not sure wether there is such a thing as a lmtpd service? lmtpd is the > name of the user, that is supposed to connect to

Re: Virtual User handling

2019-09-08 Thread Ede Wolf
Looks like lmtpd isn't running. Not sure wether there is such a thing as a lmtpd service? lmtpd is the name of the user, that is supposed to connect to the socket. A bit unlucky naming maybe, but the "d" stands

Re: Virtual User handling

2019-09-07 Thread Edgar Pettijohn
On Sat, Sep 07, 2019 at 11:53:58AM +0200, Ede Wolf wrote: > > > So it is a binary, thats useful information. Having specified /opt/smtpd > > > as prefix during ./configure, it is located here: > > > > > > /opt/smptd/libexec/opensmtpd/mail.lmtp > > > > > > > Throw it in /usr/local/libexec/smtpd/

Re: Virtual User handling

2019-09-07 Thread Ede Wolf
So it is a binary, thats useful information. Having specified /opt/smtpd as prefix during ./configure, it is located here: /opt/smptd/libexec/opensmtpd/mail.lmtp Throw it in /usr/local/libexec/smtpd/ and see what happens. May be a build tools bug. Excellent idea, however, the error stays t

Re: Virtual User handling

2019-09-06 Thread Edgar Pettijohn
On Sep 6, 2019 12:40 PM, Ede Wolf wrote: > > Am 06.09.19 um 18:59 schrieb Edgar Pettijohn: > > Sounds like the mail.lmtp program is missing or not where it belongs. > > Should live somewhere in /usr/local/libexec. Find it and let us know where > > it is and somebody can probably tell you where

Re: Virtual User handling

2019-09-06 Thread Ede Wolf
Am 06.09.19 um 18:59 schrieb Edgar Pettijohn: Sounds like the mail.lmtp program is missing or not where it belongs. Should live somewhere in /usr/local/libexec. Find it and let us know where it is and somebody can probably tell you where it needs to be. Or it just didn't get built for some rea

Re: Virtual User handling

2019-09-06 Thread Edgar Pettijohn
On Sep 6, 2019 10:46 AM, Ede Wolf wrote: > > > > Maybe run 'smtpd -dv -T expand -T lookup -T rules' and see how OpenSMTPD > > is translating the aliases and which rules it's matching etc. > > This is a really helpful command. Maybe using that I can be a bit more > precise in defining my confusi

Re: Virtual User handling

2019-09-06 Thread Edgar Pettijohn
Sounds like the mail.lmtp program is missing or not where it belongs. Should live somewhere in /usr/local/libexec. Find it and let us know where it is and somebody can probably tell you where it needs to be. Or it just didn't get built for some reason. Edgar On Sep 6, 2019 11:40 AM, Ede Wolf w

Re: Virtual User handling

2019-09-06 Thread Ede Wolf
Side note. While I would still like to understand, what I am misunderstanding, practically, I've had some more success with using a virtual catchall table, as recommended before by Edgar. However, there is still one local error I do not yet comprehend: "Error being: stat=Error (temporary failu

Re: Virtual User handling

2019-09-06 Thread Ede Wolf
Maybe run 'smtpd -dv -T expand -T lookup -T rules' and see how OpenSMTPD is translating the aliases and which rules it's matching etc. This is a really helpful command. Maybe using that I can be a bit more precise in defining my confusion. My simple setup, git pulled and build yesterday:

Re: Virtual User handling

2019-09-02 Thread Edgar Pettijohn
On Sep 2, 2019 3:18 AM, Reio Remma wrote: > > On 02/09/2019 10:35, Ede Wolf wrote: > > Hello Edgar, > > > > thanks very much for your in depth reply and the effort you've put > > into it. > > > > As for the "user" keyword, the way I understand this, it that it > > equals the "as" statement in t

Re: Virtual User handling

2019-09-02 Thread Reio Remma
On 30/08/2019 18:00, Ede Wolf wrote: Hello, While trying to learn opensmtpd, amongst other things I am struggeling with the virtual user handling - for a non virtual domain setup. From what I have been able to understand so far it seems, as if there is no way to deliver mails to a lmtp socke

Re: Virtual User handling

2019-09-02 Thread Reio Remma
On 02/09/2019 10:35, Ede Wolf wrote: Hello Edgar, thanks very much for your in depth reply and the effort you've put into it. As for the "user" keyword, the way I understand this, it that it equals the "as" statement in the old version. ... lmtp "/run/cyrus/lmtp" rcpt-to ->as nobody<- I'

Re: Virtual User handling

2019-09-02 Thread Ede Wolf
Hello Edgar, thanks very much for your in depth reply and the effort you've put into it. As for the "user" keyword, the way I understand this, it that it equals the "as" statement in the old version. ... lmtp "/run/cyrus/lmtp" rcpt-to ->as nobody<- Does however not work as I imangined. I am

Re: Virtual User handling

2019-08-31 Thread Edgar Pettijohn
On Fri, Aug 30, 2019 at 11:14:37PM -0500, Edgar Pettijohn wrote: > On Fri, Aug 30, 2019 at 05:00:24PM +0200, Ede Wolf wrote: > > Hello, > > > > > > Semi complete example at the bottom. I'll leave it to you to reverse translate > to the old syntax. I didn't notice till after I was done and am too

Re: Virtual User handling

2019-08-30 Thread Edgar Pettijohn
On Fri, Aug 30, 2019 at 05:00:24PM +0200, Ede Wolf wrote: > Hello, > > Semi complete example at the bottom. I'll leave it to you to reverse translate to the old syntax. I didn't notice till after I was done and am too lazy to change it. :) Also noticed while re-reading smtpd.conf(5) there is a `