LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sendmail - mail stays in queue... (https://www.linuxquestions.org/questions/linux-networking-3/sendmail-mail-stays-in-queue-245558/)

E-Rick 10-21-2004 11:04 AM

sendmail - mail stays in queue...
 
Hi,

I installed and configured sendmail, but the mail doesn't get sent, it stays in the sendmail queue.

# sendmail -d0 < /dev/null
Version 8.12.8
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASL SCANF STARTTLS TCPWRAPPERS
USERDB USE_LDAP_INIT

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = test
(canonical domain name) $j = test.com
(subdomain name) $m = com
(node name) $k = test.com
========================================================

Recipient names must be specified





when i do mailq:

i9LDCKHl005092 20 Thu Oct 21 15:12 <root@test.com>
(Deferred: Connection timed out with mx30.priorweb.be.)
<recip@otherdomain.com>
i9LDhfHl005221 20 Thu Oct 21 15:43 <root@test.com>
(Deferred: Connection timed out with mx30.priorweb.be.)
<recip@otherdomain.com>
i9JBkQEQ001462 1730 Tue Oct 19 13:46 MAILER-DAEMON
(Deferred: Connection timed out with mx30.priorweb.be.)
<recip@otherdomain.com>
Total requests: 9



when I do a sendmail -v recip@otherdomain.com:


# sendmail -v recip@otherdomain.com
test text
test text
.
recip@otherdomain.com... Connecting to [127.0.0.1] via relay...
220 test.com ESMTP Sendmail 8.12.8/8.12.8; Thu, 21 Oct 2004 17:53:05 +0200
>>> EHLO test.com
250-test.com Hello www.test.com [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<root@test.com> SIZE=20
250 2.1.0 <root@test.com>... Sender ok
>>> RCPT To:<recip@otherdomain.com>
>>> DATA
250 2.1.5 <recip@otherdomain.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 i9LFr58S006130 Message accepted for delivery
recip@otherdomain.com... Sent (i9LFr58S006130 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 test.com closing connection


tail -f /var/log/maillog

Oct 21 17:53:05 test sendmail[6126]: i9LFr0xI006126: from=root, size=20, class=0, nrcpts=1, msgid=<200410211553.i9LFr0xI006126@test.com>, relay=root@localhost
Oct 21 17:53:05 test sendmail[6130]: i9LFr58S006130: from=<root@test.com>, size=309, class=0, nrcpts=1, msgid=<200410211553.i9LFr0xI006126@test.com>, proto=ESMTP, daemon=MTA, relay=www.test.com [127.0.0.1]
Oct 21 17:53:05 test sendmail[6126]: i9LFr0xI006126: to=recip@otherdomain.com, ctladdr=root (0/0), delay=00:00:05, xdelay=00:00:00, mailer=relay, pri=30010, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (i9LFr58S006130 Message accepted for delivery)


I also got an MX record in my DNS www.test.com zone.

But nothing happens, I tried it with several recipients (myself on other domains), I never get the message. Can anybody help?

Cheers,

E-Rick

E-Rick 10-21-2004 11:51 PM

Has anybody got an idea?

Cheers

E-Rick


All times are GMT -5. The time now is 01:51 PM.