Koozali.org: home of the SME Server

Mails stuck in queue (Problem Solved)

Offline shoaib

  • *
  • 17
  • +0/-0
Mails stuck in queue (Problem Solved)
« on: August 11, 2008, 11:49:14 AM »
Hi all,
Today my mail server started to queue up mails without sending them out to internet. I have a static ip from my service provider, and my sme sits behind an adsl router, on which I've forwarded the following ports

HTTP
HTTPS
SMTP
SMTPS
IMAP
IMAPS
POP
POPS

The server was running fine uptill last week, when my provider told me that they'll have to shit me to a new ip. So I had to ask my dns hoster to point my mailserver mail.xxx.com onto the new ip. The migration happened on weekend, as that was the best time for the mail server to go down. Today in the morning I checked though nslookup and my server was pointing to the correct new ip. I checked my mails, and received some old and some new mail. but the mails I sent as test messages to hotmail and gmail account are sitting in the queue. I receive mails very quickly but can't send mails at all. Any help or advice would be greatly appreciated.

Thanks.

P.S My qmail log says this

2008-08-11 16:12:37.025384500 delivery 45: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)

« Last Edit: August 12, 2008, 12:06:51 PM by shoaib »

Offline larieu

  • *****
  • 214
  • +0/-0
Re: Mails stuck in queue
« Reply #1 on: August 11, 2008, 03:42:38 PM »
Hi

I have the same problem right now
Starting for 13 00 no new emails was sent
right now around 300 mails are in queue

I have alo the qmHandle instaled
but is good only to see the queue mails
- dont work as force sent mails

I don't see a pattern for all rejected mails
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline shoaib

  • *
  • 17
  • +0/-0
Re: Mails stuck in queue
« Reply #2 on: August 12, 2008, 06:42:48 AM »
Ok this is my qmail status and after restart

login as: root
root@192.168.1.220's password:
Last login: Tue Aug 12 10:05:13 2008 from pc-00026
[root@mail ~]# /etc/init.d/qmail status
run: /service/qmail: (pid 4684) 2275s, normally down; run: log: (pid 2657) 2990s
[root@mail ~]# /etc/init.d/qmail start
Starting qmail:                                            [  OK  ]
[root@mail ~]# /etc/init.d/qmail status
run: /service/qmail: (pid 4684) 2294s, normally down; run: log: (pid 2657) 3009s
[root@mail ~]#


What does this mean? Is qmail supposed to be normally down ???? Or is there something really wrong ! Local mails, i.e mails belonging to local accounts of this server are going smoothly, its only the remote mail which are not being processed. The mails server has full internet accesss, and I checked my service provider isn't blocking any ports aswell. So please can some expert comment on whats going wrong here ?

Thanks

Offline larieu

  • *****
  • 214
  • +0/-0
Re: Mails stuck in queue
« Reply #3 on: August 12, 2008, 11:59:27 AM »
I made a short list with the steps I did in the past days to see what is the root of the trouble

Saturday (2008 08 09) I updated this package on server
smeserver-qpsmtpd-spamassassinlevelstars 0.0.2-1.el4.sme        smecontribs
as normaul upgrade (yum) from webpage

starting from Monday I sow that i have large amount of files in queue
today I have over 900 mails in queue

all emails are processed by spamasasin, clamav... and stuck in queue
only local delivery emails go to the appropriate account
 
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline shoaib

  • *
  • 17
  • +0/-0
Re: Mails stuck in queue (Problem Solved)
« Reply #4 on: August 12, 2008, 12:06:07 PM »
Problem Solved. Even though my service provider told me at my first inquiry that port 25 is open, I was not able to send mails. So after repeated searches through this forum, and almost taking my server apart, I called my service provider, and had a long chat with the support engineer. I told him that I have changed anything on my server, or my network, so he promised to get back after some time, well today I received an email from my Isp revealing that my IP has been cleared from any and all kind of blockages. Seems like they were filtering traffic, and though the port reported as open (checked through various online tools) legitimate calls to servers were being blocked. Anyhow, my SME is back online. Thank you for all your support.