Re: need help

2019-10-05 Thread Andrew Swartz
I've been lurking on this list for a long time but I've never posted. I've attached a perl program I threw together a couple years ago which does recursive SPF resolution. This might help your debugging. For this type of testing, pass it a domain on STDIN: echo 'gmail.com' | spf2ip.pl I use

Re: need help

2019-09-30 Thread gilles
September 30, 2019 4:25 PM, "Denis Fondras" wrote: > On Mon, Sep 30, 2019 at 01:55:28PM +, gil...@poolp.org wrote: > >> Hello, >> >> I'd like to bring native support for SPF in OpenSMTPD in a future release, >> but for this I need a bit of help to make sure my SPF resolver works fine. >>

Re: need help

2019-09-30 Thread gilles
September 30, 2019 4:51 PM, "Joel Carnat" wrote: > Le 30/09/2019 15:55, gil...@poolp.org a écrit : > >> Hello, >> I'd like to bring native support for SPF in OpenSMTPD in a future > release, >> but for this I need a bit of help to make sure my SPF resolver works > fine. >> I have created a

Re: need help

2019-09-30 Thread gilles
I'll investigate that, but spfwalk isn't a real SPF resolver and may yield incorrect results, it just helps a bit. September 30, 2019 4:27 PM, "Nick Ryan" wrote: > Seems to work fine for some hosts but not gmail.com or outlook.com > > mail3$ smtpctl spf walk < 1 (this is gmail.com) >

Re: need help

2019-09-30 Thread gilles
yup September 30, 2019 4:23 PM, "Chris Bennett" wrote: > ./spf no-seas-necio.ninja 162.255.139.10: pass > ./spf no-seas-necio.ninja 162.255.139.11: soft-fail > > Which matches my spf entry. v=spf1 mx ~all. > Is that the correct response? > > Chris Bennett

Re: need help

2019-09-30 Thread gilles
yes, this is debug code which i don't want to spend time making portable ;-) September 30, 2019 4:10 PM, "Reio Remma" wrote: > On 30/09/2019 16:55, gil...@poolp.org wrote: > >> Hello, >> >> I'd like to bring native support for SPF in OpenSMTPD in a future release, >> but for this I need a

Re: need help

2019-09-30 Thread Denis Fondras
On Mon, Sep 30, 2019 at 01:55:28PM +, gil...@poolp.org wrote: > Hello, > > I'd like to bring native support for SPF in OpenSMTPD in a future release, > but for this I need a bit of help to make sure my SPF resolver works fine. > > I have created a repository with a standalone executable that

Re: need help

2019-09-30 Thread Joel Carnat
Le 30/09/2019 15:55, gil...@poolp.org a écrit : Hello, I'd like to bring native support for SPF in OpenSMTPD in a future release, but for this I need a bit of help to make sure my SPF resolver works fine. I have created a repository with a standalone executable that performs the SPF lookup

Re: need help

2019-09-30 Thread Nick Ryan
Seems to work fine for some hosts but not gmail.com or outlook.com mail3$ smtpctl spf walk < 1 (this is gmail.com) 35.190.247.0/24 64.233.160.0/19 mail3$ ./spf gmail.com 35.190.247.3 <- in the output of spfwalk checking if 35.190.247.3 can send for gmail.com: EXISTS: 0 EXISTS: 0 EXISTS: 0

Re: need help

2019-09-30 Thread Chris Bennett
./spf no-seas-necio.ninja 162.255.139.10: pass ./spf no-seas-necio.ninja 162.255.139.11: soft-fail Which matches my spf entry. v=spf1 mx ~all. Is that the correct response? Chris Bennett

Re: need help

2019-09-30 Thread Edgar Pettijohn
On Sep 30, 2019 9:10 AM, Reio Remma wrote: > > On 30/09/2019 16:55, gil...@poolp.org wrote: > > Hello, > > > > I'd like to bring native support for SPF in OpenSMTPD in a future release, > > but for this I need a bit of help to make sure my SPF resolver works fine. > > > > I have created a

Re: need help

2019-09-30 Thread Reio Remma
On 30/09/2019 16:55, gil...@poolp.org wrote: Hello, I'd like to bring native support for SPF in OpenSMTPD in a future release, but for this I need a bit of help to make sure my SPF resolver works fine. I have created a repository with a standalone executable that performs the SPF lookup and

Re: need help to understand the logic of new grammar

2018-10-31 Thread Илья Коскин
I'll try to answer myself. As i see, the options "from local" and "for local" is the defaults, and can be omitted? So, the first match can be cut to match action "mbox" ?? the my first question i have understood, if "from local" is the default, than it will not work without "from any" the second

Re: Need help with configuration using DNS aliases

2016-02-12 Thread Edgar Pettijohn
Yes it can. However, By default, when connecting to a remote server, smtpd(8) advertises its default server name. A hostname parameter may be specified to advertise the alternate hostname name. If the source parameter is used, the hostnames parameter may be specified to advertise a hostname

Re: Need help with configuration using DNS aliases

2016-02-12 Thread Michael Burk
After some experimentation I think I can compress this problem down to one question: Is it possible for an OpenSMTPD host to process email addressed to two different host names, both of which resolve to the same address? When I set "mailname," any mail sent to that name works fine. Mail