Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


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

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


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.


Old 10-03-2006, 04:54 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,075
Blog Entries: 14

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Stop sendmail.

Find the old message in /var/spool/mqueue
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.


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 03:16 PM
Help, how to only send mail to use sendmail ERBRMN Linux - General 2 01-13-2006 06:04 AM
Sendmail cannot send mail rubenscript Linux - Networking 2 01-05-2006 05:38 AM
sendmail - will not send mail ekrumm Linux - Software 1 08-15-2005 12:23 PM
Can't send mail with Sendmail familyman Linux - Software 3 09-15-2004 11:30 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration