Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #269506

Re: OpenSMTPD can't parse smarthost

From Kamil Jońca <kjonca@o2.pl>
Newsgroups linux.debian.user
Subject Re: OpenSMTPD can't parse smarthost
Date 2024-05-23 07:40 +0200
Message-ID <IH9lf-fdGA-5@gated-at.bofh.it> (permalink)
References <IH9lf-fdGA-3@gated-at.bofh.it> <IH9lf-fdGA-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Kamil Jońca <kjonca@o2.pl> writes:

[...]
> [...]
>> action "relay" relay host smtp+notls://paulf@yosemite.mars.lan:25 auth <secrets>
>>
>
> 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 rexample ?
> 2. do you have a line
>
> --8<---------------cut here---------------start------------->8---
> paulf username:password
> --8<---------------cut here---------------end--------------->8---
>
> in your secrets file? 
> HTH

After closer look I have another doubt:
https://man.openbsd.org/smtpd.conf
says:
--8<---------------cut here---------------start------------->8---
The label corresponds to an entry in a credentials table, as documented
in table(5). It is used with the “smtp+tls” and “smtps” protocols for
authentication. Server certificates for those protocols are verified by
default.

--8<---------------cut here---------------end--------------->8---
So if you use smtp+notls or pure smtp - maybe 'paulf@' is wrong
here?

KJ
-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
If the human brain were so simple that we could understand it,
we would be so simple we couldn't.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: OpenSMTPD can't parse smarthost Kamil Jońca <kjonca@o2.pl> - 2024-05-23 07:40 +0200
  Re: OpenSMTPD can't parse smarthost Paul M Foster <paulf@quillandmouse.com> - 2024-05-23 14:00 +0200
  Re: OpenSMTPD can't parse smarthost Kamil Jońca <kjonca@o2.pl> - 2024-05-23 07:40 +0200

csiph-web