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 !!
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Cybersecurity
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
3. UNIX for Dummies Questions & Answers
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
4. Shell Programming and Scripting
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
5. Solaris
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
6. Shell Programming and Scripting
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