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

need help

2019-09-30 Thread gilles
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 checks if an IP address is allowed to send on

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

need help to understand the logic of new grammar

2018-10-31 Thread Илья Коскин
Hello list! Please look at my match-action definitions: action "mbox" mbox alias action "mda" mda "/usr/local/bin/procmail" alias action "relay" relay action "relay_dkim" relay host smtp://127.0.0.1:10027 match for local action "mbox" match from any for domain action "mda"#2nd match match

Need help for LDAP + smtpd

2018-02-24 Thread Thuban
Hello, I would like to build a server with smtpd+dovecot with LDAP auth. Does anyone has any advice or doc up to date to do this? I only found [1], for 5.7 so I guess things have changed Regards. [1] :

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

Need help with configuration using DNS aliases

2016-02-08 Thread Michael Burk
Hello, We have a departmental server that serves as a simple mail hub mostly to keep track of internal mailing lists. The /etc/mail/aliases file expands names to our corporate emails or things like mail-SMS gateways. We've used sendmail for years, but I want to switch to OpenSMTPD. The

Re: relay from notebook not working (need help with configuration)

2015-09-10 Thread Jiri Navratil
On Wed, Sep 09, 2015 at 07:37:13PM +0200, Marcus MERIGHI wrote: > j...@navratil.cz (Jiri Navratil), 2015.09.08 (Tue) 08:24 (CEST): > > I wish to use on my notebook to deliver emails via relay to my server > > regardless of location and Internet connection. > > > > on notebook I have > > > >

Re: relay from notebook not working (need help with configuration)

2015-09-09 Thread Marcus MERIGHI
j...@navratil.cz (Jiri Navratil), 2015.09.08 (Tue) 08:24 (CEST): > I wish to use on my notebook to deliver emails via relay to my server > regardless of location and Internet connection. > > on notebook I have > > accept from local for any relay via tls+auth://user@myserver auth > table

relay from notebook not working (need help with configuration)

2015-09-08 Thread Jiri Navratil
Hello, I wish to use on my notebook to deliver emails via relay to my server regardless of location and Internet connection. on notebook I have : accept from local for any relay via tls+auth://user@myserver auth : on server I have : listen on egress tls pki myserver auth-optional listen on