Re: mutt procmail NEWBIE
On Sun, Mar 03, 2002 at 06:47:13PM +0100, frans@vizatti.com
wrote:
> On Sun, Mar 03, 2002 at 08:35:29AM -0900, jerry wrote:
> > I should also mention, if mutt still complains about the
> > files as not being a mailbox, you will have to delete and
> > recreate them. As I mentioned earlier, I had this problem
> > with /var/spool/mail/username not being a mailbox, so I had
> > to delete the username file and send myself an email, the
> > username file was recreated and mutt recognized it as such.
>
> I've gotten hold of the drill; echo>usernamebox; ae
> usernamebox. (The latter is for removing the final
> white-space; when Mutt works, I'll get to vi or emacs. They
> both scare me)
they're both daunting. i'm a vim fan, have been since i got
talked out of elvis a year back...
but this is a free OS, right? use whichever editor you like. or
write your own.
and back on topic, sorta, i to struggled with those procmail
voodoo recipes until i found exim's .forward filtering -- much
more understandable:
# Exim filter
logfile $home/.forward.log 0600
if error_message
then
save Mail/error
logwrite "From $return_path $tod_log\n Subject: $h_subject:\n Folder: error $message_size"
finish
endif
# --------------
# paypal payment
#
if $return_path contains "payment@paypal.com"
then
save Mail/paypal
logwrite "From $return_path $tod_log\n Subject: $h_subject:\n Folder: paypal $message_size"
finish
endif
# --------------------
# checking system logs
if foranyaddress $h_to:,$h_cc: (${local_part:$thisaddress} is "root")
then
save Mail/root
logwrite "From $return_path $tod_log\n Subject: $h_subject:\n Folder: root $message_size"
finish
endif
etc etc etc. much more clean, no? (of course, this requires
getting exim up and running, but once it's configured it chugs
along like a champ!)
(and the logwrite stuff is so i can still use the "mailstat"
facility to see how many messages went where.)
--
I use Debian/GNU Linux version 2.2;
Linux server 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown
DEBIAN NEWBIE TIP #75 from USM Bish <bish@nde.vsnl.net.in>
:
Do you want to have MUTT IGNORE PGP-SIGNED MESSAGES? To have
mutt to *not* verify PGP-signed messages, you can shut it off
by including
set pgp_verify_sig = no
in your ~/.muttrc Or you could use:
set pgp_verify_sig = ask-no
to have mutt prompt you each time a signed message comes up,
with the default being not to verify.
Also see http://newbieDoc.sourceForge.net/ ...
Reply to: