Sendmail not working with relay, files queuing in /var/spool/mailqueue
Issue
-
Sendmail is not using relay server while forwarding mail with smarthost set up
-
Queued messages in /var/log/maillog:
Aug 10 10:11:43 hostname sendmail[46050]: t7AHA43o046050: from=<root@hostname.example.com>, size=505, class=0, nrcpts=1, msgid=<201508101710>, proto=ESMTP, daemon=MTA, relay=localhost.local [127.0.0.1] Aug 10 10:11:43 hostname sendmail[46050]: t7AHA43o046050: to=<user@example.com>, delay=00:00:00, mailer=relay, pri=30505, dsn=4.4.3, stat=queued Aug 10 10:11:43 hostname sendmail[46049]: t7AHA4Lx046049: to=user@example.com, ctladdr=root (0/0), delay=00:01:39, xdelay=00:01:39, mailer=relay, pri=30219, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0,stat=Sent (t7AHA43o046050 Message accepted for delivery)
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
- sendmail
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
