Minus comments I have the following lines in /etc/opensmtp/smtp.conf:

pki mail.thefallenphoenix.net certificate
"/etc/pki/tls/certs/mail.thefallenphoenix.net.crt"
pki mail.thefallenphoenix.net key
"/etc/pki/tls/private/mail.thefallenphoenix.net.key"

listen on 95.85.28.67 tls pki mail.thefallenphoenix.net

table aliases file:/etc/aliases

accept from any for domain "thefallenphoenix.net" alias <aliases> deliver
to maildir mail
accept for local alias <aliases> deliver to maildir mail
accept for any relay

With this config I can receive emails from remote and local users. However
I am not sure how to set-up authentication so that I can send email from my
domain to any other (e.g. gmail).

In the past I've used exim and set it up to authenticate against Dovecot.
Ideally I'd like to be able to do the same or perhaps use the /etc/passwd
file for authentication. Can anyone explain how to force authentication
when I'm sending a mail?

I am using OpenSMTPD 5.4.1p1 on CentOS 6.4 x64.

-- 
Kind Regards
Danny R

Website: http://danny-roberts.info/

Reply via email to