rc.conf defaults and sendmail - dma
- Reply: doug : "Re: rc.conf defaults and sendmail - dma"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Aug 2024 18:52:02 UTC
One of my servers stopped receiving mail from systems on the local network, and while troubleshooting I found a variable inside /etc/defaults/rc.conf had changed in 14.0-RELEASE: < # Settings for /etc/rc.d/sendmail: < sendmail_enable="NONE" # Run the sendmail inbound daemon (YES/NO/NONE). < # If NONE, don't start any sendmail processes. --- > mta_start_script="/etc/rc.sendmail" > # Script to start your chosen MTA, called by /etc/rc. > # Settings for /etc/rc.sendmail and /etc/rc.d/sendmail: > sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO). The change from "NO" to "NONE" caused the system to not start sendmail as a localhost-only MTA. The release notes document a transition from sendmail to dma, but don't say anything about disabling the previously default settings. Where are those changes documented? I looked for /etc/defaults/rc.conf in the src git repo, but was surprised not to find it. Is that file generated during system installation, or where is it located in the tree? The /etc/rc.sendmail script has also been nuked, so how is sendmail started for localhost-only mail service? `service sendmail start' fails to start any services, even with sendmail="YES" in rc.conf. $ service sendmail rcvar # sendmail : Electronic mail transport agent # sendmail_enable="YES" # (default: "") # sendmail_msp_queue : Electronic mail transport agent # sendmail_enable="YES" # (default: "") sendmail_msp_queue_enable="YES" # (default: "") -- Sent with https://mailfence.com Secure and private email