LinuxQuestions.org
Visit Jeremy's Blog.
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 01-28-2010, 03:56 PM   #1
bbrian017
Member
 
Registered: Dec 2009
Posts: 59

Rep: Reputation: 15
How to view and cancel e-mails that are in q using SSH and Linux


I had my website attacked and the hackers managed to send all my members spam e-mails and they even capped my daily relay of 15,000.

Apparently this was a known pligg issue!

How can I view and stop all the e-mails that might still be in q using SSH and linux

Thanks,

Brian
 
Old 01-28-2010, 04:04 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
What are you using as your mailer? Sendmail, postfix, qmail, exim, etc?
 
Old 01-28-2010, 07:48 PM   #3
bbrian017
Member
 
Registered: Dec 2009
Posts: 59

Original Poster
Rep: Reputation: 15
I'm using simple control panel and Postfix Mail Server
 
Old 01-29-2010, 04:11 PM   #4
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
The command line program you would use for managing your mails is postsuper. You can type 'man postsuper' to get information on the syntax for the command. To view the messages in the queue you can use 'mailq'. To delete a specific message from the mail queue you can use the command 'postsuper -d queueid' and to delete ALL messages from the queue (including any legitimate ones that might be in there with the spam) you can use 'postsuper -d ALL'
 
Old 02-01-2010, 09:40 AM   #5
bbrian017
Member
 
Registered: Dec 2009
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks rweaver postsuper -d ALL worked perfect!

My members thank you too haha!
 
  


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
Folder View or graphical view login using ssh caliskans Linux - Newbie 2 07-05-2009 05:57 PM
ssh in and view it's local ttyX d33pdream Linux - Newbie 1 03-01-2003 06:47 AM


All times are GMT -5. The time now is 10:30 PM.

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