Hi, Le 14/04/2014 19:49, G B a icrit : > Currently I have OpenSMTPD as a mail server for 3 domains and it sits > in my DMZ. Can someone provide me with an example for smtpd.conf to > use OpenSMTPD as a relayhost in the DMZ? That way I can move my mail > server inside and have the relay in the DMZ for incoming mail and > outgoing mail. >
I would go for something like : ---8<----------- pki mycert certificate "/etc/mail/mycert.cert" pki mycert key "/etc/mail/mycert.key" listen on 2001:db8::1 secure pki mycert hostname "mydomain.tld" listen on 2001:db8::1 port submission tls pki mycert hostname "mydomain.tld" auth accept from any for domain "mydomain.tld" relay via smtp://server-in-dmz.ip accept for any relay ---8<----------- Denis -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
