On Wed, Oct 20, 2021 at 12:05:20PM +0100, [email protected] wrote: > Hi, I'm new to openbsd having just set it up on my x200 and loving it > (running so much better than my old distro). after reading through c0ffee's > laptop set up guide and the afterboot man page i'm struggling to work out > why i can't send mail through my mail account w smtpd. i have asked my > provider for support about the issues i saw other people having (port 25 not > being open) but they said that wasn't it and they were unsure about the > problem. below i have linked to a paste of my smtpd.conf and my maillog. > Personally i'm struggling to work out whats wrong from the log but i'm > assuming i've not set something up right... > > maillog: http://ix.io/3ChF > smtpd.conf: > > table aliases file:/etc/mail/aliases > table secrets file:/etc/mail/secrets > > #listen on socket > > # To accept external mail, replace with: listen on all > # > listen on all > > action "local" mbox alias <aliases> > action "outbound" relay host > smtp+tls://[email protected]:465 auth <secrets>
You probably want smtps here, rather than smtp+tls. > > # Uncomment the following to accept external mail for domain "example.org" > # > # match from any for domain "example.org" action "local_mail" > match from local for local action "local" > match from local for any action "outbound" > > Cheers, > Freddie >

