LinuxQuestions.org
Review your favorite Linux distribution.
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 02-22-2010, 01:46 AM   #1
shibu_sp
Member
 
Registered: Aug 2007
Posts: 57

Rep: Reputation: 15
rm clientmqueue


Dear all


What is Clientmqueue?

How to Delete clientmqueue. Is it possible?


Thank You

shibu
 
Old 02-22-2010, 01:57 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Context?

Evo2.
 
Old 02-22-2010, 03:51 AM   #3
linuxgurusa
Member
 
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 150

Rep: Reputation: 27
Quote:
Originally Posted by shibu_sp View Post
Dear all


What is Clientmqueue?

How to Delete clientmqueue. Is it possible?


Thank You

shibu
I take it you are atlking about Sendmail clientmqueue.
DON'T delete this, sendmail use this for the MTA process.

WHy do you want to delete it, are you going to use sendmail at all on the server. If you definately sure you won't ... you can remove it yes.

I am obviously missing your real question here, but given the info you posted, that is the answer for now ;-)
 
Old 02-24-2010, 01:34 AM   #4
shibu_sp
Member
 
Registered: Aug 2007
Posts: 57

Original Poster
Rep: Reputation: 15
rm clientmqueue

Quote:
Originally Posted by linuxgurusa View Post
I take it you are atlking about Sendmail clientmqueue.
DON'T delete this, sendmail use this for the MTA process.

WHy do you want to delete it, are you going to use sendmail at all on the server. If you definately sure you won't ... you can remove it yes.

I am obviously missing your real question here, but given the info you posted, that is the answer for now ;-)

Thanks for your replay


clientmque dir is occupying the memory space day by day.

our /var dir having 20 GB but now occupying nearest 18 Gb.

How to clear it..


Shibu
 
Old 02-24-2010, 02:01 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,522

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
18Gb!!!
Are you sure your server is not sending spam? You should check the contents of the queued messages and your logs to see why you have such many rejected messages.
By default messages should be cleaned 5 days after remaining in queue.
Anyway you can stop sendmail, rm the contents of the directory and restart sendmail, or use this tool for the same.

Regards
 
Old 02-24-2010, 02:25 AM   #6
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

it seems that your server can't deliver mail to some destinations. Sure your system is used as a mail server? Or is it some Linux server where sendmail is normally active to deliver local mail, for logwatch or some like this?
hh
 
Old 02-26-2010, 12:58 AM   #7
shibu_sp
Member
 
Registered: Aug 2007
Posts: 57

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mesiol View Post
Hi,

it seems that your server can't deliver mail to some destinations. Sure your system is used as a mail server? Or is it some Linux server where sendmail is normally active to deliver local mail, for logwatch or some like this?
hh
Our /var details

Quote:
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 9.7G 854M 8.3G 10% /
/dev/sda14 33G 29G 1.9G 95% /data
none 1.5G 0 1.5G 0% /dev/shm
/dev/sda9 49G 25G 22G 54% /home
/dev/sda13 981M 18M 914M 2% /tmp
/dev/sda10 29G 6.0G 22G 22% /usr
/dev/sda11 9.7G 8.1G 1.2G 88% /var

and clientmqueue details

Quote:
[root@localhost spool]# du -sh *
32K anacron
20K at
11G clientmqueue
256K cron
16K cups
32K exim
8.0K imap
8.0K lpd
1.1G mail
8.0K mailman
8.0K mqueue
120K postfix
8.0K repackage
8.0K rwho
8.0K samba
161M squid
16K squirrelmail
8.0K up2date
8.0K uucp
8.0K uucppublic
8.0K vbox
[root@localhost spool]#

mailq details

Quote:
[root@localhost ~]# mailq
/var/spool/mqueue is empty
Total requests: 0
[root@localhost ~]#

it seems that clientmqueue dir having 11Gb but our /var dir size only 9.7 GB.

How is it possible.

Suppose /var dir fully used then is it possible mail transcation will happen or not.


Please replay me


Shibu
 
Old 02-26-2010, 04:49 AM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,522

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
Quote:
[root@localhost spool]# du -sh *
32K anacron
20K at
11G clientmqueue
256K cron
16K cups
32K exim
8.0K imap
8.0K lpd
1.1G mail
8.0K mailman
8.0K mqueue
120K postfix
8.0K repackage
8.0K rwho
8.0K samba
161M squid
16K squirrelmail
8.0K up2date
8.0K uucp
8.0K uucppublic
8.0K vbox
[root@localhost spool]#
Are you sure you're running sendmail? Because there is a postfix directory in your /var/spool. I suspect that you've replaced sendmail with postix and that's why that mail remained in clientmqueue. If that's the case you can delete the whole clientmqueue directory

Btw if you're running sendmail you need to run
Code:
mailq -Ac -v
to see the clientmqueue contents.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to clear out /var/spool/clientmqueue jerlinuxdude Linux - Software 4 03-29-2012 03:02 AM
Clientmqueue shibu_sp Linux - Server 1 12-15-2009 11:10 AM
clientmqueue - thousends of files in it Marel Slackware 5 03-18-2007 04:19 PM
Sendmail stuck in clientmqueue Manuel-H Linux - Software 0 06-09-2005 05:15 AM
/var/spool/clientmqueue chintanDesai Linux - Software 0 03-22-2004 04:07 PM


All times are GMT -5. The time now is 11:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration