LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2009, 04:33 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
linux - not all messages removed from queue


I am getting this in my maillog:
Code:
 38791 bytes transferred
 34 messages sent
 17 messages removed from queue
Seems a lot of messages aren't being delivered. Now, I had a quick scan through the logs and found a few entries like this:
Code:
Aug 17 09:57:31 localhost postfix/qmgr[3698]: 248ADF32FB: from=<root@localhost.localdomain>, size=435, nrcpt=1 (queue active)
Aug 17 09:58:04 localhost postfix/smtp[27499]: connect to example.com[208.77.188.166]: Connection timed out (port 25)
Aug 17 09:58:04 localhost postfix/smtp[27499]: 248ADF32FB: to=<example@example.com>, relay=none, delay=422022, delays=421990/0.01/33/0, dsn=4.4.1, status=deferred (connect to example.com[208.77.188.166]: Connection timed out)
Something is still sending to localhost and example.com.
Any ideas on what it could be?
 
Old 08-17-2009, 05:50 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by qwertyjjj View Post
I am getting this in my maillog:
Code:
 38791 bytes transferred
 34 messages sent
 17 messages removed from queue
Seems a lot of messages aren't being delivered. Now, I had a quick scan through the logs and found a few entries like this:
Code:
Aug 17 09:57:31 localhost postfix/qmgr[3698]: 248ADF32FB: from=<root@localhost.localdomain>, size=435, nrcpt=1 (queue active)
Aug 17 09:58:04 localhost postfix/smtp[27499]: connect to example.com[208.77.188.166]: Connection timed out (port 25)
Aug 17 09:58:04 localhost postfix/smtp[27499]: 248ADF32FB: to=<example@example.com>, relay=none, delay=422022, delays=421990/0.01/33/0, dsn=4.4.1, status=deferred (connect to example.com[208.77.188.166]: Connection timed out)
Something is still sending to localhost and example.com.
Any ideas on what it could be?
could be the message retries.
messages to localhost could be bouncebacks.
not entirely sure as you have not given enough details.


where in the UK are you situated...??
one more thing i would like to ask you is, how come so many questions from you ...just seems like.....a lot for one person....
 
Old 08-17-2009, 05:53 AM   #3
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by qwertyjjj View Post
I am getting this in my maillog:
Code:
 38791 bytes transferred
 34 messages sent
 17 messages removed from queue
Seems a lot of messages aren't being delivered. Now, I had a quick scan through the logs and found a few entries like this:
Code:
Aug 17 09:57:31 localhost postfix/qmgr[3698]: 248ADF32FB: from=<root@localhost.localdomain>, size=435, nrcpt=1 (queue active)
Aug 17 09:58:04 localhost postfix/smtp[27499]: connect to example.com[208.77.188.166]: Connection timed out (port 25)
Aug 17 09:58:04 localhost postfix/smtp[27499]: 248ADF32FB: to=<example@example.com>, relay=none, delay=422022, delays=421990/0.01/33/0, dsn=4.4.1, status=deferred (connect to example.com[208.77.188.166]: Connection timed out)
Something is still sending to localhost and example.com.
Any ideas on what it could be?
could be the message retries.
messages to localhost could be bouncebacks.
clear the queue then tail -f the maillog
not entirely sure as you have not given enough details.


where in the UK are you situated...??
one more thing i would like to ask you is, how come so many questions from you ...just seems like.....a lot for one person....
 
Old 08-17-2009, 07:06 AM   #4
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by centosboy View Post
could be the message retries.
messages to localhost could be bouncebacks.
clear the queue then tail -f the maillog
not entirely sure as you have not given enough details.


where in the UK are you situated...??
one more thing i would like to ask you is, how come so many questions from you ...just seems like.....a lot for one person....
I know it's a lot of questions but although I have some linux experience it is only on a shared server and with PHP. I'm administrating my own server now and as well as the coding side of things, I'm setting up a proxy server so there's a lot of admin side to everything as well and I want to get everything set up as fully as possible from the start so I have to do less later on
UK - West England though I used to live in London

