[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenSMTPD can't parse smarthost



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.


Reply to: