Re: Skip recipient verification and forward everything to a LMTP socket

2020-01-18 Thread Edgar Pettijohn
On Jan 18, 2020 2:45 PM, gil...@poolp.org wrote: > > January 15, 2020 6:03 PM, "Éloi Rivard" wrote: > > > Hi, > > > > I would like to put a OpenSMTPD server in front of a sourcehut lists > > installation [1] (that is, a mailing list system for sourcehut). > > OpenSMTPD and sourcehut communicate

Re: Skip recipient verification and forward everything to a LMTP socket

2020-01-18 Thread gilles
January 15, 2020 6:03 PM, "Éloi Rivard" wrote: > Hi, > > I would like to put a OpenSMTPD server in front of a sourcehut lists > installation [1] (that is, a mailing list system for sourcehut). > OpenSMTPD and sourcehut communicate through a lmtp unix socket. Here is > my configuration (without

Re: Skip recipient verification and forward everything to a LMTP socket

2020-01-18 Thread Éloi Rivard
Ok I think I understand what is wrong. It seems that the SMTP library used by sourcehut LMTP daemon does not understand [1] the "ORCPT=" part in the RCPT-TO command that seems to be allowed by the RFC1891. Until aiosmtpd support RFC1891, is there a way that OpenSMTPD can get rid the ORCPT part?

Re: Skip recipient verification and forward everything to a LMTP socket

2020-01-18 Thread Éloi Rivard
Thank you for the explanation. Even with the "rcpt-to" parameter, I still get a "550 Invalid recipient" error, and no sign of activity from my the lmtp daemon the other side of the socket. How can I debug what causes this 550 error?

Re: Auth not working on linux?

2020-01-18 Thread Edgar Pettijohn
On Jan 18, 2020 8:54 AM, Michael Jacob wrote: > > I am trying to setup a opensmtpd server on Arch Linux, the arch package version is 6.6.1p1-2 from 2019-11-06. When I use the "auth" option with "listen on", no authorization with valid system users succeed. But using "auth" with an external table

Re: Auth not working on linux?

2020-01-18 Thread Rodolphe Bréard
Hi, On 18/01/2020 15:54, Michael Jacob wrote: > Is this supposed to be working with Linux users and passwords and I am > doing something wrong? > It works well, but since it uses PAM you may need to configure it. If is does not already exists, create the /etc/pam.d/smtpd file with the

Auth not working on linux?

2020-01-18 Thread Michael Jacob
I am trying to setup a opensmtpd server on Arch Linux, the arch package version is 6.6.1p1-2 from 2019-11-06. When I use the "auth" option with "listen on", no authorization with valid system users succeed. But using "auth" with an external table created with smtpctl encrypt does work. Is this