I'm new to OpenBSD and in the process of learning OpenSMTPD. I would have expected some sort of "restart" option from the smtpctl command, but it only has a stop with no start which might force a reread of smtpd.conf so changes take effect. Outside of rebooting the server, is the correct approach to kill smtpd followed by executing /etc/rc.d/smtpd somehow in the background? I feel like I'm missing something.
Asked
Active
Viewed 2,771 times
4
rcampbell
- 1,055
1 Answers
4
Try:
/etc/rc.d/smtpd restart
If that doesn't work, go for
/etc/rc.d/smtpd stop
/etc/rc.d/smtpd start
vic
- 983
- 1
- 11
- 24