Re: mutt - no incoming mailboxes defined
On Fri, Mar 16, 2012 at 03:58:51PM +0000, john gennard wrote:
> I've been using Debian since Slink days, but I'm now 81 and had a
> stroke some 30 months ago which has done severe damage to my brain.
>
> Have just built a new box and put Debian 6.04 on it. There are a
> number of problems with the installation and I'm working through
> them one at a time. I'm unable to get my email working and this is
> confusing me greatly. I use getmail (this is OK), nullmailer (which
> should be fine) and Mutt which is the headache.. I've used this
> combination on all previous
You get your mail with getmail then filter into mailboxes?
Do you use procmail or maildrop or something else.
Example:
========
I use fetchmail:
fetchmail -m "/usr/bin/maildrop"
That tells fetchmail to use the mail delivery agent maildrop
In .mailfilter (maildrop's config file), I have something like this:
(Note the slash after the directory name e.g. IN-dunlug/)
^
This tells maildrop it is a maildir, no slash and it would be mbox
(see below on directory structure)
##
DEFAULT=$HOME/Mail/IN-Personal
if (/^List-ID:.*<dunlug\.lists\.ethernal\.org>$/)
{
to "$HOME/Mail/IN-dunlug/"
}
if (/^List-Id:.*<debian-user\.lists\.debian\.org>$/)
{
to "$HOME/Mail/IN-debian-user/"
}
if (/^List-ID:.*<fvwm\.fvwm\.org>$/)
{
to "$HOME/Mail/IN-fvwm/"
}
if (/^List-Id:.*netbsd-users\.NetBSD\.org$/)
{
to "$HOME/Mail/IN-Netbsd/"
}
##
In the .muttrc (sample)
##
set folder=$HOME/Mail/
set spoolfile=$HOME/Mail/IN-Personal/
mailboxes =IN-Personal =IN-debian-user =IN-dunlug =IN-fvwm \
=IN-Netbsd
##
directory structure
===================
ls -al /home/chrisb/Mail
drwx------ 13 chrisb chrisb 4096 Mar 12 00:04 .
drwxr-xr-x 68 chrisb chrisb 12288 Mar 17 22:36 ..
drwx------ 5 chrisb chrisb 4096 Jan 25 18:26 IN-Netbsd
drwx------ 5 chrisb chrisb 4096 Jan 25 18:20 IN-Personal
drwx------ 5 chrisb chrisb 4096 Mar 8 04:36 IN-fvwm
drwx------ 5 chrisb chrisb 4096 Jan 25 18:21 IN-debian-user
drwx------ 5 chrisb chrisb 4096 Jan 25 18:23 IN-dunlug
ls -al /home/chrisb/Mail/IN-Netbsd
total 28
drwx------ 5 chrisb chrisb 4096 Jan 25 18:26 .
drwx------ 13 chrisb chrisb 4096 Mar 12 00:04 ..
drwxr-xr-x 2 chrisb chrisb 4096 Mar 14 19:31 cur
drwxr-xr-x 2 chrisb chrisb 12288 Mar 17 22:36 new
drwxr-xr-x 2 chrisb chrisb 4096 Mar 17 22:36 tmp
You need to set up the directory structure for each maildir mailbox.
Does this bring back any memories?
Don't hesitate to post back for any clarifications or whatever.
--
"Religion is excellent stuff for keeping common people quiet."
-- Napoleon Bonaparte
Reply to: