Re: OpenSMTPD can't parse smarthost

2024-05-26 Thread gene heskett
On 5/23/24 14:55, to...@tuxteam.de wrote: On Thu, May 23, 2024 at 01:50:21PM -0400, Jeffrey Walton wrote: On Thu, May 23, 2024 at 12:08 PM Paul M Foster wrote: On Thu, May 23, 2024 at 12:54:31AM -0400, Jeffrey Walton wrote: [...] Also, I think you should be using *.home.arpa, and not *.lan.

Re: OpenSMTPD can't parse smarthost

2024-05-23 Thread tomas
On Thu, May 23, 2024 at 03:17:00PM -0400, Jeffrey Walton wrote: [...] > > If your LAN is isolated, you can basically do whatever you > > want. > > And then act surprised when networking breaks :) You just have to understand what's going on, that's all > > > And then there are "special" TLDs (.

Re: OpenSMTPD can't parse smarthost

2024-05-23 Thread Jeffrey Walton
On Thu, May 23, 2024 at 2:54 PM wrote: > > On Thu, May 23, 2024 at 01:50:21PM -0400, Jeffrey Walton wrote: > > On Thu, May 23, 2024 at 12:08 PM Paul M Foster > > wrote: > > > > > > On Thu, May 23, 2024 at 12:54:31AM -0400, Jeffrey Walton wrote: > > >[...] > > > > Also, I think you should be usin

Re: OpenSMTPD can't parse smarthost

2024-05-23 Thread tomas
On Thu, May 23, 2024 at 01:50:21PM -0400, Jeffrey Walton wrote: > On Thu, May 23, 2024 at 12:08 PM Paul M Foster > wrote: > > > > On Thu, May 23, 2024 at 12:54:31AM -0400, Jeffrey Walton wrote: > >[...] > > > Also, I think you should be using *.home.arpa, and not *.lan. > > > home.arpa is reserve

Re: OpenSMTPD can't parse smarthost

2024-05-23 Thread Paul M Foster
On Thu, May 23, 2024 at 01:50:21PM -0400, Jeffrey Walton wrote: > On Thu, May 23, 2024 at 12:08 PM Paul M Foster > wrote: > > > > On Thu, May 23, 2024 at 12:54:31AM -0400, Jeffrey Walton wrote: > >[...] > > > Also, I think you should be using *.home.arpa, and not *.lan. > > > home.arpa is reserv

Re: OpenSMTPD can't parse smarthost

2024-05-23 Thread Jeffrey Walton
On Thu, May 23, 2024 at 12:08 PM Paul M Foster wrote: > > On Thu, May 23, 2024 at 12:54:31AM -0400, Jeffrey Walton wrote: >[...] > > Also, I think you should be using *.home.arpa, and not *.lan. > > home.arpa is reserved for private use by ICANN and the IETF. I suspect > > *.lan is not reserved fo

Re: OpenSMTPD can't parse smarthost

2024-05-23 Thread tomas
On Thu, May 23, 2024 at 07:53:31AM -0400, Paul M Foster wrote: > On Thu, May 23, 2024 at 12:54:31AM -0400, Jeffrey Walton wrote: > > > On Thu, May 23, 2024 at 12:43 AM Paul M Foster > > wrote: > > [snip] > > > > On the video server, run nslookup and see if it can resolve > > yosemite.mars.lan

Re: OpenSMTPD can't parse smarthost

2024-05-23 Thread Greg Wooledge
On Thu, May 23, 2024 at 07:53:31AM -0400, Paul M Foster wrote: > Nslookup fails. However, yosemite.mars.lan is in the hosts file and you > can successfully ping it. It has a fixed (local) IP, which was set in the > router. I don't understand why nslookup fails when buckaroo knows who > yosemite is.

Re: OpenSMTPD can't parse smarthost

2024-05-23 Thread Paul M Foster
On Thu, May 23, 2024 at 07:19:08AM +0200, Kamil Jońca wrote: > Kamil Jońca writes: > > [...] > > [...] > >> action "relay" relay host smtp+notls://pa...@yosemite.mars.lan:25 auth > >> > >> > > > > I have some opensmtpd config around and this line should work. > > My suspects are: > > 1. whites

Re: OpenSMTPD can't parse smarthost

2024-05-23 Thread Paul M Foster
On Thu, May 23, 2024 at 12:54:31AM -0400, Jeffrey Walton wrote: > On Thu, May 23, 2024 at 12:43 AM Paul M Foster > wrote: [snip] > > On the video server, run nslookup and see if it can resolve yosemite.mars.lan. Nslookup fails. However, yosemite.mars.lan is in the hosts file and you can succe

Re: OpenSMTPD can't parse smarthost

2024-05-23 Thread tomas
On Thu, May 23, 2024 at 07:46:30AM -0400, Paul M Foster wrote: > On Thu, May 23, 2024 at 06:38:11AM +0200, to...@tuxteam.de wrote: [...] > > Have you tried leaving out the "paul@" part? [...] > The smarthost URL is straight out of the man page. The "paulf@" part allows > OpenSMTP to figure which

Re: OpenSMTPD can't parse smarthost

2024-05-23 Thread Paul M Foster
On Thu, May 23, 2024 at 06:38:11AM +0200, to...@tuxteam.de wrote: > On Wed, May 22, 2024 at 09:37:18PM -0400, Paul M Foster wrote: > > Folks: > > > > Here's a shot in the dark. I've looked up and down the internet, and can't > > find a solution. > > [...] > > > "warn: Failed to parse smarthost

Re: OpenSMTPD can't parse smarthost

2024-05-22 Thread Kamil Jońca
Kamil Jońca writes: [...] > [...] >> action "relay" relay host smtp+notls://pa...@yosemite.mars.lan:25 auth >> >> > > I have some opensmtpd config around and this line should work. > My suspects are: > 1. whitespaces / end lines - have you test your config with xxd to check > if there CRLF for

Re: OpenSMTPD can't parse smarthost

2024-05-22 Thread Kamil Jońca
Paul M Foster writes: > Folks: > > Here's a shot in the dark. I've looked up and down the internet, and can't > find a solution. > > I have a mini PC which just serves up videos. Daily it backs up to an > attached drive. This happens with a script in /etc/cron.daily, which > typically emails resu

Re: OpenSMTPD can't parse smarthost

2024-05-22 Thread Jeffrey Walton
On Thu, May 23, 2024 at 12:43 AM Paul M Foster wrote: > > Folks: > > Here's a shot in the dark. I've looked up and down the internet, and can't > find a solution. > > I have a mini PC which just serves up videos. Daily it backs up to an > attached drive. This happens with a script in /etc/cron.dai

Re: OpenSMTPD can't parse smarthost

2024-05-22 Thread tomas
On Wed, May 22, 2024 at 09:37:18PM -0400, Paul M Foster wrote: > Folks: > > Here's a shot in the dark. I've looked up and down the internet, and can't > find a solution. [...] > "warn: Failed to parse smarthost smtp+notls://pa...@yosemite.mars.lan:25" > > Note that the "protocol" doesn't matter