Re: Making Postfix know and use UNIX UIDs of local processes sending mail to localhost:25

2019-11-14 Thread Viktor Dukhovni
> On Nov 13, 2019, at 6:58 AM, Wietse Venema wrote: > > Implementations of the IDENT protocol (RFC 931) have been around > for decennia. Sure, but here's a comment from the source code of Debian's "pidentd": * We have observed Debian identd (on a fairly busy dual-CPU machine) * sometimes repo

Re: Making Postfix know and use UNIX UIDs of local processes sending mail to localhost:25

2019-11-13 Thread Wietse Venema
Viktor Dukhovni: > On Wed, Nov 13, 2019 at 03:14:36AM +0100, J?n Lalinsk? wrote: > > > Thanks for the insights. However, I am optimistic that for smtp sessions > > this can be made to (mostly) work, because the check for UID of the > > process holding the client port can be done some time after SM

Re: Making Postfix know and use UNIX UIDs of local processes sending mail to localhost:25

2019-11-12 Thread Viktor Dukhovni
On Wed, Nov 13, 2019 at 03:14:36AM +0100, Ján Lalinský wrote: > Thanks for the insights. However, I am optimistic that for smtp sessions > this can be made to (mostly) work, because the check for UID of the > process holding the client port can be done some time after SMTP > commands have been rec

Re: Making Postfix know and use UNIX UIDs of local processes sending mail to localhost:25

2019-11-12 Thread Ján Lalinský
Thanks for the insights. However, I am optimistic that for smtp sessions this can be made to (mostly) work, because the check for UID of the process holding the client port can be done some time after SMTP commands have been received by Postfix, at which point the connection is already established.

Re: Making Postfix know and use UNIX UIDs of local processes sending mail to localhost:25

2019-11-12 Thread Viktor Dukhovni
On Tue, Nov 12, 2019 at 05:13:05PM -0500, Viktor Dukhovni wrote: > > To achieve this, I'd like to set up Postfix+Linux -based outgoing mail > > server, possibly with some helper daemon. Any incoming TCP connection on > > localhost:25 where Postfix listens will be handled in a way dependent on > >

Re: Making Postfix know and use UNIX UIDs of local processes sending mail to localhost:25

2019-11-12 Thread Jaroslaw Rafa
Dnia 12.11.2019 o godz. 21:56:51 Ján Lalinský pisze: > To achieve this, I'd like to set up Postfix+Linux -based outgoing mail > server, possibly with some helper daemon. Any incoming TCP connection on > localhost:25 where Postfix listens will be handled in a way dependent on > the UID of the proces

Re: Making Postfix know and use UNIX UIDs of local processes sending mail to localhost:25

2019-11-12 Thread Viktor Dukhovni
> On Nov 12, 2019, at 3:56 PM, Ján Lalinský wrote: > > To achieve this, I'd like to set up Postfix+Linux -based outgoing mail > server, possibly with some helper daemon. Any incoming TCP connection on > localhost:25 where Postfix listens will be handled in a way dependent on the > UID of the p

Making Postfix know and use UNIX UIDs of local processes sending mail to localhost:25

2019-11-12 Thread Ján Lalinský
Dear Postfix users, I'm trying to set up email sending from local users on a shared webhosting server. There are hundreds of different domains, each having unique UNIX UID and they need smtp service directly available on localhost:25, without any credentials checking. At the same time, I need the