Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

stat=queued? Why does it always queue?

2,227 views
Skip to first unread message

Col

unread,
Mar 26, 2003, 7:06:58 AM3/26/03
to
Hello,

I'm trying to set up sendmail and have hit a problem. I've currently
got a very simply sendmail.mc (just to get started show at the bottom
of this mail) but don't have DNS access. I'm trying to use a
SMART_HOST for relaying (internal) email from my linux box. I've
placed the SMART_HOST in my /etc/hosts file and mapped it to the
correct IP address. Now this has been working, but all of a sudden it
seemed to stop and when I look at the /var/log/maillog the mails seem
now to be all queued? Can't figure out whats wrong?

Any help would be great!
Many thanks,
Colin Ford.

===== MORE INFORMATION =====

Before a send used to look like (from maillog):

Mar 10 14:19:34 linux_cford sendmail[11068]: h2AEJYI11068:
from=apache, size=638, class=0, nrcpts=1,
msgid=<200303101419...@localhost.localdomain>,
relay=apache@localhost

Mar 10 14:19:42 linux_cford sendmail[11070]: h2AEJYI11068:
to=x...@thiscom.com, ctladdr=apache (48/48),
delay=00:00:08, xdelay=00:00:08, mailer=relay,
pri=30638, relay=the.domain.com. [10.24.0.27], dsn=2.0.0, stat=Sent
(OK)

now it just looks like (from maillog):

Mar 25 09:28:35 linux_cford sendmail[19200]: h2P9SZE19200:
from=apache, size=1108, class=0, nrcpts=0,
msgid=<200303250928...@localhost.gssl_ntdomain>,
relay=apache@localhost

Mar 25 09:28:35 linux_cford sendmail[19200]: h2P9SZE19200:
to=x...@thiscom.com, delay=00:00:00, mailer=relay,
pri=1108, dsn=4.4.3, stat=queued

this sendmail.mc file looks like:

divert(-1)
dnl This is the sendmail macro config file. If you make changes to
this file,
dnl you need the sendmail-cf rpm installed and then have to generate a
dnl new /etc/sendmail.cf by running the following command:
dnl
dnl m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')
VERSIONID(`linux setup for Red Hat Linux')dnl
OSTYPE(`linux')
FEATURE(`masquerade_envelope')dnl
define(`SMART_HOST',`the.domain.com')dnl

MAILER(smtp)dnl

Per Hedeland

unread,
Mar 27, 2003, 4:35:31 PM3/27/03
to
In article <43d2b62d.03032...@posting.google.com>

col_...@yahoo.com (Col) writes:
>
>I'm trying to set up sendmail and have hit a problem. I've currently
>got a very simply sendmail.mc (just to get started show at the bottom
>of this mail) but don't have DNS access. I'm trying to use a
>SMART_HOST for relaying (internal) email from my linux box. I've
>placed the SMART_HOST in my /etc/hosts file and mapped it to the
>correct IP address. Now this has been working, but all of a sudden it
>seemed to stop and when I look at the /var/log/maillog the mails seem
>now to be all queued? Can't figure out whats wrong?

Check the load average on your box (e.g. via 'uptime') - maybe it's
higher than

#O QueueLA=8

(commented-out default setting in sendmail.cf).

--Per Hedeland
p...@hedeland.org

p.magi...@gmail.com

unread,
Aug 8, 2017, 1:09:33 PM8/8/17
to
Hello,
in my case setting dns server address helped, you can do it in one of two ways:
1. (temporary)
#echo "nameserver <dns_ip>" > /etc/resolv.conf
2. set dns server permamently in /etc/sysconfig/network-scripts/ifcfg-eth0
by mapping DNS1(or another)=<dns_ip>
0 new messages