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

messages stuck in the queue

1 view
Skip to first unread message

Jack

unread,
Nov 25, 2002, 4:30:54 PM11/25/02
to
I have a problem that's driving me crazy, which I am sure someone can
help me with.
I am pretty new to Linux. I setup qmail on my pc which is working
almost perfect.
Messeges that are coming to my server are being delivered locally as
should be instantly.
I am able to send messages to local users with no problem from this
server. The problem is sending messages to remote users from the
server.
in my /var/log/qmail/current I get the following:

@400000003de19a4c0c4b83ac delivery 5: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003de19a4c0c4bb28c status: local 0/10 remote 3/20
@400000003de19a4c0ce59514 delivery 6: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003de19a4c0ce5b83c status: local 0/10 remote 2/20
@400000003de19a4c0ce5c7dc delivery 7: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003de19a4c0ce5e334 status: local 0/10 remote 1/20
@400000003de19a4c0d793224 delivery 8: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003de19a4c0d795164 status: local 0/10 remote 0/20
@400000003de19a4d04961474 starting delivery 9: msg 58325 to remote
remi...@planetms.com
@400000003de19a4d04963b84 status: local 0/10 remote 1/20
@400000003de19a4d04964b24 starting delivery 10: msg 58316 to remote
ja...@mistriel.com
@400000003de19a4d04966294 status: local 0/10 remote 2/20
@400000003de19a4d049bd904 starting delivery 11: msg 58323 to remote
remi...@planetms.com
@400000003de19a4d049bf844 status: local 0/10 remote 3/20
@400000003de19a4d04a431bc starting delivery 12: msg 58319 to remote
remi...@planetms.com
@400000003de19a4d04a44d14 status: local 0/10 remote 4/20
@400000003de19a4d0a5414c4 delivery 9: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003de19a4d0a5443a4 status: local 0/10 remote 3/20
@400000003de19a4d0ac0ec0c delivery 10: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003de19a4d0ac10f34 status: local 0/10 remote 2/20
@400000003de19a4d0b0ecd8c delivery 11: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003de19a4d0b0ef0b4 status: local 0/10 remote 1/20
@400000003de19a4d0b672e8c delivery 12: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003de19a4d0b6751b4 status: local 0/10 remote 0/20
@400000003de19e871995fed4 starting delivery 13: msg 58325 to remote
remi...@planetms.com
@400000003de19e87199625e4 status: local 0/10 remote 1/20
@400000003de19e871996396c starting delivery 14: msg 58316 to remote
ja...@mistriel.com
@400000003de19e8719964cf4 status: local 0/10 remote 2/20
@400000003de19e87199c9654 starting delivery 15: msg 58323 to remote
remi...@planetms.com
@400000003de19e87199cb1ac status: local 0/10 remote 3/20
@400000003de19e8719a42bbc starting delivery 16: msg 58319 to remote
remi...@planetms.com
@400000003de19e8719a44afc status: local 0/10 remote 4/20
@400000003de19e871eff8a0c delivery 13: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003de19e871effb504 status: local 0/10 remote 3/20
@400000003de19e871f5bb7b4 delivery 14: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003de19e871f5bd6f4 status: local 0/10 remote 2/20
@400000003de19e871fbd1194 delivery 15: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003de19e871fbd30d4 status: local 0/10 remote 1/20
@400000003de19e87200a85b4 delivery 16: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003de19e87200aa4f4 status: local 0/10 remote 0/20
@400000003de19ec80737501c status: exiting
@400000003de19ec82fd195b4 status: local 0/10 remote 0/20
@400000003de19ed1195494bc status: exiting
@400000003de19ed231047c1c status: local 0/10 remote 0/20


some info:
I use another computer running win 2000 adv server for DNS.
I have iptables running with everything open for the output chain and
forward chain. and the input chain has port 25 ACCEPT.
please let me know if there is any other info you might need.

Thanks in advance for your help.

Jack
BTW: these messeges are in the queue for more then a week now, so I
know something is wrong.

Bob Maple

unread,
Nov 25, 2002, 8:31:02 PM11/25/02
to
> Messeges that are coming to my server are being delivered locally as
> should be instantly.
> I am able to send messages to local users with no problem from this
> server. The problem is sending messages to remote users from the
> server.

From the same box qmail is running from: Type

dig mx somedomain.com

where somedomain.com is one of the domain names of the messages that isn't
going anywhere-- lets say, planetms.com. Do you get a response of
"imap.mistriel.com"? If you don't, then your DNS server is either jacked or
your Linux box isn't configured to resolve names correctly (see
/etc/resolv.conf).

If yes to above, now try:

telnet imap.mistriel.com 25

Do you connect and get the 220 greeting line? If no, then your Linux box is
either unable to get out on port 25 or the return traffic is being eaten, or
the host happened to be dead at that particular moment in time.

--

| Bob Maple | bobm_at_burner_dot_com | [http] burner.com
|
| Thom Yorke: "Here's to getting hitched, Space Ghost."
| "Yeah.. Lets drink until our hearts stop."


Jack

unread,
Nov 26, 2002, 12:55:03 PM11/26/02
to
OK.
It looks like the telnet can't connect.How do I figure out why??
Here are the results from both recommendations:

[root@linux root]# dig mx planetms.com

; <<>> DiG 9.2.0 <<>> mx planetms.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3758
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;planetms.com. IN MX

;; ANSWER SECTION:
planetms.com. 3600 IN MX 10 imap.mistriel.com.

;; ADDITIONAL SECTION:
imap.mistriel.com. 86400 IN A 66.234.233.90

;; Query time: 46 msec
;; SERVER: 66.234.233.90#53(66.234.233.90)
;; WHEN: Tue Nov 26 12:46:33 2002
;; MSG SIZE rcvd: 76

[root@linux root]# telnet imap.mistriel.com 25
Trying 66.234.233.90...

these are my iptables -L results.

[root@linux root]# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT udp -- anywhere anywhere udp spt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:pop3
ACCEPT tcp -- anywhere anywhere tcp dpt:imap
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:10000
ACCEPT icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain denylog (0 references)
target prot opt source destination
LOG all -- anywhere anywhere LOG level warning
DROP all -- anywhere anywhere


"Bob Maple" <bob...@nospamburner.com> wrote in message news:<3de2ced5$1...@omega.dimensional.com>...

AK

unread,
Nov 26, 2002, 11:07:54 PM11/26/02
to

Does your server's IP appear on www.openrbl.org?

copy and paste the process when a telnet imap.mistriel.com 25 is done.

AK

Jack

unread,
Nov 29, 2002, 3:25:23 PM11/29/02
to
AK <aktr...@excite.com> wrote in message news:<3DE44517...@excite.com>...

Actually I have figured it out.
Thank you all.
Turns out that the problem was not qmail related. It was my iptables
firewall script. When I flushed all the tables and set me default
policy to ACCEPT, telnet worked and the queue emptied.
Now I have to create a good secure firewall script. (Any
recommendations???)

0 new messages