(Jun 15 2005 00:48) Christopher Thorjussen wrote:
> Hi,
> 
> For my root user on one of my tsl boxes I has a mbox file (5,8MB), a
> Maildir/ folder (2K) and a Mail/ folder (empty). Why this caos? I have
> never changed anything in postfix or other system settings in regards
> to mail on this system.

Maildir is the official mailbox for all users.
mbox is the place mail gets moved after reading with mutt.
Mail is not known to me at last.

> 
> It is running tsl-2.2, but it was installed with tsl-2.1 and then some
> time ago upgraded to tsl-2.2 with swup.
> 
> If I run 'mail' I get:
> [EMAIL PROTECTED] ~# mail
> /root/Maildir/: Is a directory

The mail command does not cope with the fact that the mailbox (Maildir)
is uses the maildir structure, and not the old mailbox format. It does,
however, know where to look for mail.

> 
> 'mutt' opens a empty mutt screen, but shows this at the bottom:
> ---Mutt: ~/Maildir/ [Msgs:0]

Mutt checks the Maildir, and finds no messages. Have you tried to send a
test mail to root?

Also, you might have enabled forwarding of root mail to another account.
Take a look in /etc/postfix/aliases to check that out.

> It looks like the local (mail/mutt) mailclients knows it should use
> /Maildir/, but it looks like the system delivers to mbox. Postfix is
> only running on local host (standard config from install). All mails
> in mbox is system messages from crontab etc..

I'm pretty sure the system still delivers to Maildir, it should.

> 
> What should I check/do to get the mails delivered to /Maildir/ ?
> And what is the /Mail/ folder doing there?

echo "this is a test" | mail -s "This is a test" root



kind regards


c

-- 
Christian H. Toldnes
Trustix Developer
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to