Re: Feature-request: rfc5322_from_login_maps

2016-07-22 Thread Dominik Chilla
On 21.07.2016 23:40, A. Schulze wrote: Am 20.07.2016 um 18:03 schrieb Wietse Venema: In Postfix: require that MAIL FROM matches SASL login In Milter: require that MAIL FROM matches From: header. I took that suggestion and had a deeper look in OpenDKIM today. Parsing RFC5322.From /is/ compl

Re: Feature-request: rfc5322_from_login_maps

2016-07-21 Thread A. Schulze
Am 20.07.2016 um 18:03 schrieb Wietse Venema: In Postfix: require that MAIL FROM matches SASL login In Milter: require that MAIL FROM matches From: header. I took that suggestion and had a deeper look in OpenDKIM today. Parsing RFC5322.From /is/ complicated. But for my feeling OpenDKIM does

Re: Feature-request: rfc5322_from_login_maps

2016-07-21 Thread Dominik Chilla
On 21.07.2016 16:34, Wietse Venema wrote: Presumably this would be done in the cleanup daemon (compare rfc5321.from with rfc5322.from). I don't think that 'it can be done in Postfix' means that doing so is necessarily a good idea. Absolutely correct :) Wietse Dominik

Re: Feature-request: rfc5322_from_login_maps

2016-07-21 Thread Dominik Chilla
You're thinking of smtpd_end_of_data_restrictions, but there still your idea has a problem: smtpd is not examining the DATA, but merely passing it along to cleanup(8). The cleanup service is where the only native Postfix content checking (header and body checks, see the header_checks(5) manual

Re: Feature-request: rfc5322_from_login_maps

2016-07-21 Thread Wietse Venema
/dev/rob0: [ Charset ISO-8859-1 converted... ] > On Wed, Jul 20, 2016 at 10:05:38PM +0200, Dominik Chilla wrote: > > On 20.07.2016 18:03, Wietse Venema wrote: > > >Dominik Chilla: > > > >>my postfix setup (submission-relay only!) requires an > > >>authenticated (SMTP-AUTH plain/login) sender. Fur

Re: Feature-request: rfc5322_from_login_maps

2016-07-21 Thread /dev/rob0
On Wed, Jul 20, 2016 at 10:05:38PM +0200, Dominik Chilla wrote: > On 20.07.2016 18:03, Wietse Venema wrote: > >Dominik Chilla: > >>my postfix setup (submission-relay only!) requires an > >>authenticated (SMTP-AUTH plain/login) sender. Further it checks > >>if the envelope-sender matches the auth

Re: Feature-request: rfc5322_from_login_maps

2016-07-20 Thread Dominik Chilla
On 20.07.2016 19:23, Christian Rößner wrote: Am 20.07.2016 um 18:31 schrieb Patrick Ben Koetter : * Wietse Venema : Dominik Chilla: Hello together, my postfix setup (submission-relay only!) requires an authenticated (SMTP-AUTH plain/login) sender. Further it checks if the envelope-sender ma

Re: Feature-request: rfc5322_from_login_maps

2016-07-20 Thread Dominik Chilla
Hello Wietse, thanks for your reply... On 20.07.2016 18:03, Wietse Venema wrote: Dominik Chilla: Hello together, my postfix setup (submission-relay only!) requires an authenticated (SMTP-AUTH plain/login) sender. Further it checks if the envelope-sender matches the authenticated user-id by us

Re: Feature-request: rfc5322_from_login_maps

2016-07-20 Thread Benny Pedersen
On 2016-07-20 19:23, Christian Rößner wrote: IIRC Christian wrote a MILTER that does exactly what you want about two years ago. I'm not sure if he's willing or able to release it as open source. Yes ;-) Thanks for pointing that out https://github.com/croessner/vrfydmn still no gentoo ebuil

Re: Feature-request: rfc5322_from_login_maps

2016-07-20 Thread Christian Rößner
> Am 20.07.2016 um 18:31 schrieb Patrick Ben Koetter : > > * Wietse Venema : >> Dominik Chilla: >>> Hello together, >>> >>> my postfix setup (submission-relay only!) requires an authenticated >>> (SMTP-AUTH plain/login) sender. Further it checks if the envelope-sender >>> matches the authentic

Re: Feature-request: rfc5322_from_login_maps

2016-07-20 Thread Patrick Ben Koetter
* Wietse Venema : > Dominik Chilla: > > Hello together, > > > > my postfix setup (submission-relay only!) requires an authenticated > > (SMTP-AUTH plain/login) sender. Further it checks if the envelope-sender > > matches the authenticated user-id by using sender_login_maps in > > conjunction wi

Re: Feature-request: rfc5322_from_login_maps

2016-07-20 Thread Wietse Venema
Dominik Chilla: > Hello together, > > my postfix setup (submission-relay only!) requires an authenticated > (SMTP-AUTH plain/login) sender. Further it checks if the envelope-sender > matches the authenticated user-id by using sender_login_maps in > conjunction with LDAP. In envelope context thi

Feature-request: rfc5322_from_login_maps

2016-07-20 Thread Dominik Chilla
Hello together, my postfix setup (submission-relay only!) requires an authenticated (SMTP-AUTH plain/login) sender. Further it checks if the envelope-sender matches the authenticated user-id by using sender_login_maps in conjunction with LDAP. In envelope context this is a very usefull and im