Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #269491 > unrolled thread
| Started by | Kamil Jońca <kjonca@o2.pl> |
|---|---|
| First post | 2024-05-23 07:40 +0200 |
| Last post | 2024-05-23 07:40 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.user
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Kamil Jońca <kjonca@o2.pl> |
|---|---|
| Date | 2024-05-23 07:40 +0200 |
| Subject | Re: OpenSMTPD can't parse smarthost |
| Message-ID | <IH9lf-fdGA-1@gated-at.bofh.it> |
Paul M Foster <paulf@quillandmouse.com> 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 results to root. In my case it's aliased to me. I have > OpenSMTPD installed with this config: > > --- > [...] > 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 -- http://stopstopnop.pl/stop_stopnop.pl_o_nas.html Support Bingo, keep Grandma off the streets.
[toc] | [next] | [standalone]
| From | Paul M Foster <paulf@quillandmouse.com> |
|---|---|
| Date | 2024-05-23 14:00 +0200 |
| Message-ID | <IHfgZ-fh4N-5@gated-at.bofh.it> |
| In reply to | #269491 |
On Thu, May 23, 2024 at 07:19:08AM +0200, Kamil Jońca wrote: > 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? I think you may be right. Paul -- Paul M. Foster Personal Blog: http://noferblatz.com Company Site: http://quillandmouse.com Software Projects: https://gitlab.com/paulmfoster
[toc] | [prev] | [next] | [standalone]
| From | Kamil Jońca <kjonca@o2.pl> |
|---|---|
| Date | 2024-05-23 07:40 +0200 |
| Message-ID | <IH9lf-fdGA-5@gated-at.bofh.it> |
| In reply to | #269491 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web