Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-21, 07:45:12

Author Topic: outgoing mail stuck in queue  (Read 15513 times)

0 Members and 1 Guest are viewing this topic.

Offline bluemerlin

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
outgoing mail stuck in queue
« on: 2014-01-15, 15:09:33 »
All outgoing mail is getting stuck in the queue.

Within log manager mail log is blank.

I have tailed /var/log/kloxo/maillog and /var/log/kloxo/smtp.log and the both see no updates.

I have looked in /var/log/qmail also I just can't find any mail logs to diagnose.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bluemerlin

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: outgoing mail stuck in queue
« Reply #2 on: 2014-01-15, 15:26:56 »
I've done this already and incoming mail works fine. Which file does log manager look at for mail logs?

It's only outgoing mail that gets stuck in the queue

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: outgoing mail stuck in queue
« Reply #3 on: 2014-01-15, 16:33:50 »
try 'sh /script/fixmail-all; sh /script/restart-mail'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: outgoing mail stuck in queue
« Reply #4 on: 2014-01-15, 17:04:07 »
Mail log: /var/log/maillog ;)

Flush the queue, sometimes a stuck message will cause havoc!
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline bluemerlin

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: outgoing mail stuck in queue
« Reply #5 on: 2014-01-16, 10:21:22 »
try 'sh /script/fixmail-all; sh /script/restart-mail'

Already done this many times. But did it again problem persists.


Mail log: /var/log/maillog ;)

Flush the queue, sometimes a stuck message will cause havoc!

Queue was flushed many times. Also deleted the queue before posting here. All messages sent since deletion are still waiting in queue. I have no /var/log/maillog file.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: outgoing mail stuck in queue
« Reply #6 on: 2014-01-16, 10:23:15 »
Better inform here 'sh /script/sysinfo; hostname -f; hostname -s; cat /etc/hosts'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bluemerlin

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: outgoing mail stuck in queue
« Reply #7 on: 2014-01-16, 10:31:43 »
A. Kloxo-MR: 6.5.0.f-2013121703

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql-5.5.34-1.el6.x86_64
   2. PHP: php-5.3.27-3.el6.x86_64
   3. Httpd: httpd-2.2.26-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.29.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64
   7. Dns: bind-9.9.4-1.P1.el6.x86_64

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1877       1751        125          0        199        359
   -/+ buffers/cache:       1191        685
   Swap:          991          3        988

kloxo-2.blue4it.co.uk
kloxo-2
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
94.23.154.51 kloxo-2.blue4it.co.uk kloxo-2
### begin - add by Kloxo-MR
94.23.154.51 kloxo-2.blue4it.co.uk kloxo-2
### end - add by Kloxo-MR

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: outgoing mail stuck in queue
« Reply #8 on: 2014-01-16, 11:07:08 »
Try:
Code: [Select]
yum clean all
yum update
sh /script/cleanup
sh /script/fixmail-all
sh /script/restart-mail
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bluemerlin

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: outgoing mail stuck in queue
« Reply #9 on: 2014-01-16, 11:47:47 »
Try:
Code: [Select]
yum clean all
yum update
sh /script/cleanup
sh /script/fixmail-all
sh /script/restart-mail

Just completed this. Deleted the mail queue. Sent a new outgoing mail, it just sits in the queue. Mail log in log manager is empty. Incoming mail still working STMP is running.

Seems to be the same as it was at the start of the thread.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: outgoing mail stuck in queue
« Reply #10 on: 2014-01-16, 11:53:25 »
What about sending mail to another domain/subdomain but in the same server?.

Is /var/log/maillog file empty?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bluemerlin

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: outgoing mail stuck in queue
« Reply #11 on: 2014-01-16, 12:02:06 »
What about sending mail to another domain/subdomain but in the same server?.

Is /var/log/maillog file empty?.

Mail in same server works fine. I presume its an issue with outgoing to destination port 25. To diagnose this issue i need to see the maillog.

/var/log/maillog was missing as I said before. I've created it but it's still empty.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: outgoing mail stuck in queue
« Reply #12 on: 2014-01-16, 12:05:53 »
Running 'telnet localhost 25' and what's you see?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: outgoing mail stuck in queue
« Reply #13 on: 2014-01-16, 12:07:27 »
BTW, how to send your mail. Via webmail, mail client or application?. If using webmail, try roundcube and telaen.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bluemerlin

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: outgoing mail stuck in queue
« Reply #14 on: 2014-01-16, 12:36:47 »
[root@kloxo-2 ~]# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 kloxo-2.blue4it.co.uk - Welcome to Qmail ESMTP


I use thunderbird mail client. Just tried roundcube same problem.

Still no maillog data

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.047 seconds with 21 queries.

web stats analysis