Postfix, Mutt And No Root Mail?
Leonard Chatagnier
lenc5570 at sbcglobal.net
Sat Sep 1 14:53:46 UTC 2007
>
> On Fri, 31 Aug 2007 22:32:46 -0700 (PDT)
> Leonard Chatagnier <lenc5570 at sbcglobal.net> wrote:
>
> >
> > > On Fri, Aug 31, 2007 at 06:54:16AM -0400, Hal
> > > Burgiss wrote:
> > > >
> > > > $ echo hello there |mail -s lchata
> > >
> > > Sorry brain fart #2, should be
> > >
> > > echo hello there | mail -s testing lchata
> > >
> > > (Need subject and recipient!!!) Sorry ....
> > >
> > > --
> > > Hal
> > >
> > Sorry Hal, still no joy. Ran the corrected command
> > line
> > and even the postaliases and postfix reload but
> mutt
> > gives this output:
> > Mutt:(no mailbox) and below this entry
> > var/spool/mail/lchata: No such file or directory
> > (errno = 2)
> > Googled for the /var/spool* stuff but got no hits.
> >
>
> ls -l /var/spool/mail
> lrwxrwxrwx 1 root root 7 2007-03-26 20:31
> /var/spool/mail -> ../mail
>
ls -l /var/spool/mail gives me the same but the actual
/var/spool/mail dir only shows the dir, lchata, with
nothing in it.
lchata at ubuntu:/var/spool/mail$ ls -l /var/spool/mail
lrwxrwxrwx 1 root root 7 2007-06-16 16:52
/var/spool/mail -> ../mail
lchata at ubuntu:/var/spool/mail$
Link is not broken.
> Looks like /var/spool/mail is a symlink to
> /var/mail in Ubuntu . Does
> yours look like the above ?
>
Exactly as said above.
> If not, try
>
> sudo ln -s /var/mail /var/spool/mail
>
> Also check your /var/mail :
>
> ls -ld /var/mail
> drwxrwsr-x 2 root mail 4096 2007-09-01 22:59
> /var/mail
>
> It is set to setgid "mail" group ( notice the "s"
> in the output)
>
Same here:
lchata at ubuntu:/var/spool/mail$ ls -ld /var/mail
drwxrwsr-x 3 root mail 4096 2007-07-06 12:07 /var/mail
lchata at ubuntu:/var/spool/mail$
> That would be
> sudo chown root:mail /var/mail
> sudo chmod g+rws /var/mail
>
> And of course "others" should have read and execute
> only, as above.
>
> Peter
>
seems I'm OK on this but does this relate to the Mutt
errors or is that another issue?
>
Leonard Chatagnier
lenc5570 at sbcglobal.net
More information about the ubuntu-users
mailing list