Re: postfix for IoT

2020-01-19 Thread Peter
On 20/01/20 1:38 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? If all you want to do is push mail out then I would recommend something much lighter weight such as msmtp,

RE: postfix for IoT

2020-01-19 Thread 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/. -- Mike :wq

Re: postfix for IoT

2020-01-19 Thread Viktor Dukhovni
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 sufficiently capable of running Postfix, nor would I

Re: postsuper manpage: message expiration

2020-01-19 Thread Marvin Renich
* Wietse Venema [200119 17:54]: > Marvin Renich: > > Postsuper isn't overflowing with options; perhaps a more flexible and > > simpler design would be to have -e expire and -E expire and release from > > hold (if it is held). > > Yes, the idea of a third option came to mind. > > > The only con

postfix for IoT

2020-01-19 Thread Wesley Peng
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? Thank you.

Re: postsuper manpage: message expiration

2020-01-19 Thread Wietse Venema
Viktor Dukhovni: > That said, instead of a queue file record, this could be one > of the "mode" bits of the file, in particular, we could set > the queue file group execute bit to indicate expiration, > this would be cheap for the queue-manager to re-check before > deciding whether to defer the

Re: postsuper manpage: message expiration

2020-01-19 Thread Wietse Venema
Marvin Renich: > * Wietse Venema [200119 08:04]: > > A radically different approach would be to introduce a new 'expired' > > queue and move messages there when they need to be expired, and to > > introduce a new postqueue flag to flush the expired queue (the queue > > manager should not normally

Re: postsuper manpage: message expiration

2020-01-19 Thread Viktor Dukhovni
On Sun, Jan 19, 2020 at 08:03:14AM -0500, Wietse Venema wrote: > A radically different approach would be to introduce a new 'expired' > queue and move messages there when they need to be expired, and to > introduce a new postqueue flag to flush the expired queue (the queue > manager should not

Re: postsuper manpage: message expiration

2020-01-19 Thread Marvin Renich
* Wietse Venema [200119 08:04]: > A radically different approach would be to introduce a new 'expired' > queue and move messages there when they need to be expired, and to > introduce a new postqueue flag to flush the expired queue (the queue > manager should not normally scan the expired queue

Re: postsuper manpage: message expiration

2020-01-19 Thread azurit
Citát Wietse Venema : 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. The new option behaves like 'delete' except of course that it sets a flag

Re: postsuper manpage: message expiration

2020-01-19 Thread Wietse Venema
A radically different approach would be to introduce a new 'expired' queue and move messages there when they need to be expired, and to introduce a new postqueue flag to flush the expired queue (the queue manager should not normally scan the expired queue because that would slow down all

Re: postsuper manpage: message expiration

2020-01-19 Thread Jose Luis Tallon
On 19/1/20 1:45, Wietse Venema wrote: 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. The new option behaves like 'delete' except of course that