[linux] procmail (fwd)

Milan Toth toth na uvt.tuzvo.sk
Pátek Srpen 31 09:24:41 CEST 2001


som zabudol doplnit ze mi to pri tomto nastaveni nefunguje. za 24hod. mi
neprisiel ziadni mail.


---------- Forwarded message ----------
Date: Fri, 31 Aug 2001 09:21:30 +0200 (CEST)
From: Milan Toth <toth na uvt.tuzvo.sk>
Reply-To: linux na lists.linux.sk
To: "linux na confera" <linux na lists.linux.sk>
Subject: [linux] procmail

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