Re: build failure with gcc-10

2020-01-20 Thread Wietse Venema
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

Re: build failure with gcc-10

2020-01-20 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 > > >

Re: build failure with gcc-10

2020-01-20 Thread Eray Aslan
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 > > reproducer on an older gcc is to add -fno-common to CFLAGS. > > Try

Re: build failure with gcc-10

2020-01-20 Thread Wietse Venema
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 > reproducer on an older gcc is to add -fno-common to CFLAGS. Try this. Wietse diff -ur

Re: postfix for IoT

2020-01-20 Thread Wietse Venema
W. Michael Petullo: > > How to compile postfix into the > > Embedded operating system (such as the home router) and make it as a mail > > gateway > > > for Smart home appliances? > > OpenWrt provides a postfix package. See https://openwrt.org/. OpenWrt has broken the code that measures the

build failure with gcc-10

2020-01-20 Thread Eray Aslan
tiple definition" /var/log/portage/mail-mta\:postfix-3.5_pre20200112\:20200120-133517.log | cut -d" " -f6 | sort | uniq -c 171 `var_tlsp_clnt_enforce_tls'; 171 `var_tlsp_clnt_level'; 171 `var_tlsp_clnt_per_site'; 171 `var_tlsp_clnt_policy'; 171 `var_tlsp_clnt_use

Re: postfix for IoT

2020-01-20 Thread Jaroslaw Rafa
Dnia 20.01.2020 o godz. 20:14:48 Wesley Peng pisze: > > Thanks all answers for kind info. > My requirement is, for example, when refrigerator found there were no food > in itself, it will send an email to remind the people. > But refrigerator may not connect to internet directly, only home router

Re: postfix for IoT

2020-01-20 Thread Sven Schwedas
On 20.01.20 13:14, Wesley Peng wrote: > Hello > > Thanks all answers for kind info. > My requirement is, for example, when refrigerator found there were no > food in itself, it will send an email to remind the people. > But refrigerator may not connect to internet directly, only home router >

Re: postfix for IoT

2020-01-20 Thread Wesley Peng
Hello Thanks all answers for kind info. My requirement is, for example, when refrigerator found there were no food in itself, it will send an email to remind the people. But refrigerator may not connect to internet directly, only home router have direct access to internet. So how to implement

Re: postsuper manpage: message expiration

2020-01-20 Thread Emanuel
Thanks.!! the option is very useful. Regards, El 18/1/20 a las 21:45, Wietse Venema escribió: I'm adding a new field to the Postfix queue file that says if a message was forcibly expired. The field is set with the postsuper command, using syntax that is similar to other postsuper commands.

Re: postfix for IoT

2020-01-20 Thread Mauricio Tavares
On Sun, Jan 19, 2020 at 7:40 PM Wesley Peng wrote: > > How to compile postfix into the Embedded operating system (such as the home > router) and make it as a mail gateway for Smart home appliances? > Main issue I have here is your router has a very important job to do (routing traffic)

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

2020-01-20 Thread Vu Ngoc VU
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 certain IPs AND allow only certain senders # Also, no relaying by unauthorized senders smtp_sender_restrictions =

Re: postfix for IoT

2020-01-20 Thread Allen Coates
On 20/01/2020 02:31, Viktor Dukhovni wrote: > On Mon, Jan 20, 2020 at 08:38:46AM +0800, Wesley Peng wrote: > >> How to compile postfix into the Embedded operating system (such as the >> home router) and make it as a mail gateway for Smart home appliances? > > Most embedded systems are not

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

2020-01-20 Thread Viktor Dukhovni
On Mon, Jan 20, 2020 at 10:35:24AM +0100, ego...@gmail.com wrote: > I am configuring a Postfix relay hosted on a cloud provider. I would like > to allow relay access only to public IPs of my company AND to a precise > list of senders. Here are my main.cf configurations: > > mynetworks =

Allow relay from certain IPs AND allow only certain senders

2020-01-20 Thread ego...@gmail.com
Hi, I am configuring a Postfix relay hosted on a cloud provider. I would like to allow relay access only to public IPs of my company AND to a precise list of senders. Here are my main.cf configurations: mynetworks = 127.0.0.0/8 1.2.3.4/23 4.5.6.7/32 7.8.9.1/24 smtpd_recipient_restrictions =