So, I cleared the queue issuing ipcrm.
A while later I get this in the log, I am not aware of any cronjobs running at this time of day.
Code:
Aug 17 12:35:19 localhost courierd: Started ./courierfax, pid=30604, maxdels=1, maxhost=1, maxrcpt=1
Aug 17 12:35:19 localhost courierd: Started ./courieresmtp, pid=30605, maxdels=40, maxhost=4, maxrcpt=100
Aug 17 12:35:19 localhost courierd: Started ./courierdsn, pid=30606, maxdels=4, maxhost=1, maxrcpt=1
Aug 17 12:35:19 localhost courierd: queuelo=200, queuehi=400
Aug 17 12:35:19 localhost courierd: Purging /var/spool/courier/msgq
Aug 17 12:35:19 localhost courierd: Purging /var/spool/courier/msgs
Aug 17 12:35:19 localhost courierd: Waiting.  shutdown time=Mon Aug 17 13:35:19 2009, wakeup time=Mon Aug 17 13:35:19 2009, queuedelivering=0, inprogress=0
Aug 17 12:44:11 localhost postfix/qmgr[3698]: 248ADF32FB: from=<root@localhost.localdomain>, size=435, nrcpt=1 (queue active)
Aug 17 12:44:41 localhost postfix/smtp[30773]: connect to example.com[208.77.188.166]: Connection timed out (port 25)
Aug 17 12:44:41 localhost postfix/smtp[30773]: 248ADF32FB: to=<example@example.com>, relay=none, delay=432020, delays=431990/0.01/30/0, dsn=4.4.1, status=deferred (connect to example.com[208.77.188.166]: Connection timed out)
Aug 17 13:35:19 localhost courierd: SHUTDOWN: respawnlo limit reached, system inactive.
Aug 17 13:35:19 localhost courierd: Loading STATIC transport module libraries.
Aug 17 13:35:19 localhost courierd: Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
Aug 17 13:35:19 localhost courierd: Installing [0/0]
Aug 17 13:35:19 localhost courierd: Installing uucp
Aug 17 13:35:19 localhost courierd: Installed: module.uucp - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
Aug 17 13:35:19 localhost courierd: Installing local
Aug 17 13:35:19 localhost courierd: Installed: module.local - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
Aug 17 13:35:19 localhost courierd: Installing fax
Aug 17 13:35:19 localhost courierd: Installed: module.fax - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
Aug 17 13:35:19 localhost courierd: Installing esmtp
Aug 17 13:35:19 localhost courierd: Installed: module.esmtp - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
Aug 17 13:35:19 localhost courierd: Installing dsn
Aug 17 13:35:19 localhost courierd: Installed: module.dsn - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
Aug 17 13:35:19 localhost courierd: Initializing uucp
Aug 17 13:35:19 localhost courierd: Initializing local
Aug 17 13:35:19 localhost courierd: Initializing fax
Aug 17 13:35:19 localhost courierd: Initializing esmtp
Aug 17 13:35:19 localhost courierd: Initializing dsn
Aug 17 13:35:19 localhost courierd: Started ./courieruucp, pid=31728, maxdels=4, maxhost=4, maxrcpt=16
Aug 17 13:35:19 localhost courierd: Started ./courierlocal, pid=31729, maxdels=10, maxhost=4, maxrcpt=1
Aug 17 13:35:19 localhost courierd: Started ./courierfax, pid=31730, maxdels=1, maxhost=1, maxrcpt=1
Aug 17 13:35:19 localhost courierd: Started ./courieresmtp, pid=31731, maxdels=40, maxhost=4, maxrcpt=100
Aug 17 13:35:19 localhost courierd: Started ./courierdsn, pid=31732, maxdels=4, maxhost=1, maxrcpt=1
Aug 17 13:35:19 localhost courierd: queuelo=200, queuehi=400
Aug 17 13:35:19 localhost courierd: Purging /var/spool/courier/msgq
Aug 17 13:35:19 localhost courierd: Purging /var/spool/courier/msgs
Aug 17 13:35:19 localhost courierd: Waiting.  shutdown time=Mon Aug 17 14:35:19 2009, wakeup time=Mon Aug 17 14:35:19 2009, queuedelivering=0, inprogress=0
Aug 17 14:07:31 localhost postfix/qmgr[3698]: 248ADF32FB: from=<root@localhost.localdomain>, size=435, nrcpt=1 (queue active)
Aug 17 14:08:01 localhost postfix/smtp[32315]: connect to example.com[208.77.188.166]: Connection timed out (port 25)
Aug 17 14:08:01 localhost postfix/smtp[32315]: 248ADF32FB: to=<example@example.com>, relay=none, delay=437020, delays=436990/0.01/30/0, dsn=4.4.1, status=deferred (connect to example.com[208.77.188.166]: Connection timed out)
Aug 17 14:08:01 localhost postfix/qmgr[3698]: 248ADF32FB: from=<root@localhost.localdomain>, status=expired, returned to sender
Aug 17 14:08:01 localhost postfix/cleanup[32332]: C90FBF394C: message-id=<20090817130801.C90FBF394C@localhost.localdomain>
Aug 17 14:08:01 localhost postfix/qmgr[3698]: C90FBF394C: from=<>, size=2274, nrcpt=1 (queue active)
Aug 17 14:08:01 localhost postfix/bounce[32330]: 248ADF32FB: sender non-delivery notification: C90FBF394C
Aug 17 14:08:01 localhost postfix/qmgr[3698]: 248ADF32FB: removed
Aug 17 14:08:01 localhost postfix/local[32334]: C90FBF394C: to=<root@localhost.localdomain>, relay=local, delay=0.11, delays=0.05/0.03/0/0.03, dsn=2.0.0, status=sent (delivered to mailbox)
Aug 17 14:08:01 localhost postfix/qmgr[3698]: C90FBF394C: removed
Aug 17 14:35:19 localhost courierd: SHUTDOWN: respawnlo limit reached, system inactive.
Aug 17 14:35:19 localhost courierd: Loading STATIC transport module libraries.
Aug 17 14:35:19 localhost courierd: Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
Aug 17 14:35:19 localhost courierd: Installing [0/0]
Aug 17 14:35:19 localhost courierd: Installing uucp
Aug 17 14:35:19 localhost courierd: Installed: module.uucp - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
Aug 17 14:35:19 localhost courierd: Installing local
Aug 17 14:35:19 localhost courierd: Installed: module.local - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
Aug 17 14:35:19 localhost courierd: Installing fax
Aug 17 14:35:19 localhost courierd: Installed: module.fax - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
Aug 17 14:35:19 localhost courierd: Installing esmtp
Aug 17 14:35:19 localhost courierd: Installed: module.esmtp - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
Aug 17 14:35:19 localhost courierd: Installing dsn
Aug 17 14:35:19 localhost courierd: Installed: module.dsn - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
Aug 17 14:35:19 localhost courierd: Initializing uucp
Aug 17 14:35:19 localhost courierd: Initializing local
Aug 17 14:35:19 localhost courierd: Initializing fax
Aug 17 14:35:19 localhost courierd: Initializing esmtp
Aug 17 14:35:19 localhost courierd: Initializing dsn
Aug 17 14:35:19 localhost courierd: Started ./courieruucp, pid=371, maxdels=4, maxhost=4, maxrcpt=16
Aug 17 14:35:19 localhost courierd: Started ./courierlocal, pid=372, maxdels=10, maxhost=4, maxrcpt=1
Aug 17 14:35:19 localhost courierd: Started ./courierfax, pid=373, maxdels=1, maxhost=1, maxrcpt=1
Aug 17 14:35:19 localhost courierd: Started ./courieresmtp, pid=374, maxdels=40, maxhost=4, maxrcpt=100
Aug 17 14:35:19 localhost courierd: Started ./courierdsn, pid=375, maxdels=4, maxhost=1, maxrcpt=1
Aug 17 14:35:19 localhost courierd: queuelo=200, queuehi=400
Aug 17 14:35:19 localhost courierd: Purging /var/spool/courier/msgq
Aug 17 14:35:19 localhost courierd: Purging /var/spool/courier/msgs
Aug 17 14:35:19 localhost courierd: Waiting.  shutdown time=Mon Aug 17 15:35:19 2009, wakeup time=Mon Aug 17 15:35:19 2009, queuedelivering=0, inprogress=0

Last edited by qwertyjjj; 08-17-2009 at 08:40 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Message queue items not being removed sd9 Programming 7 07-09-2009 11:20 PM
Postfix - queue up messages while rolling out new mail server retrovertigo Linux - Server 4 03-03-2009 11:52 AM
How to store several messages in a Queue?? sachitha Programming 1 02-12-2006 08:25 AM
qmail: how do I move messages in queue to my Mailbox ews2001 Linux - Newbie 0 10-30-2003 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration