Re: No From: address in policy delegation protocol?

2016-06-28 Thread Zhang Huangbin
> On Jun 28, 2016, at 11:15 PM, Wietse Venema wrote: > > To examine SMTP-level events AND message content, use one of the > methods described in MILTER_README, SMTPD_PROXY_README, or FILTER_README. Dear Wietse, Thanks very much for showing me the direction. :)

Re: No From: address in policy delegation protocol?

2016-06-28 Thread Wietse Venema
Zhang Huangbin: > > > On Jun 28, 2016, at 2:15 PM, Benning, Markus wrote: > > > > Policy service is just a table lookup. From what restriction do you call > > the policy lookup? > > Postfix is configured to call the policy server at protocol state RCPT >

Re: No From: address in policy delegation protocol?

2016-06-28 Thread Benning, Markus
On 2016-06-28 07:46, Zhang Huangbin wrote: I have a simple Postfix policy server, and got a problem to reject sender login mismatch (sender != sasl_username) with Outlook 2016: user is able to specify a From: address, it would be any address you want, and the From: address is not passed to

Re: No From: address in policy delegation protocol?

2016-06-27 Thread Zhang Huangbin
> On Jun 28, 2016, at 1:46 PM, Zhang Huangbin wrote: > > I can reproduce this issue with a simple Python program: > > *) construct mail message with forge sender address. e.g. 'From: > ' > *) send email as normal/legal user "auth_u...@my-domain.com" with

No From: address in policy delegation protocol?

2016-06-27 Thread Zhang Huangbin
Dear all, I have a simple Postfix policy server, and got a problem to reject sender login mismatch (sender != sasl_username) with Outlook 2016: user is able to specify a From: address, it would be any address you want, and the From: address is not passed to policy server. I can reproduce this