Code: Alles auswählen
# Variabeln declaration
#
DATE=`date +%d.%m.%Y`
MAILFOLDER=.procmail/archive/$DATE
SUBJECT= # regular field
FROM=$^From # special case
:0 Wic
* ? test ! -d $MAILFOLDER
| mkdir -p $MAILFOLDER
VERBOSE=ON
LOGABSTRACT=all
LOGFILE=$HOME/$MAILFOLDER/procmail.log
:0 h c
| play ~/.sounds/halmess.wav ;\
export DISPLAY=mp:0.0 &&\
gmessage $SUBJECT $FROM