sendmail probs with msgs larger than 100kb
no glow
noglow at gmail.com
Thu Apr 14 09:28:10 UTC 2005
hi, i'm having some probs with sendmail-8.12.11-4.RHEL3.1 and perhaps
someone on this list could shed some light.
mails larger than 100kb or so are getting stuck at DATA and are
sitting idly in /var/spool/clientmqueue but smaller size emails are
being sent without probs. /var/log/maillog shows a bunch of timeouts
connecting to localhost but the daemon is definitely running on
localhost on port 25. iptables is completely down. i'm not exactly
sure what has changed with the introduction of the smmsp aside from
sendmail running setgid instead of setuid root but i never had any
probs with 8.11 or earlier with the default config. i've compiled 8.13
on this same box and have run into the same prob... ugh. in
desperation i upgraded to the 2.4.21-27.0.2 kernel and the
clientmqueue flushed upon rebooting but now they're starting to choke
again. any help would be sincerely appreciated.
from /var/log/maillog:
Apr 14 00:33:58 testmachine sm-msp-queue[11610]: j3AGmhm2026980:
to=postgres, delay=3+14:35:15, xdelay=00:00:00, mailer=relay,
pri=8149088, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection
timed out with [127.0.0.1]
Apr 14 00:33:58 testmachine sm-msp-queue[11610]: j3ACR729002195:
to=sysadmin at domain.com,murray at domain.com, ctladdr=postgres (503/503),
delay=3+19:06:51, xdelay=0:00:00, mailer=relay, pri=8627790,
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with
[127.0.0.1]
Apr 14 00:33:58 testmachine sm-msp-queue[11610]: j39Cmfm2025894:
to=postgres, delay=4+18:35:17, xdelay=00:00:00, mailer=relay,
pri=10558309, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection
timed out with [127.0.0.1]
Apr 14 00:33:58 testmachine sm-msp-queue[11610]: j398iVPv002644:
to=sysadmin at domain.com,murray at domain.com, ctladdr=postgres (503/503),
delay=4+22:49:27, xdelay=00:00:00, mailer=relay, pri=10947013,
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with
[127.0.0.1]
[root at testmachine root]# sendmail -v -Ac -q
Running /var/spool/clientmqueue/j3DMmnm2027088 (sequence 1 of 10)
j3DMmnm2027088: locked
Running /var/spool/clientmqueue/j3DIYtTH032078 (sequence 2 of 10)
sysadmin at domain.com,murray at domain.com... Connecting to [127.0.0.1] via relay...
220 testmachine.domain.com ESMTP Sendmail 8.12.11/8.12.11; Thu, 14 Apr
2005 01:27:18 -0700
>>> EHLO testmachine.domain.com
250-testmachine.domain.com Hello localhost.localdomain [127.0.0.1],
pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI
250-DELIVERBY
250 HELP
>>> MAIL From:<postgres at testmachine.domain.com> SIZE=186113
AUTH=postgres at testmachine.domain.com
250 2.1.0 <postgres at testmachine.domain.com>... Sender ok
>>> RCPT To:<sysadmin at domain.com>
>>> RCPT To:<murray at domain.com>
>>> DATA
250 2.1.5 <sysadmin at domain.com>... Recipient ok
250 2.1.5 <murray at domain.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
[root at testmachine root]# ps -ef | grep sendmail | grep -v grep
root 11600 1 0 00:23 ? 00:00:00 sendmail: accepting connections
smmsp 11609 1 0 00:23 ? 00:00:00 sendmail: Queue
runner at 01:00:00 for /var/spool/clientmqueue
root 11612 11600 0 00:23 ? 00:00:00 sendmail:
j3E7Nw29011612 localhost.localdomain [127.0.0.1]: DATA
root 15091 11600 0 01:01 ? 00:00:00 sendmail:
j3E81oBR015091 localhost.localdomain [127.0.0.1]: DATA
root 15095 11600 0 01:02 ? 00:00:00 sendmail:
j3E822si015095 localhost.localdomain [127.0.0.1]: DATA
smmsp 17360 11609 0 01:23 ? 00:00:00 sendmail:
./j3DMmnm2027088 [127.0.0.1]: client DATA 354
root 17361 11600 0 01:23 ? 00:00:00 sendmail:
j3E8Nw08017361 localhost.localdomain [127.0.0.1]: DATA
root 17515 11600 0 01:27 ? 00:00:00 sendmail:
j3E8RInh017515 localhost.localdomain [127.0.0.1]: DATA
[root at testmachine root]# netstat -an | grep 25
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
[root at testmachine root]# iptables -vnL
Chain INPUT (policy ACCEPT 1791K packets, 395M bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 1858K packets, 435M bytes)
pkts bytes target prot opt in out source destination
[root at testmachine mail]# egrep -v "^#" /etc/mail/access
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
[root at testmachine mail]# grep -i "max.*message.*size" /etc/mail/sendmail.cf
# maximum message size
#O MaxMessageSize=1000000
[root at testmachine mail]# grep -i "max.*message.*size" /etc/mail/submit.cf
# maximum message size
#O MaxMessageSize=1000000
[root at testmachine etc]# egrep "local|testmachine" /etc/hosts
127.0.0.1 localhost.localdomain localhost
10.0.2.232 testmachine.domain.com testmachine
[root at testmachine etc]# egrep hosts /etc/nsswitch.conf
hosts: files dns
More information about the redhat-list
mailing list