<<< Date Index >>>     <<< Thread Index >>>

Re: Permission problems with mutt



Thanks for your help Jason! That trick worked

I created a small script cr.sh and created the reqd file for each of the accounts.
cd /var/spool/mail
touch $1
chmod 660 $1
chown $1 $1
chgrp mail $1

Thought this works, I wonder why wouldn't mutt create the file anyway? I will have to remember to run this script for each new user added to this system.

Long live mutt!

A grateful mutt user,
Joe.


From: Jason Helfman <jhelfman@xxxxxxxxxxxxxx>
To: Joe Hansen <joehansen12@xxxxxxxxxxx>
Subject: Re: Permission problems with mutt
Date: Wed, 1 Feb 2006 12:13:18 -0800

If you have permissions to do so, ...

touch /var/spool/mail/joe

On Wed, Feb 01, 2006 at 08:08:39PM +0000, Joe Hansen thus spake:
The file /var/spool/mai/joe does not exist on this system (RHEL 4). However the /var/spool/mail directory contained the following files

$ cd /var/spool/mail
$ ll
-rw-rw----  1 cory      mail     0 Jan 27 21:31 cory
-rw-rw----  1 david     mail     0 Jan 27 21:32 david
-rw-------  1 elizabeth mail     0 Jan 31 13:56 elizabet
-rw-------  1 root      root 68837 Feb  1 04:02 root

Any pointers?

Thanks for you reply Jason.

regards,
Joe.




From: Jason Helfman <jhelfman@xxxxxxxxxxxxxx>
To: Joe Hansen <joehansen12@xxxxxxxxxxx>
CC: Mutt User Group <mutt-users@xxxxxxxx>
Subject: Re: Permission problems with mutt
Date: Wed, 1 Feb 2006 11:58:52 -0800

You may want to start by looking at the access to and of your mailbox.
/var/spool/mail/joe

-Jason

On Wed, Feb 01, 2006 at 07:47:13PM +0000, Joe Hansen thus spake:
Hi all,

I am trying to save a copy of the outgoing mail to my Inbox.

My /etc/Muttrc contains the following...
set copy=yes
set record="!"

I am getting the following error when I try to send an email from my account using mutt...
/var/spool/mail/joe Permission denied (errno = 13)

This error does not occur when I use another email account (joe2) on the same machine. What could be the problem?

Thanks for your help!
Joe.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar ? get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



--
Jason Helfman
Production Support
TrueCredit, Inc.
805/782-8282 Main
805/596-3388 Direct
805/782-8288 Fax
jhelfman@xxxxxxxxxxxxxx

148D 5CC5 2A04 852D 53DC  727F 386F 9068 B3A2 9D47

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement



--
Jason Helfman
Production Support
TrueCredit, Inc.
805/782-8282 Main
805/596-3388 Direct
805/782-8288 Fax
jhelfman@xxxxxxxxxxxxxx

148D 5CC5 2A04 852D 53DC  727F 386F 9068 B3A2 9D47

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement