mailq


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers mailq
# 1  
Old 09-22-2003
mailq

Dear guys !!

Problems do not finish ..

i have sun solaries 7 ,, ultra2 ,, mail server ..

am checking server mailq now and it is loaded ,, so many requests up to 300 request .

i checked netstat and did not find many or starnge smtp packets .

but when i execute mailq i get mailq as follwoing :

JAA24824* (no control file)
JAA25200* (no control file)
IAA17227* (no control file)
JAA25124* (no control file)
JAA24686* (no control file)
KAA25622* (no control file)
KAA25579* (no control file)
JAA19273* (no control file)
JAA25217* (no control file)
JAA25138* (no control file)
JAA24803* (no control file)
KAA25629* (no control file)
KAA25639* (no control file)
KAA25586* (no control file)
KAA25560* (no control file)
JAA25513* (no control file)
JAA25056* (no control file)
KAA25612* (no control file)
JAA24836* (no control file)
JAA25389* (no control file)
JAA24907* (no control file)
KAA25596* (no control file)
JAA24908* (no control file)
JAA24991* (no control file)
KAA25634* (no control file)
JAA19959* (no control file)
JAA24922* (no control file)
KAA25605* (no control file)
JAA19369* (no control file)
JAA25263* (no control file)
JAA19161* (no control file)
JAA18846* (no control file)
JAA18993* (no control file)
JAA18889* (no control file)
JAA18941* (no control file)
JAA19672* (no control file)
JAA19562* (no control file)
JAA19508* (no control file)
JAA19217* (no control file)
JAA19106* (no control file)
JAA19567* (no control file)
JAA19807* (no control file)
JAA19744* (no control file)
JAA19840* (no control file)
JAA25416* (no control file)
KAA25626* (no control file)
JAA24618* (no control file)

and all of them are empty !! and when i try to delete them , they regenerated again automatically !!

any advice please

Thanks
# 2  
Old 09-22-2003
Hi,

These are the examples of unfinished e-mails. Or wrong setup in a prog. You shouldn't worry about these messages if you see them ones.
You should be able to delete them using :

- /etc/init.d/sendmail stop
- cd /var/spool/mqueue
- rm -i *

- /etc/init.d/sendmail start


Regs David
# 3  
Old 09-22-2003
i removed them many times ,, each time i rm them ,, they regenerated again !!

also in queue there are other emails ( lligal emails ) or wanted emails ..

so i can not delete all queue ..

but those ( no control file ) queues are making load on the server and sometimes causing the server to go down when they increase .

how can i stop them !!
# 4  
Old 09-22-2003
If this get generated by a program, which is the case if they return. Make sure you also removed them when sendmail did not run !! It is up to find the application that does it. I have never seen sendmail doing this because of a disfunction.

However he does it when the server load is too hight. Therefor they build a param in the sendmail.cf to stop sendmail at a specific load. and let it restart again below a specific load.

Regs David
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mailq regex match

Hi, # mailq | awk '{match($0, /quota/)} {print $0}' | head -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- 9A6A7DE117E 84309 Sat Sep 30 14:14:50 alerts-noreply+xxxxx=xxx.sg@xxx.xx.xxx (host alt1.gmail-smtp-in.l.google.com said: 452-4.2.2 The email account that you... (2 Replies)
Discussion started by: ashokvpp
2 Replies

2. Solaris

solaris 10u9 + sendmail 8.14.5 mailq grows, deferred messages

hello, I am using solaris 10 and sendmail 8.14.5 Main Problem i have growing (to 1500+ mails) mailq, and mailq consists of mails older then even 1 month. i have forced mailq by sendmail -q -v and messages went out. but it looks like, when messages enter to mailq they are not processed any... (0 Replies)
Discussion started by: lpic.lt
0 Replies

3. Shell Programming and Scripting

Shell Script with mailq

Hi All, I'm a unix starter.. Need your help please. I need to write a simple shell script to implement mail queue size check. Pseudo code: Run mailq command If the queue size is greater than the predefined parameter (say 10), print message like : CRITICAL: Mail queue is XX . And exit 2... (1 Reply)
Discussion started by: vegabond
1 Replies

4. UNIX for Dummies Questions & Answers

mailx, why all my mail goes to mailq?

Hi, I sending mail like this: mailx -s "test" -r "from@me.com" to@you.com and I have update the /etc/mail/sendmail.cf with: DSsmtp-relay-nx-vip.xxx.yyy.com (this path is working on the old server) But all I mail goes to queue. What do I miss here? Regards Mehrdad (1 Reply)
Discussion started by: mehrdad68
1 Replies

5. Cybersecurity

found exploit mailserver through mailq?

First of all an appeal on all specialists to be understandfull with me, newbie. I have a RaQ 550 that I have to admin bymyself. I have executed mailq and found out that there are mails in the queu that I did not sent. Is someone exploiting my server? Here is an example of the report: ... (1 Reply)
Discussion started by: rolandk
1 Replies

6. Shell Programming and Scripting

AWK and mailq

I need a simple script to parse the output of the mailq command and find emails from overseas addresses and delete them (ie user@xxx.co.uk, user@xxx.yyy.jp). I found something close: mailq | tail +2 | awk 'BEGIN { RS = "" } / *.co.uk / {print $1} ' | tr -d '*!' | postsuper -d - but I... (2 Replies)
Discussion started by: Retski
2 Replies
Login or Register to Ask a Question