Made progress. After correcting table as you said, now the authentication happens but the error isĀ
smtp failed-command command="RCPT TO:<f...@bar.com>" result="550 Invalid recipient: <f...@bar.com>" This is with remote sending after connecting with smtp at port 587. Thanking you Sagar Acharya https://humaaraartha.in/selfdost/selfdost.html 22 Oct 2023, 01:42 by tphil...@potion-studios.com: > I'm just guessing as you don't post your entire smtpd.conf: > > auth needs a table (in your case "creds", but it misses the <>), which you > have to define beforehand and point to your file via the "table" keyword. > > At the end of smtpd.conf(5) you have examples. > > > On Sat, Oct 21, 2023 at 09:07:04PM +0200, Sagar Acharya wrote: > >> I am hosting with tls-require at port 587 >> >> listen on 0.0.0.0 tls-require port 587 pki pkname auth creds >> >> In creds, I have for user foo >> >> foo\t<smtpctl encrypt foopassword> >> >> But when I authenticate using client Monocles mail, I get invalid username >> or password, with STARTTLS. >> >> Logs say >> >> smtp authentication user=foo result=permfail >> smtp failed-command command="AUTH PLAIN (...)" result="535 Authentication >> failed" >> >> What is the issue? >> >> >> Thanking you >> Sagar Acharya >> https://humaaraartha.in/selfdost/selfdost.html >>