Re: postfix functional testing

2018-10-02 Thread Илья Шипицин
вт, 2 окт. 2018 г. в 4:24, Wietse Venema : > ???: > > Hello, > > > > we have pretty complicated setup. when we change something, we can break > > something else. however, we can describe "what must work". > > In the case of email, this is usually tested by sending email and > monitoring

Re: postfix functional testing

2018-10-02 Thread Patrick Ben Koetter
* Илья Шипицин : > вт, 2 окт. 2018 г. в 4:24, Wietse Venema : > > > ???: > > > Hello, > > > > > > we have pretty complicated setup. when we change something, we can break > > > something else. however, we can describe "what must work". > > > > In the case of email, this is usually tested

Re: postfix functional testing

2018-10-02 Thread Илья Шипицин
wow. we do use XCLIENT already. but I did not consider it for testing purpose. you made my day :) вт, 2 окт. 2018 г. в 12:46, Patrick Ben Koetter : > * Илья Шипицин : > > вт, 2 окт. 2018 г. в 4:24, Wietse Venema : > > > > > ???: > > > > Hello, > > > > > > > > we have pretty complicated

Authenticating 'From' header to match envelope

2018-10-02 Thread Johannes Bauer
Hi list, I'm having an issue with my Postfix configuration: Currently I've it set up so that one authentication SASL login (e.g., m...@foo.com) supports multiple virtual email addresses (e.g., m...@foo.com but also f...@foo.com, b...@foo.com). Once authenticated with m...@foo.com, the envelope se

Re: postfix functional testing

2018-10-02 Thread Wietse Venema
???: > ??, 2 ???. 2018 ?. ? 4:24, Wietse Venema : > > > ???: > > > Hello, > > > > > > we have pretty complicated setup. when we change something, we can break > > > something else. however, we can describe "what must work". > > > > In the case of email, this is usually tested by

Re: Authenticating 'From' header to match envelope

2018-10-02 Thread Wietse Venema
Johannes Bauer: > How can I ensure in the future that the same checks are applied to the > Header "From" field that are also applied to the evelope "From" field? Use an external content filter. BTW this email will be delivered with Envelope from = owner-postfix-us...@postfix.org, and from Header '

Re: Authenticating 'From' header to match envelope

2018-10-02 Thread Ralph Seichter
On 02.10.2018 12:48, Johannes Bauer wrote: > Once authenticated with m...@foo.com, the envelope sender ("MAIL > FROM") is restricted to only the permissible variants. [...] > > How can I ensure in the future that the same checks are applied to the > Header "From" field that are also applied to the

check if envelope from and from is the same

2018-10-02 Thread Stefan Bauer
Hi, we're running a small smtp send only service for authenticated users only. Even though we only accept allowed combinations of authenticated user and pre-defined envelope from addresses with access_maps, some smartasses started to spoof From: addresses so we got bad reputation at receiver sites

Re: check if envelope from and from is the same

2018-10-02 Thread Ralph Seichter
On 02.10.18 21:17, Stefan Bauer wrote: > Is this a good idea to check if envelope from and from matches and if > so, howto do it in postfix? Seriously? A "howto" has been posted on this very mailing list a few hours ago. Mailing list archives are so useful... -Ralph