Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2007 05:11:17 +1000
From:      andrew clarke <ozzmosis@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Mutt Help
Message-ID:  <20071002191117.GA32593@ozzmosis.com>
In-Reply-To: <20071001005437.GA15279@bsd.remdog.net>
References:  <20071001005437.GA15279@bsd.remdog.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 30, 2007 at 05:54:37PM -0700, Rem P Roberti wrote:

> Hi All...I am a newbie using Mutt, and I have Fetchmail running as
> daemon.  Fetchmail is doing its job, periodically retreiving my pop3
> mail, but I am so far unable to find the correct entry for the
> .muttrc file which will result in Mutt automatically retrieving mail
> from fetchmail.  Any help would be appreciated.

By default, Fetchmail will put your mail wherever $MAIL points to. 
Usually this is in a file named /var/mail/username, where username is
your login name.

$ echo $LOGNAME
ozzmosis
$ echo $MAIL
/var/mail/ozzmosis

And by default, Mutt will look in the same place, as per muttrc(5):

       spoolfile
              Type: path
              Default: ""

              If your spool mailbox is in a non-default place where Mutt  can-
              not  find  it,  you can specify its location with this variable.
              Mutt will automatically set this variable to the  value  of  the
              environment variable $MAIL if it is not set.

I use Fetchmail, Procmail, SpamAssassin, Mutt and Postfix quite
successfully here.  :-)

Regards
Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071002191117.GA32593>