[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim amd .forward



On Fri, Aug 03, 2001 at 01:31:16PM +0100, Patrick Kirk wrote:
> The nice set of .forward templates that was on www.exim.org has disappeared.

I set ~/.procmailrc to delivar mail to each folder.  Since I use Maildir
format it is like: (If you want regular mbox, remove trailing /)

--------------------------
# All delivary to Qmail style Maildir.  i.e. followed by /
# No lock needed

MAILDIR=$HOME/Mail
DEFAULT=$MAILDIR/Inbox/
LOGFILE=$MAILDIR/Maillog

################# Message filters   ######################

# message length for Maildir(qmail)
:0 Bfh
* H ?? !^Lines:
* -1^0
*  1^1 ^.*$
| formail -A "Lines: $="

# Add a "Content-Type: application/pgp" header so Mutt will know the
# mail is encrypted.
:0 fBw
* ^-----BEGIN PGP MESSAGE-----
* !Content-type: multipart
| formail -i "Content-Type: application/pgp; format=text; x-action=encryptsign"

# Add a "Content-Type: application/pgp" header so Mutt will know the
# mail is signed.
:0 fBw
* ^-----BEGIN PGP SIGNED MESSAGE-----
* !Content-type: multipart
| formail -i "Content-Type: application/pgp; format=text; x-action=sign"

####################  Message sorted to folders  ##################

#JUNK FILTER
:0
* ^From:.*inkjet@
/dev/null

:0
* ^From:.*MAILER-DAEMON
Returned/
#/dev/null

# ML
:0
* ^Resent-Sender.*debian-user-request@lists.debian.org
debian-user/

:0
* ^Resent-Sender.*debian-devel-request@lists.debian.org
debian-devel/

:0
* ^Sender.*owner-mutt-users@mutt.org
mutt-users/

:0
* mutt-users@mutt.org
* mutt-users@gbnet.net
mutt-users/

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://www.aokiconsulting.com/quick/    +



Reply to: