Re: Mutt&Procmail recipes ...
'Davidtg' wrote ...
Sorry for the delay... I see below that you had problems with mutt and
are using Mozilla, but if you don't use proper threading *and* change the
Subject: line your mail is almost certain to be overlooked :-/
Yep, I'll try to do it better with a shorter subject line.
% them. It might be relevant that during that time I changed from
% Mail to $MAILDIR mode and may have changed something inappropriately.
Maybe. It seems to me more likely that you changed your .forward ...
I'm not sure what you are referring to here. None of the examples I used
to set up
muttrc and procmailrc had a '.forward' entry.
% I have attached my environmental variables below for comment.
% They are followed in procmail by SpamAssassin stuff, then recipes.
OK. How do you think you're getting mail to procmail? Are you sure you
are?
No. The bottom of my current procmaillog is
procmail: Executing "/usr/bin/formail,-D,8192,.msgid.cache"
procmail: Assigning "LASTFOLDER=/usr/bin/formail -D 8192 .msgid.cache"
procmail: Unlocking "msgid.lock"
procmail: Notified comsat: "adam@:/usr/bin/formail -D 8192 .msgid.cache"
From MAILER-DAEMON Fri Nov 28 14:48:32 2003
Subject: Warning: message 1AP6jl-0000WS-1V delayed 24 hours
Folder: /usr/bin/formail -D 8192
.msgid.cache 473
4589,3 Bot
I hope you make more sense of it than I do.
I'll keep trying to subscribe to procmail-users at Aachen, hopefully
it's just a periodic
bandwidth problem.
If you comment out MAILDIR, ...
% >SENDMAIL=/usr/sbin/sendmail
% >DEFAULT=$MAILDIR/INBOX
... then how will your DEFAULT or LOGFILE or other work?
Hmm... I've uncommented it, we'll see what happens tomorrow morning.
% >LOGFILE=$MAILDIR/procmaillog
And is this, in fact, where you find your procmail log file?
See below.
Tux:/# find -name procmaillog -print
./home/adam/Mail/procmaillog
./home/adam/.themes/adam/Mail/procmaillog
./home/adam/.themes/.themes/adam/Mail/procmaillog
./home/adam/.themes/.themes/.themes/adam/Mail/procmaillog
And so what do you get if you save off this message and run
cat /path/to/msg | procmail -Ytf-
to filter it? Does it show up in the log? Does it land anywhere?
Tux:~# cat path/to/msg | procmail -Ytf-
cat: path/to/msg: No such file or directory
procmail: [2214] Fri Nov 28 21:29:09 2003
procmail: Assigning "PATH=/bin:/usr/bin:/usr/local/bin"
procmail: Assigning "MAILDIR=/root/Mail"
procmail: Assigning "DEFAULT=/root/Mail/INBOX"
procmail: Assigning "LOGFILE=/root/Mail/.procmaillog"
procmail: Opening "/root/Mail/.procmaillog"
Having a look at procmaillog ...
procmail: Executing "/usr/bin/formail,-D,8192,.msgid.cache"
procmail: Assigning "LASTFOLDER=/usr/bin/formail -D 8192 .msgid.cache"
procmail: Unlocking "msgid.lock"
procmail: Notified comsat: "adam@:/usr/bin/formail -D 8192 .msgid.cache"
From MAILER-DAEMON Fri Nov 28 14:48:32 2003
Subject: Warning: message 1AP6jl-0000WS-1V delayed 24 hours
Folder: /usr/bin/formail -D 8192
.msgid.cache 473
4589,3 Bot
... does not show it, unless I am looking in the wrong place.
Tux/: find -name /path/to/msg -print
... finds nothing.
The fact I'm unable to mail out via Mutt suggests a need to
config exim2 - can you suggest a good reference ?
Adam Bogacki,
afb@xxxxxxxxxxxxxxx