OK,
so I have my (VPS) server "esoteric" that can send and reeceive e-mail
externally. I also have "pejorative", my other server at home, that cannot
send e-mail since my ISP blocks port 25.
I want to use esoteric for sending and receiving external mail from/to
pejorative (as well as from/to esoteric). Encryption between the servers
would be great but is not a must-have.
What are my options?
Would ssh tunneling be useful at all or should I stick to smtpd.conf
options?
Where can I find howto's, tips & tricks and smtpd.conf examples which fit
my intended setup?
I haven't really started configuring yet but below are the smtpd.conf files
for the two servers:
### esoteric smtpd.conf
$OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $
# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.
table aliases file:/etc/mail/aliases
# To accept external mail, replace with: listen on all
#
# listen on lo0
listen on all
# Uncomment the following to accept external mail for domain "example.org"
#
accept from any for domain "andreasthulin.se" alias <aliases> deliver to
mbox
accept for local alias <aliases> deliver to mbox
accept from local for any relay hostname andreasthulin.se
### pejorative smtpd.conf
$OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $
# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.
table aliases file:/etc/mail/aliases
table secrets file:/etc/mail/secrets
# To accept external mail, replace with: listen on all
#
listen on lo0
# listen on all
# Uncomment the following to accept external mail for domain "example.org"
#
accept for local alias <aliases> deliver to mbox
accept for any relay via tls+auth://[email protected] auth
<secrets>
# accept from local for any relay
Any help would be appreciated.
BR
Andreas