π ~1 min read
Table of contents
Symptom & Impact
Local mail queues can grow rapidly when relay settings, DNS, or listener options are incorrect.
Environment & Reproduction
mailq shows many deferred messages and alert emails are delayed or dropped.
Root Cause Analysis
Systems using base sendmail for local alerts or outbound relay.
Quick Triage
Root access and permission to modify sendmail configuration safely.
Step-by-Step Diagnosis
[image_ref: 0] Run service sendmail status; mailq; tail -n 100 /var/log/maillog; host relay.example.com.

Solution – Primary Fix
[image_ref: 1] Confirm sendmail_enable, submit_enable, and related rc.conf flags plus valid relayhost settings where required.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Correct relay and hostname settings, rebuild aliases if needed, restart sendmail services, and process queue with sendmail -q -v.
Verification & Acceptance Criteria
Queue drains and new test messages are delivered within expected SLA.
Rollback Plan
Restore prior mc/cf files and revert rc.conf changes if relay policy update fails.
Prevention & Hardening
Monitor queue depth and delivery latency with automated alerts.
Related Errors & Cross-Refs
Escalate when remote SMTP rejection patterns indicate reputation or policy block issues.
Related tutorial: View the step-by-step tutorial for freebsd-14.
View all freebsd-14 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
sendmail(8), mailq(1), rc.conf(5), FreeBSD mail system administration docs.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.