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

Re: /mail/sent-mail: No such file or directory (errno = 2)



On Thu, Aug 17, 2006 at 07:37:10AM EDT, James Miller wrote:
> --- cga2000 <cga2000@xxxxxxxxxxxxx> wrote:
> 
> > Looks like it's trying to write to a file called
> > "sent-mail" in a "mail"
> > directory right under "/" -- which I assume does not
> > exist on your
> > system.. 
> 
> Actually it's /mail under my user's home directory
> (~/mail). The directory sent-mail does definitely
> exist there. I've tried specifying the full path:
> /home/myuser/mail/sent-mail. But the error message
> persists and I am still prevented from sending mail.
> 
> > So here's what I specified .. seems to work for me: 
> >
> #-------------------------------------------------------------------
> > # Tell mutt to save sent emails and where to save
> > them                                                
> >      
> >
> #-------------------------------------------------------------------
> > set             copy=yes                            
> >  
> > set             record="/home/myuser/mail/Sent"     
> 
> That doesn't work here. I commented out my previous
> rule, added and edited this one, but I still get the
> same "/mail/sent-mail: No such file or directory
> (errno = 2)" error message, and the mail doesn't send.
> I'm not terribly conversant in computing, so I'm
> probably doing something very simple wrong. I just
> can't figure out for the life of me at the moment what
> it could be.
> 
Hmm.. I should have added:

copy/paste the above making *no* other change than replacing "myuser"
with your own userid.

.. if in doubt, please paste what you currently have.

Same as Kyle W. I suspected the "~" that stands for your home directory
was not getting expanded the usual way.

Other possible differences:

1. I use the mbox format .. Do you?
2. Permissions of "Sent" are set to "-rw-------"
3. There's no dash in my file name ..
4. ..

.. can't see any of the above causing any of this .. would not account
for the error message anyway .. but who knows?

Oh, you did bounce mutt after making the changes, right?

Maybe one of the macros you've written is causing this as a side-effect

Try commenting them out for now ..

HTH

Thanks

cga