Re: build failure with gcc-10

2020-01-21 Thread Eray Aslan
On Mon, Jan 20, 2020 at 06:57:34PM +0300, Eray Aslan wrote: > On Mon, Jan 20, 2020 at 10:38:09AM -0500, Wietse Venema wrote: > > Eray Aslan: > > > gcc-10 flipped a default from -fcommon to -fno-common[1] resulting in > > > the following errors while building postfix-3.5-20200112. Simple > > > repr

Re: Allow relay from certain IPs AND allow only certain senders

2020-01-21 Thread ego...@gmail.com
Thanks Viktor, I solved the problem with your advices. Il giorno lun 20 gen 2020 alle ore 11:31 Vu Ngoc VU ha scritto: > > Date: Mon, 20 Jan 2020 11:00:11 > > From: Viktor Dukhovni > > Reply-To: postfix-users@postfix.org > > To: postfix-users@postfix.org > > Subject: Re: Allow relay from certai

What does check_sender_access checks?

2020-01-21 Thread rdquiterio
Hi; I made a filter to let postfix relay messages from specific senders. I tested the filter via telnet (mail from: rcpt to: data …) on the postfix server and it was doing ok. But, after deployment, the filter is failing and I suppose that it may be due to the Return-Path field on the "real" mess

Re: What does check_sender_access checks?

2020-01-21 Thread Dominic Raferd
On Tue, 21 Jan 2020 at 12:54, rdquiterio wrote: > Hi; > > I made a filter to let postfix relay messages from specific senders. I > tested the filter via telnet (mail from: rcpt to: data …) on the postfix > server and it was doing ok. > > But, after deployment, the filter is failing and I suppose

Re: Port 25 closed on bulk sending servers

2020-01-21 Thread Sam Tuke
Thank you all for your insightful replies. Sam. On 15/01/2020 15:24, Bill Cole wrote: > On 15 Jan 2020, at 7:56, Sam Tuke wrote: > >> I noticed that newsletters which I receive from large firms are typically >> sent from servers which have port 25 closed. >> >> Is it common practice to close por

Re: What does check_sender_access checks?

2020-01-21 Thread rdquiterio
Ok. In this case the Return-Path is kinda random, so there's no use to it. On the other hand, looking to the headers_checks examples I cannot see how could I allow all mail from a specific "Mail From:" to be relayed? Is it possible? Thank you. -- Sent from: http://postfix.1071664.n5.nabble.c

Re: What does check_sender_access checks?

2020-01-21 Thread Matus UHLAR - fantomas
On 21.01.20 07:08, rdquiterio wrote: In this case the Return-Path is kinda random, so there's no use to it. return-path is header where the MDA uses to store original envelope from, but usually not a real header. On the other hand, looking to the headers_checks examples I cannot see how could

Re: What does check_sender_access checks?

2020-01-21 Thread rdquiterio
Ok. Thank you very much, Dominic. -- Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html

Forward/Filter email by sender

2020-01-21 Thread Matteo Cazzador
Hi, i 've a question, i need to forward all email received with a specified sender (external domain) to local domain address (suppose local postfix domain is "example.com"). For examples: all email with sender x...@gmail.com   need to be forwarded to a i...@example.com. Is It possible to do

Re: Forward/Filter email by sender

2020-01-21 Thread Wietse Venema
Matteo Cazzador: [ Charset ISO-8859-15 converted... ] > Hi, i 've a question, i need to forward all email received with a > specified sender (external domain) to local domain address (suppose > local postfix domain is "example.com"). > > For examples: > > all email with sender x...@gmail.com??

Re: Forward/Filter email by sender

2020-01-21 Thread Viktor Dukhovni
On Tue, Jan 21, 2020 at 01:02:11PM -0500, Wietse Venema wrote: > > Hi, i 've a question, i need to forward all email received with a > > specified sender (external domain) to local domain address (suppose > > local postfix domain is "example.com"). Note, the OP said "sender" (address). > > all

Re: Forward/Filter email by sender

2020-01-21 Thread Wietse Venema
Viktor Dukhovni: > On Tue, Jan 21, 2020 at 01:02:11PM -0500, Wietse Venema wrote: > > > > Hi, i 've a question, i need to forward all email received with a > > > specified sender (external domain) to local domain address (suppose > > > local postfix domain is "example.com"). > > Note, the OP sa