Gmail

とりあえず、自宅のDebian Linuxのメールサーバの procmail の設定で、受信したメールはコピーを残して、すべて Gmail に転送するようにした。


$ cat ./.procmailrc
# Please check if all the paths in PATH are reachable, remove the ones that
# are not.

#PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
PARH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
MAILDIR=$HOME/Maildir/ # You'd better make sure it exists
#DEFAULT=$MAILDIR/mbox
DEFAULT=$MAILDIR/
LOGFILE=$MAILDIR/from
LOCKFILE=$HOME/.lockmail

:0 c
! (ユーザ名)@gmail.com

#:0 # Anything from people at uunet
#* ^From.*
#new

# Anything that has not been delivered by now will go to $DEFAULT
# using LOCKFILE=$DEFAULT$LOCKEXT
$