LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-08-2009, 08:06 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
mutt: Couldn't lock /sent - Could not send the message [solved]


Code:
echo test | mutt me
results in:

Code:
#3047: Couldn't lock /sent - Could not send the message

 When sending command line messages as root, error occurs:

 ----

 ''Couldn't lock /sent

 ''Could not send the message.


 ----

So the command like is troubles.
Whatever you do, you get error, and this is not your .muttrc and /var/spool
since on several pc, same error.

the solution:

run mutt
Quote:
mutt
and it'll fix it. send yourself an email.
I do not know mutt does, but it fixes the errors.

Solved, I can send.
 
Old 07-07-2017, 03:24 AM   #2
sekhar_vrc
LQ Newbie
 
Registered: Sep 2007
Location: Hyderabad
Distribution: linux redhat/cent os
Posts: 2

Rep: Reputation: 0
error message :Couldn't lock /sent while sending mail using mutt 1.8.3


The following changes will helped to solved the problem
#/usr/local/etc/Muttrc

set record="/var/mail/sent"
set mbox="/var/mail/mbox"
set mbox_type=mbox


Reason: The group of mutt_dotlock which checks and create the .lock file in mail box
should match with the mail box i.e sent (outgoing Mails) as well as mbox (Incoming Mails).


bash-4.3# ls -ltr /usr/local/bin/mutt_dotlock
-rwxr-sr-x 1 root mail 73776 Jul 6 15:28 /usr/local/bin/mutt_dotlock


bash-4.3# ls -ltr /var/mail/sent
-rw-rw---- 1 root mail 3321 Jul 7 13:10 /var/mail/sent
bash-4.3# ls -ltr /var/mail/mbox
-rw-rw---- 1 root mail 0 Jul 6 16:30 /var/mail/mbox

regards
VRC
 
  


Reply



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
Mutt and esmtp can't send mail avallach Linux - Networking 0 01-23-2007 11:19 AM
howto get/send mails using mutt-like apps? minike Slackware 2 05-01-2005 05:27 PM
howto get/send mails using mutt-like apps minike Linux - Networking 0 04-30-2005 01:37 AM
Configuring necessary items so MUTT can send email nigma Linux - Networking 0 01-17-2005 12:07 PM
send email with mutt on command line naijaguy Linux - General 1 12-29-2004 06:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:53 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
Open Source Consulting | Domain Registration