[linux] procmail
Milan Toth
toth na uvt.tuzvo.sk
Pátek Srpen 31 09:21:30 CEST 2001
Mozem nejakym sposobom otestovat funkcnost procmailu.
cat .forward
"|IFS=' '&&p=/usr/bin/procmail&&test -f $p&&exec $p -Yf-||exit 75 #toth"
cat .procmailrc
# Please check if all the paths in PATH are reachable, remove the ones that
# are not.
PATH=$HOME/bin:/usr/bin:$HOME/mail:
MAILDIR = $HOME/mail # You'd better make sure it exists
DEFAULT = $HOME/mbox
LOGFILE = $MAILDIR/from
LOCKFILE= $HOME/.lockmail # This will create a local lockfile named todd.lock
:0: # *if* the condition matches
* ^From.linux na lists.linux.sk
linux
LOCKFILE=$MAILDIR/linuxlog # This will remove the global lockfile
# $HOME/.lockmail and the new lockfile
# will be $MAILDIR/whatever
# Anything not delivered by now will go to $HOME/Mail/mbox
# Using LOCKFILE=$HOME/Mail/mbox.lock
-=-=-=-=-=-=-=-=-=-=-=-=-=-
Milan Toth
TU Zvolen
http://uvt.tuzvo.sk/~toth/
Další informace o konferenci linux