Re: How do check DKIM and SPF on incoming email?

2022-11-16 Thread support
Sorry for inception. How can I configure postfix to cause an instant message returned, rather than 4xx code to make peer MTA retry many times? Thanks November 16, 2022, 8:09 AM, "raf" wrote: > > On Mon, Nov 14, 2022 at 12:33:02PM -0700, Bryan Arenal > wrote: > > > > > Hi there, > >

Re: How do check DKIM and SPF on incoming email?

2022-11-16 Thread Matus UHLAR - fantomas
On 16.11.22 02:47, supp...@openmbox.net wrote: @raf is right. if you have enabled opendkim and policyd-spf on postfix, that headers related to spf and dkim will be added automatically. I use: spf-milter (the same source as policyd-spf-python) opendkim openarc opendmarc so far in soft mode (no

before-queue Milter support

2022-11-16 Thread Paul van der Vlis
Hello, I try to get mail refused when there is a virus in it, like with "reject_invalid_hostname" in smtpd_recipient_restrictions. Clamav-milter works on port 10026, but the mail is always added to the queue. There it is deleted. This is what I use at the moment in main.cf: - milter_pro

Re: before-queue Milter support

2022-11-16 Thread Wietse Venema
Paul van der Vlis: > Is there a way to get it refused before-queue? Yes. IF A MILTER REJECTS A MESSAGE then Postfix will not accept it. Wietse

Re: before-queue Milter support

2022-11-16 Thread Paul van der Vlis
Hello Wietse and others: Op 16-11-2022 om 15:36 schreef Wietse Venema: Paul van der Vlis: Is there a way to get it refused before-queue? Yes. IF A MILTER REJECTS A MESSAGE then Postfix will not accept it. So far I see the message is queued as C6E2F880CEC: root@hosting:~# echo "Test virus b

Re: before-queue Milter support

2022-11-16 Thread Wietse Venema
Paul van der Vlis: > Hello Wietse and others: > > Op 16-11-2022 om 15:36 schreef Wietse Venema: > > Paul van der Vlis: > >> Is there a way to get it refused before-queue? > > > > Yes. IF A MILTER REJECTS A MESSAGE then Postfix will not accept it. > > So far I see the message is queued as C6E2F88

Re: before-queue Milter support

2022-11-16 Thread Matus UHLAR - fantomas
Paul van der Vlis: Is there a way to get it refused before-queue? Op 16-11-2022 om 15:36 schreef Wietse Venema: Yes. IF A MILTER REJECTS A MESSAGE then Postfix will not accept it. On 16.11.22 17:12, Paul van der Vlis wrote: root@hosting:~# echo "Test virus body" | mutt -a eicar.com.txt -s

Re: before-queue Milter support

2022-11-16 Thread Paul van der Vlis
Hello Matus and others, Op 16-11-2022 om 17:40 schreef Matus UHLAR - fantomas: from clamav-milter.conf man page:    OnInfected STRING   Action to be performed on infected messages   Default: Quarantine set it to reject: OnInfected Reject Ah, that was the poin

Re: before-queue Milter support

2022-11-16 Thread Paul van der Vlis
Op 16-11-2022 om 17:19 schreef Wietse Venema: Paul van der Vlis: Hello Wietse and others: Op 16-11-2022 om 15:36 schreef Wietse Venema: Paul van der Vlis: Is there a way to get it refused before-queue? Yes. IF A MILTER REJECTS A MESSAGE then Postfix will not accept it. So far I see the me

Re: TLS-RPT Milter to Postfix

2022-11-16 Thread Viktor Dukhovni
On Wed, Nov 16, 2022 at 05:16:54PM -0500, Muyeed Ali wrote: > This is Muyeed, a postfix user having some configuration troubles > regarding TLS-RPT reporting. I was looking for a mail filter I can > integrate with Postfix that sends TLS-RPT reports to the designated > RUA *mailto* or *https* tags?

Re: How do check DKIM and SPF on incoming email?

2022-11-16 Thread raf
On Wed, Nov 16, 2022 at 08:39:48AM +, supp...@openmbox.net wrote: > Sorry for inception. > How can I configure postfix to cause an instant message returned, > rather than 4xx code to make peer MTA retry many times? > > Thanks I think it's OpenDMARC that needs to be configured to cause this