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

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

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 !!

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