On Wednesday 06 December 2006 08:08, Nelson A. de Oliveira wrote: > What I am wanting is to redirect all my @debian.org emails to my Gmail > account (the field "email forwarded to") and to read debian-private > emails on a Debian machine. > > Is it easy to do this (using procmail maybe)?
Yes, you can do this using procmail, though not quite in the way you describe. (Maybe it can be done like you describe too, but this seems simpler.) If you clear the "email forwarded to" field and then create a ~/.procmailrc on master.d.o with the following content, you should get the desired result. <.procmailrc> SHELL = /bin/sh MAILDIR=$HOME/Mail #DEFAULT=$MAILDIR/incoming #completely optional LOGFILE=$MAILDIR/_procmail.`date +%Y%m`.log #recommended YEARMONTH=`/bin/date +%Y%m` #VERBOSE=yes #LOGABSTRACT=yes # Keep mail from debian-private list on master :0: * ^X-Loop: [EMAIL PROTECTED] private # Forward the rest to gmail account :0 ! [EMAIL PROTECTED] </.procmailrc> With this your debian-private mail should end up in ~/Mail/private, so you need to read it (on master) using: $ mutt -f ~/Mail/private Cheers, FJP
pgpDpkbUnI6bv.pgp
Description: PGP signature