Re: Trouble with OpenSMTPD

2024-01-07 Thread Charles Curley
On Sun, 7 Jan 2024 17:36:12 -0500
Paul M Foster  wrote:

> For reason(s) I don't understand, opensmtpd will not start via
> "systemctl start opensmtpd". According to "sudo smtpd -n", the
> configuration file passes, but it just won't start.

Have you looked to see what systemd has to say? After running
"systemctl start opensmtpd", run "systemctl status opensmtpd". You may
also find "journalctl -b -u opensmtpd" useful.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Trouble with OpenSMTPD

2024-01-07 Thread Paul M Foster
Folks:

I'm running Debian Bookworm, and looking to switch from Exim4 to OpenSMTPd.
Here is my smtpd.conf file:

---

table aliases file:/etc/aliases
table secrets file:/etc/secrets

listen on lo
listen on eno1

# action name method options
action "local" mda maildrop virtual 
action "relay" relay host smtp+tls://pa...@smtp.dreamhost.com auth 

match from any for domain "yosemite.mars.lan" action "local"
match for local action "local"
match for any action "relay"

---

For reason(s) I don't understand, opensmtpd will not start via "systemctl
start opensmtpd". According to "sudo smtpd -n", the configuration file
passes, but it just won't start.

(For what it's worth, I've used this config back in 2021 running Debian and
it worked.)

I'm happy to supply whatever data needed in helping to resolve this.

Paul

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster