Re: Aw: Re: Problem with filtering GMX emails in sender_access

2014-02-22 Thread Wietse Venema
Peter Marius: > So it is just a coincidence that the MAIL FROM and From: match for web.de? Look at your own posting to this mailing list: Return-Path: ... Message-ID: From: "Peter Marius" To: postfix-users@postfix.org Subject: Aw: Re: Problem with filtering GMX emails

Aw: Re: Problem with filtering GMX emails in sender_access

2014-02-22 Thread Peter Marius
Thanks Wolfgang and Wietse for your explanations!   So it is just a coincidence that the "MAIL FROM" and "From:" match for web.de? Nothing wrong/fishy with the way GMX is using it?   Where would I filter the actual "From:" of the header? In Postfix or Dovecot?     I found header_checks, but

Re: Problem with filtering GMX emails in sender_access

2014-02-22 Thread Wietse Venema
Peter Marius: > My understanding was that sender_access will filter the address in "From:", > but obviously it does not? check_sender_access is typically used BEFORE the message is received, so Postfix does not know the message header or body content. check_sender_access type:table Search t

Re: Problem with filtering GMX emails in sender_access

2014-02-22 Thread Wolfgang Zeikat
In an older episode, on 2014-02-22 20:47, Peter Marius wrote: Return-Path: <#123456...@gmx.net> From: GMX Magazin My understanding was that sender_access will filter the address in "From:", but obviously it does not? See http://www.postfix.org/postconf.5.html#check_sender_access Is GM

Problem with filtering GMX emails in sender_access

2014-02-22 Thread Peter Marius
Hello, I'm using postfix to filter unwanted mails, but sometimes it fails: /etc/postfix/main.cf: smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_s