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

2022-11-20 Thread Dominic Raferd
On 16/11/2022 11:45, Matus UHLAR - fantomas wrote: I use: spf-milter (the same source as policyd-spf-python) opendkim openarc opendmarc so far in soft mode (no rejections) opendmarc can use results of previous three in its decisions. Does spf-milter have the same source as policyd-spf-python? I

secondary MX and SPF

2022-11-20 Thread linuxguy
dear list, when secondary MX server forwards messages to primary MX, how can I setup SPF policy to make them not breaking SPF? Thanks

Re: secondary MX and SPF

2022-11-20 Thread Jaroslaw Rafa
Dnia 20.11.2022 o godz. 09:49:35 linux...@gmx.net pisze: > > when secondary MX server forwards messages to primary MX, how can I setup > SPF policy to make them not breaking SPF? Just except your secondary MX's sending IP address from SPF check. -- Regards, Jaroslaw Rafa r...@rafa.eu.org -

Re: secondary MX and SPF

2022-11-20 Thread Benny Pedersen
linux...@gmx.net skrev den 2022-11-20 09:49: when secondary MX server forwards messages to primary MX, how can I setup SPF policy to make them not breaking SPF? "v=spf1 mx -all" :) all other variants is just more verbose

Re: secondary MX and SPF

2022-11-20 Thread Benny Pedersen
Jaroslaw Rafa skrev den 2022-11-20 11:29: Dnia 20.11.2022 o godz. 09:49:35 linux...@gmx.net pisze: when secondary MX server forwards messages to primary MX, how can I setup SPF policy to make them not breaking SPF? Just except your secondary MX's sending IP address from SPF check. incommi

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

2022-11-20 Thread Matus UHLAR - fantomas
On 16/11/2022 11:45, Matus UHLAR - fantomas wrote: I use: spf-milter (the same source as policyd-spf-python) opendkim openarc opendmarc so far in soft mode (no rejections) opendmarc can use results of previous three in its decisions. On 20.11.22 08:21, Dominic Raferd wrote: Does spf-milter ha

Re: secondary MX and SPF

2022-11-20 Thread Matus UHLAR - fantomas
linux...@gmx.net skrev den 2022-11-20 09:49: when secondary MX server forwards messages to primary MX, how can I setup SPF policy to make them not breaking SPF? On 20.11.22 12:04, Benny Pedersen wrote: "v=spf1 mx -all" :) all other variants is just more verbose By using this you are solvig

Re: secondary MX and SPF

2022-11-20 Thread Benny Pedersen
Matus UHLAR - fantomas skrev den 2022-11-20 15:31: linux...@gmx.net skrev den 2022-11-20 09:49: when secondary MX server forwards messages to primary MX, how can I setup SPF policy to make them not breaking SPF? On 20.11.22 12:04, Benny Pedersen wrote: "v=spf1 mx -all" :) all other variants

Re: secondary MX and SPF

2022-11-20 Thread Matus UHLAR - fantomas
linux...@gmx.net skrev den 2022-11-20 09:49: when secondary MX server forwards messages to primary MX, how can I setup SPF policy to make them not breaking SPF? On 20.11.22 12:04, Benny Pedersen wrote: "v=spf1 mx -all" :) all other variants is just more verbose Matus UHLAR - fantomas skrev

local(8) and blocking delivery to system users?

2022-11-20 Thread Jaroslaw Rafa
Helo, First I want to present a little background story, before I ask the question :) I have a web script on my server that sends mail to some recipient address external to my server. The mail is sent with the webserver user (www-data) as a sender. Recently that external recipient address happene

Re: local(8) and blocking delivery to system users?

2022-11-20 Thread Viktor Dukhovni
On Sun, Nov 20, 2022 at 07:37:08PM +0100, Jaroslaw Rafa wrote: > Recently that external recipient address happened to reject mail due > to some misconfiguration, and my Postfix tried to send a DSN to > www-data user on my server, which failed due to lack of permissions to > create a Maildir subdir

Re: local(8) and blocking delivery to system users?

2022-11-20 Thread Wietse Venema
Jaroslaw Rafa: > Helo, > > First I want to present a little background story, before I ask the question > :) > > I have a web script on my server that sends mail to some recipient address > external to my server. The mail is sent with the webserver user (www-data) > as a sender. Recently that ext

Re: local(8) and blocking delivery to system users?

2022-11-20 Thread Jaroslaw Rafa
Dnia 20.11.2022 o godz. 14:12:30 Viktor Dukhovni pisze: > > If Postfix tries to create Maildirs in actual home directories specified in > > /etc/passwd, > > When you configure it to do so. The default setting is: > > $ postconf -d home_mailbox > home_mailbox = I *want* to have mail stor

Re: local(8) and blocking delivery to system users?

2022-11-20 Thread Viktor Dukhovni
On Sun, Nov 20, 2022 at 08:42:41PM +0100, Jaroslaw Rafa wrote: > > The default setting is: > > > > $ postconf -d home_mailbox > > home_mailbox = > > I *want* to have mail stored in ~/Maildir (but only for actual human users > of course, not for system ones). Can I achieve that without se

relay_domains query

2022-11-20 Thread Paul Netpresto
Hi I have a smtp instance declared in my master.cf a.b.c.d:smtp inet  n   -   y   -   40 smtpd     -o default_destination_recipient_limit=1     -o myhostname=myhouse     -o relay_domains=mysql:/etc/postfix/user1/relaydomains.cf     -o relay_recipient_maps=mysql:/etc/user1/samtest/recipients.

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

2022-11-20 Thread raf
On Sun, Nov 20, 2022 at 03:29:33PM +0100, Matus UHLAR - fantomas wrote: > > On 16/11/2022 11:45, Matus UHLAR - fantomas wrote: > > > I use: > > > spf-milter (the same source as policyd-spf-python) > > > opendkim > > > openarc > > > opendmarc > > > > > > so far in soft mode (no rejections) > > >

Re: relay_domains query

2022-11-20 Thread Viktor Dukhovni
On Sun, Nov 20, 2022 at 11:11:44PM +, Paul Netpresto wrote: > Hi > > I have a smtp instance declared in my master.cf > > a.b.c.d:smtp inet  n   -   y   -   40 smtpd >     -o myhostname=myhouse >     -o relay_recipient_maps=mysql:/etc/user1/samtest/recipients.cf >     -o default_destina

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

2022-11-20 Thread Scott Kitterman
On November 20, 2022 11:47:02 PM UTC, raf wrote: >On Sun, Nov 20, 2022 at 03:29:33PM +0100, Matus UHLAR - fantomas > wrote: > >> > On 16/11/2022 11:45, Matus UHLAR - fantomas wrote: >> > > I use: >> > > spf-milter (the same source as policyd-spf-python) >> > > opendkim >> > > openarc >> > > op

Re: relay_domains query

2022-11-20 Thread Paul Netpresto
Thanks for clearing that up. Regards Paul On 21/11/2022 00:30, Viktor Dukhovni wrote: On Sun, Nov 20, 2022 at 11:11:44PM +, Paul Netpresto wrote: Hi I have a smtp instance declared in my master.cf a.b.c.d:smtp inet  n   -   y   -   40 smtpd     -o myhostname=myhouse     -o relay_

Re: relay_domains query

2022-11-20 Thread Viktor Dukhovni
On Mon, Nov 21, 2022 at 02:13:55AM +, Paul Netpresto wrote: > Thanks for clearing that up. See MULTI_INSTANCE_README, if you really need IP-specific Postfix personalities, where message handling varies by input address. -- Viktor.