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?

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

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

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

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 >

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

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

Re: How do I only allow relay for authenticated users?

2017-09-24 Thread Kevin
Hi, On 09/24/2017 12:12 PM, Bruno Pagani wrote: Hi, Le 24/09/2017 à 20:48, Kevin a écrit : My question is: how do I only allow relay for authenticated users? #accept from any for any relay via tls+auth://la...@smtp.sendgrid.net auth Just `accept from local` instead of `from any

Re: How do I only allow relay for authenticated users?

2017-09-24 Thread Bruno Pagani
Hi, Le 24/09/2017 à 20:48, Kevin a écrit : > Hi, I just started with OpenSMTPD and I was able to get it up and > running (with Dovecot) in just one day. It's a real pleasure to use > and configure, so thank you! > > My question is: how do I only allow relay for authenticated use

How do I only allow relay for authenticated users?

2017-09-24 Thread Kevin
Hi, I just started with OpenSMTPD and I was able to get it up and running (with Dovecot) in just one day. It's a real pleasure to use and configure, so thank you! My question is: how do I only allow relay for authenticated users? Below is my current configuration largely based on the example1

Re: Relay for authenticated users

2017-05-05 Thread Frank Timmers
Hi Jourg, > Op 4 mei 2017, om 10:02 heeft Joerg Jung <m...@umaxx.net> het volgende > geschreven: > > >> On 3. May 2017, at 15:05, Frank Timmers <opensm...@geen-reclame.nl> wrote: >> >> Hi, >> >> I’m trying to allow relay for authentica

Re: Relay for authenticated users

2017-05-04 Thread Edgar Pettijohn
2 AM, at 3:02 AM, Joerg Jung <m...@umaxx.net> wrote: > >> On 3. May 2017, at 15:05, Frank Timmers <opensm...@geen-reclame.nl> >wrote: >> >> Hi, >> >> I’m trying to allow relay for authenticated users, however “smtpd -n” >gives a syntax error on

Re: Relay for authenticated users

2017-05-04 Thread Joerg Jung
> On 3. May 2017, at 15:05, Frank Timmers <opensm...@geen-reclame.nl> wrote: > > Hi, > > I’m trying to allow relay for authenticated users, however “smtpd -n” gives a > syntax error on the last line (with the authenticated) keyword. As far as I > understand the doc

Re: Relay for authenticated users

2017-05-03 Thread Edgar Pettijohn
On 05/03/17 16:27, Frank Timmers wrote: Hi Edgar, Op 3 mei 2017, om 23:04 heeft Edgar Pettijohn <ed...@pettijohn-web.com> het volgende geschreven: On 05/03/17 08:05, Frank Timmers wrote: Hi, I’m trying to allow relay for authenticated users, however “smtpd -n” gives a syntax

Re: Relay for authenticated users

2017-05-03 Thread Frank Timmers
Hi Edgar, > Op 3 mei 2017, om 23:04 heeft Edgar Pettijohn <ed...@pettijohn-web.com> het > volgende geschreven: > > > > On 05/03/17 08:05, Frank Timmers wrote: >> Hi, >> >> I’m trying to allow relay for authenticated users, however “smtpd -n”

Relay for authenticated users

2017-05-03 Thread Frank Timmers
Hi, I’m trying to allow relay for authenticated users, however “smtpd -n” gives a syntax error on the last line (with the authenticated) keyword. As far as I understand the documentation [1], this should be the correct syntax. I’ve included my config below. Any hints on why this isn’t working