Hai all,
I've been attempting to get my Mutt going but it's giving me a hard time
I've included .procmailrc .muttrc .forward .fetchmailrc . If there's more,
please let me know
Did not include /etc/Muttrc as it is the default.
Using Debian-woody; I do not use exim, trying to use ssmtp and procmail.
However able to get the mail delivered where I want to, Mutt complains that the
destination box (spoolfile) is not a mail box.
I don't have a clue as to where I must look. The documentation of procmail/mutt
requires expert-insight; no easy "looks like this" examples (well it does, but
it don't work for me). Also the mutt and procmail webpages for Newbies gave me
an impression of what is possible, impressive by the way, but I could not get a
configuration out of it.
Having two mailaddresses I would like them to arrive in seperate mailboxes.
I've tried to work with the build-in 'fetch-the-mail' option. For one
pop-account it works great, but I was not able to get the two of them working
(only the latter in the muttrcfile). As to account-hook; I have not got a clue
on how to go about that. As with folder-hook.
Could you please CC me? I do not have a subscription
Thanks,
Frans
############################################################
.forward #Found the second option on internet...
##########
#'| /usr/bin/procmail'
"| /usr/bin/procmail || exit 75 #mail"
################################################################
.fetchmailrc #This seems to work....
##############
set postmaster "mail"
set nobouncemail
set no spambounce
set properties ""
poll mail.local.inet with proto POP3
user '[EMAIL PROTECTED]' there with password 'Sure' is 'otheruser'
hereoptions fetchall no rewrite stripcr
mda '/usr/bin/procmail'
poll mymail.domain.com with proto POP3 and options no dns
user '[EMAIL PROTECTED]' there with password 'GeheimerKanNie' is
'gebruikert' here options fetchall no rewrite stripcr
mda '/usr/bin/procmail'
poll pop.mail.yahoo.co.uk with proto POP3
user 'user' there with password 'DontTell' is 'user' here options
fetchall no rewrite stripcr
mda '/usr/bin/procmail'
############################################################
.procmailrc #Cleaned it up a bit
#############
MAILDIR=/home/snotty/Mail #you'd better make sure it exists
DEFAULT=${MAILDIR}/inbox #completely optional
LOGFILE=${MAILDIR}/procmail.log #recommended
SCHADUW=${MAILDIR}/schaduw
##Whatever recipes you'll use
##The order of the recipes is significant
#:0:
#* ^From: [EMAIL PROTECTED]
#/dev/null
:0:
* ^From: [EMAIL PROTECTED]
/dev/null
:0:
* ^Reply-To: [EMAIL PROTECTED]
$SCHADUW
:0:
* ^From: [EMAIL PROTECTED]
$SCHADUW
:0:
* ^To: [EMAIL PROTECTED]
/var/mail/marlies
# Accept all the rest to your default mailbox
:0:
${DEFAULT}
########################################################
.muttrc # Looks okee don't it?
#########
set spoolfile = /home/snotty/Mail/inbox
set mbox = read
set mbox_type = Maildir
mailboxes !
#mailboxes /var/mail/snotty
#mailboxes /home/snotty/mail/inbox
mailboxes /home/snotty/Mail/read
#mailboxes /home/snotty/Mail/procmail.log
mailboxes /home/snotty/Mail/schaduw
mailboxes /home/snotty/Mail/drafts
mailboxes /home/snotty/Mail/sentbox
set record = +sentbox
set postponed = +draftbox
source ~/.mail_alias
set alias_file = ~/.mail_alias
#set pop_last= no
#account-hook . 'unset pop_user; unset pop_host; unset pop_pass'#account-hook
pop://pop.mail.domain.com/ 'set pop_host=pop.mail.domain.com; set
pop_user=Username; set pop_pass=GimmeGimme'
set pop_host= "[EMAIL PROTECTED]"
set pop_user= "Username"
set pop_pass= "GimmeGimme"
((As you can see I'm, for now hopefully, using the built-in fetch-me-mail
option))
#account-hook pop://pop.mail.yahoo.co.uk/ 'set pop_host=pop.mail.yahoo.co.uk;
set pop_user=username; set pop_pass=Don'tTell'
#set pop_host= "pop.mail.yahoo.co.uk"
#set pop_user= "username"
#set pop_pass= "Don'tTell"
# I was hoping to get the below working. That way I do not have to invoke
fetchmail
#account-hook . 'unset pop_user; unset pop_pass'
#account-hook pop://[EMAIL PROTECTED]:[EMAIL PROTECTED] (the [EMAIL PROTECTED]
is mandatory for retreving mail)
#account-hook pop://username:[EMAIL PROTECTED]
Thanks for reading all of this
Gr. Frans