Re: Is it possible to send email by copying a file or files to an appropriate queue directory?

2022-03-22 Thread Viktor Dukhovni
> On 22 Mar 2022, at 1:52 pm, Linda Pagillo wrote: > > To answer your question Matus, We want to copy because we want to temporarily > store a message with all of it's meta-data and have the option to resume > processing at a later time without losing any details. Create a Postfix instance

Re: Is it possible to send email by copying a file or files to an appropriate queue directory?

2022-03-22 Thread Linda Pagillo
Thanks for your responses everyone. They are much appreciated! To answer your question Matus, We want to copy because we want to temporarily store a message with all of it's meta-data and have the option to resume processing at a later time without losing any details. On Tue, Mar 22, 2022 at

Re: Is it possible to send email by copying a file or files to an appropriate queue directory?

2022-03-22 Thread Bob Proulx
Edward Sandberg wrote: > You could use inotify to monitor a directory and trigger a script to send > the mail. Or just poll the directory every N number of seconds. That's also very low overhead. Since the directory contents will be cached in the file buffer cache of the kernel. But inotify is

Re: milter_header_checks, pcre, chroot

2022-03-22 Thread Dominic Raferd
On 22/03/2022 16:40, Benny Pedersen wrote: OpenDMARC's internal SPF handling will be removed in a future version. Modern versions of openDMARC can and should be built with dependency on libspf2, so would never use the very old internal spf code, and instead use libspf2

Re: milter_header_checks, pcre, chroot

2022-03-22 Thread Benny Pedersen
On 2022-03-22 12:45, Matus UHLAR - fantomas wrote: NOTE: OpenDMARC's internal SPF handling will be removed in a future version. and although I don't recall the exact details, I seem to remember there was a security exploit that could be prevented by getting OpenDMARC to

Re: Is it possible to send email by copying a file or files to an appropriate queue directory?

2022-03-22 Thread João Silva
On 22/03/2022 14:57, Edward Sandberg wrote: You could use inotify to monitor a directory and trigger a script to send the mail. Here is a very simple example content of such an email file, but they get much more complex. To: f...@bar.com From: b...@foo.com Subject: example email Hello

Re: Is it possible to send email by copying a file or files to an appropriate queue directory?

2022-03-22 Thread Edward Sandberg
You could use inotify to monitor a directory and trigger a script to send the mail. Here is a very simple example content of such an email file, but they get much more complex. To: f...@bar.com From: b...@foo.com Subject: example email Hello World! If the files are valid email files with

Re: Is it possible to send email by copying a file or files to an appropriate queue directory?

2022-03-22 Thread Matus UHLAR - fantomas
On 22.03.22 09:28, Linda Pagillo wrote: Does postfix allow for sending email by copying a file or files to an appropriate queue directory? If so, what is the format of the file(s)? A reference would be very helpful if someone can point me in the right direction. you can pipe mail in rfc 5322

Is it possible to send email by copying a file or files to an appropriate queue directory?

2022-03-22 Thread Linda Pagillo
Hi everyone! I hope all of you are doing well. Does postfix allow for sending email by copying a file or files to an appropriate queue directory? If so, what is the format of the file(s)? A reference would be very helpful if someone can point me in the right direction. Thanks!

Re: DANE, MTA-STS and TLS-RPT

2022-03-22 Thread Viktor Dukhovni
On Tue, Mar 22, 2022 at 01:41:48PM +0100, Damian wrote: > I am looking for input how to implement a DANE- and MTA-STS-capable > Postfix setup which is able to produce SMTP TLS reports (RFC8460). The simplest approach is to just manually configure static TLS policies of "secure" with appropriate

DANE, MTA-STS and TLS-RPT

2022-03-22 Thread Damian
I am looking for input how to implement a DANE- and MTA-STS-capable Postfix setup which is able to produce SMTP TLS reports (RFC8460). Right now I see several obstacles. There is postfix-mta-sts-resolver [1], and my first reflex was to use it with smtp_tls_policy_maps as documented, and fall

Re: Q: configuring Postfix as a front for Exchange 365

2022-03-22 Thread Matus UHLAR - fantomas
On 22.03.22 08:38, Arrigo Triulzi wrote: I am configuring multiple Postfix systems as a front-end for an Exchange 365 setup so that the MX records being published are only for the Postfix systems which then take care of speaking to Exchange (in both directions, i.e. outbound and inbound).

Re: milter_header_checks, pcre, chroot

2022-03-22 Thread Matus UHLAR - fantomas
However, opendmarc milter requires those Authentication-Results headers for SPF and DKIM to be already present.  so you need spf/dkim milter(s) before opendmarc. On 19/03/22 01:46, Jesper Dybdal wrote: I use Amavis to generate and verify DKIM signatures, and policyd-spf-python to perform SPF

Re: milter_header_checks, pcre, chroot

2022-03-22 Thread Nick Tait
On 19/03/22 01:46, Jesper Dybdal wrote: However, opendmarc milter requires those Authentication-Results headers for SPF and DKIM to be already present.  so you need spf/dkim milter(s) before opendmarc. I use Amavis to generate and verify DKIM signatures, and policyd-spf-python to perform SPF

Re: Q: configuring Postfix as a front for Exchange 365

2022-03-22 Thread Bastian Blank
On Tue, Mar 22, 2022 at 08:38:39AM +0100, Arrigo Triulzi wrote: > I was hoping to be able to use a transport re-write but if I set it up it is > ignored because of the virtual domain settings. Please show real configs. > Does anyone have any recommendations on how to go about with this? Well.

Q: configuring Postfix as a front for Exchange 365

2022-03-22 Thread Arrigo Triulzi
Dear all, I am configuring multiple Postfix systems as a front-end for an Exchange 365 setup so that the MX records being published are only for the Postfix systems which then take care of speaking to Exchange (in both directions, i.e. outbound and inbound). Unfortunately I have a slight