LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-02-2006, 08:04 PM   #1
fobster
LQ Newbie
 
Registered: Jan 2006
Location: ca, usa
Distribution: rh9
Posts: 12

Rep: Reputation: 0
stop sendmail from retrying to send old mail


Hi,

I have a message that keeps on retrying to send. I want to cancel it from retrying. I used pine to send the mail and im running sendmail. Please advise.

TIA

-fobster
 
Old 10-03-2006, 03:54 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,950
Blog Entries: 5

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
Stop sendmail.

Find the old message in /var/spool/mqueue
e.g.
ls -l /var/spool/mqueue
total 8
-rw------- 1 root smmsp 1406 Oct 2 11:34 dfk92FYbmD024583
-rw------- 1 root smmsp 975 Oct 3 16:17 qfk92FYbmD024583

Delete both the df (text of the message) and qf (address/headers) entries for the message (the rest of the name is the message ID)

Restart sendmail.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Server Issues; Can't Send E-mail (using sendmail) Vegetarian Smoker Linux - Software 1 06-18-2006 02:16 PM
Help, how to only send mail to use sendmail ERBRMN Linux - General 2 01-13-2006 05:04 AM
Sendmail cannot send mail rubenscript Linux - Networking 2 01-05-2006 04:38 AM
sendmail - will not send mail ekrumm Linux - Software 1 08-15-2005 11:23 AM
Can't send mail with Sendmail familyman Linux - Software 3 09-15-2004 10:30 AM


All times are GMT -5. The time now is 02:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration