Re: relay from authenticated users only

2019-07-03 Thread Oscar Carlsson
Den 2019-07-03 kl. 11:06, skrev Selmeci Tamás: That's the answer to my question. So there's no easy way for me to force plain text auth with OpenSMTPD. I'll consider setting up at least self-signed certificates etc. Have you considered using letsencypt certificates instead of self-signed? Reg

Re: relay from authenticated users only

2019-07-03 Thread Selmeci Tamás
On Wed, 3 Jul 2019 10:22:48 +0200 Gilles Chehade wrote: > i don't know what version you are using, what system you are using, if a > package was used or if you built yourself, etc... so i'll just guess the > configure options used to build opensmtpd were not correct if auth isn't > using your sys

Re: relay from authenticated users only

2019-07-03 Thread Gilles Chehade
On Wed, Jul 03, 2019 at 07:36:43AM +0200, Selmeci Tam?s wrote: > Somebody suggested me to have a look at OpenSMTPD-extras. It contains > table-passwd. I've got an idea. What if I wrote a custom module that is > about to be called by OpenSMTPD upon authentication like table-passwd? > (table-passwd r

Re: relay from authenticated users only

2019-07-02 Thread Selmeci Tamás
Somebody suggested me to have a look at OpenSMTPD-extras. It contains table-passwd. I've got an idea. What if I wrote a custom module that is about to be called by OpenSMTPD upon authentication like table-passwd? (table-passwd requires another file to store credentials in, and I insist on using /et

Re: relay from authenticated users only

2019-07-02 Thread Selmeci Tamás
On Tue, 2 Jul 2019 19:53:03 +0200 Thomas Bohl wrote: > > I tried "listen on ... auth ..." but it complained about the lack of > > TLS/smtps. > > That is because you can't use authentication without encryption. Best > you start looking into Let’s Encrypt. Though you could start with a > self-si

Re: relay from authenticated users only

2019-07-02 Thread Thomas Bohl
Hello, I'd like to change somehow the config to let authenticated users only use my OpenSMPTD as a relay. Authentication should be based on the machine's local user and password table (/etc/passwd). I tried "listen on ... auth ..." but it complained about the lack of TLS/smtps. That is becaus

relay from authenticated users only

2019-07-02 Thread Selmeci Tamás
Hello! I run a simple OpenSMTPD mail server for my own domain on my custom Linux machine. The mail server should dispatch mails for @486.hu addresses locally on the machine. If the recipient is not in the 486.hu domain, it must use my ISP's smarthost to relay. I've successfully managed to create