Re: postfix header check question

2023-02-24 Thread Wietse Venema
Wietse Venema: > Spam Petya: > > Hi! > > > > I am still getting NDR-s. I uploaded come ndr header to a txt file to test > > with postmap, and I am seeing the REJECT, so the header_check is working if > > I understand right. > > I used this command to test: postmap -vq - > >

Re: postfix header check question

2023-02-24 Thread Wietse Venema
Spam Petya: > Hi! > > I am still getting NDR-s. I uploaded come ndr header to a txt file to test > with postmap, and I am seeing the REJECT, so the header_check is working if > I understand right. > I used this command to test: postmap -vq - > regexp:/etc/postfix/header_checks < uploaded_text.txt

Re: postfix header check question

2023-02-24 Thread Spam Petya
Hi! I am still getting NDR-s. I uploaded come ndr header to a txt file to test with postmap, and I am seeing the REJECT, so the header_check is working if I understand right. I used this command to test: postmap -vq - regexp:/etc/postfix/header_checks < uploaded_text.txt Output: (...) postmap:

Re: postfix header check question

2023-02-16 Thread Wietse Venema
Spam Petya: > Hi! > Thank you for the examples. But the solution is this not working. I wrote > this to the header_checks: > /^From: (.*)mailer-dae...@fmfwd00.freemail.hu(.*)$/ REJECT message > /^Received: (.*)fmfwd00.freemail.hu(.*)$/ REJECT message > > Still NDR-s are passing through. Header

Re: postfix header check question

2023-02-16 Thread Xavier Beaudouin
Hello > Hi! > Thank you for the examples. But the solution is this not working. I wrote this > to the header_checks: > /^From: (.*)mailer-dae...@fmfwd00.freemail.hu(.*)$/ REJECT message > /^Received: (.*)fmfwd00.freemail.hu(.*)$/ REJECT message > Still NDR-s are passing through. Header examples

Re: postfix header check question

2023-02-16 Thread Spam Petya
Hi! Thank you for the examples. But the solution is this not working. I wrote this to the header_checks: /^From: (.*)mailer-dae...@fmfwd00.freemail.hu(.*)$/ REJECT message /^Received: (.*)fmfwd00.freemail.hu(.*)$/ REJECT message Still NDR-s are passing through. Header examples from NDR:

Re: postfix header check question

2023-02-14 Thread Juan Carlos Rey Anaya
Here are some examples to detect Subject headers: Hope it is useful. if /^Subject: / /Professor Positions - Faculty Positions in Higher Education/ REJECT subject rejected /Dear Friend,/    REJECT subject rejected /The closest thing to flying a REAL plane!/    REJECT subject rejected /Your Last

Re: postfix header check question

2023-02-14 Thread Yves-Marie LE PORS-CHAUVEL
Hi there, *Also postmap hader_checks gives me a warning: Header_check line1: record is in "key: value" format; is this an alias file?* That's normal, you don't need to *postmap* regex files ! -- Postmastery *Email Infrastructure, Analytics and Deliverability* Amsterdam, NL / Paris, FR

Re: postfix header check question

2023-02-14 Thread Cédric Gallo
Hi, Here are some examples : /^Subject: (.*)New Notification Regarding Your Storage(.*)$/ DISCARD Anti-phishing /^From: (.*)it.ad...@server.fr(.*)$/ REJECT Anti-phishing /^Subject: new photos from my party!/ REJECT /^Reply-To: (.*)(.*)$/  DISCARD SPAM Hope that can help... Cedric Le

postfix header check question

2023-02-14 Thread Spam Petya
Hi! I would like to use postfix header check. I read the manual, examples, and forums, yet I am unable to set up what I would like. We are getting non delivery reports, and I'd like to silent drop/delete them. Any working examples are welcome. My settings are: *main.cf :*

Re: header check question

2017-10-27 Thread Noel Jones
On 10/27/2017 4:48 AM, Conz wrote: > Another hint would be really appreciated. > # main.cf mua_eod_restrictions = check_client_access static:hold # master.cf submission ... ... -o smtpd_end_of_data_restrictions=$mua_eod_restrictions

Re: header check question

2017-10-27 Thread Conz
On 10/26/2017 08:03 PM, Wietse Venema wrote: Conz: On 10/26/2017 01:02 PM, Wietse Venema wrote: Conz: On 10/26/2017 11:20 AM, Benny Pedersen wrote: On 26. okt. 2017 10.32.29 Conz wrote: Does anyone have any advice on how to accomplish this ? no logs, no problem why enable

Re: header check question

2017-10-26 Thread Wietse Venema
Conz: > On 10/26/2017 01:02 PM, Wietse Venema wrote: > > Conz: > >> On 10/26/2017 11:20 AM, Benny Pedersen wrote: > >>> On 26. okt. 2017 10.32.29 Conz wrote: > >>> > Does anyone have any advice on how to accomplish this ? > >>> no logs, no problem > >>> > >>> why enable spf test

Re: header check question

2017-10-26 Thread Conz
On 10/26/2017 01:02 PM, Wietse Venema wrote: Conz: On 10/26/2017 11:20 AM, Benny Pedersen wrote: On 26. okt. 2017 10.32.29 Conz wrote: Does anyone have any advice on how to accomplish this ? no logs, no problem why enable spf test on anyhing not port 25, post postconf -n with

Re: header check question

2017-10-26 Thread Wietse Venema
Conz: > On 10/26/2017 11:20 AM, Benny Pedersen wrote: > > On 26. okt. 2017 10.32.29 Conz wrote: > > > >> Does anyone have any advice on how to accomplish this ? > > > > no logs, no problem > > > > why enable spf test on anyhing not port 25, post postconf -n with logs > > that shows

Re: header check question

2017-10-26 Thread Conz
On 10/26/2017 11:20 AM, Benny Pedersen wrote: On 26. okt. 2017 10.32.29 Conz wrote: Does anyone have any advice on how to accomplish this ? no logs, no problem why enable spf test on anyhing not port 25, post postconf -n with logs that shows error It's spamassassin amongst

Re: header check question

2017-10-26 Thread Benny Pedersen
On 26. okt. 2017 10.32.29 Conz wrote: Does anyone have any advice on how to accomplish this ? no logs, no problem why enable spf test on anyhing not port 25, post postconf -n with logs that shows error

header check question

2017-10-26 Thread Conz
I have a stand-alone mail server with postfix 2.10.1 (CentOS7) that also has an anti spam setup. For privacy reasons I added a header check to submission to change the header on incoming mails from authenticated users so the anti spam won't freak out about SPF etc. Because of roaming mobile