I want to configure sendmail only to send emails – not to listen and receive. In /etc/mail/sendmail.conf I’ve got:
Iptables are disabled (temporarily; only for this test)
But in /var/log/mail/mail.log
Nov 18 13:40:04 novy sm-msp-queue: rAIC9RiF012445: firstname.lastname@example.org, ctladdr=root (0/0), delay=00:30:37, xdelay=00:00:00, mailer=relay, pri=390130, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
When I set in /etc/mail/sendmail.conf
DAEMON_MODE="Daemon"; e-mails are successfully sent.
Is that needed – to listen?