On 25.08.2014 13:34, Isak Andersson wrote: > Hello! > > I'm having some issues configuring my opensmtpd server. I have it > successfully receiving emails and such and I can read them with IMAP > through dovecot. However I can't send emails. It doesn't seem to be > authenticating, and therefore giving me invalid recipient. > > Here is the output when I try to send with trace, and my configuration > file: > https://gist.github.com/BitPuffin/745e72afa5b1ebed5338 > > I suspect that "accept (from local) for any relay" is not enough for a > remote to authenticate with system users. So I am suspecting that I > somehow need to use PAM authentication. Problem is that I can't find any > documentation on how to use PAM. > > I hope someone can help me resolve this because I'm soooo cloooose :) > > Cheers! > > Isak Andersson
Hi, ># This is the smtpd server system-wide configuration file. ># See smtpd.conf(5) for more information. > >pki bitpuffin.com certificate "/etc/ssl/certs/mailcert.pem" >pki bitpuffin.com key "/etc/ssl/private/mail.key" > ># To accept external mail, replace with: listen on all >listen on enp0s3 tls-require pki bitpuffin.com not every mailserver is using tls, so tls-require is probably not what you want. To authenticate your clients you need "auth" on the listen line. So you might want to try: listen on enp0s3 tls pki bitpuffin.com listen on enp0s3 port submission tls-require pki bitpuffin.com auth and point your clients to the submission port. Hope this helps. Stefan -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
