Re: [EXIM] Hypermail and exim

Góra strony
Delete this message
Reply to this message
Autor: Martin Hamilton
Data:  
Dla: exim-users
Temat: Re: [EXIM] Hypermail and exim
"Dave Cinege" writes:

| What's the proper way to use hyper mail with exim? Saw nothing in the FAQ or
| docs. I also DLed the hypermail+martin version but saw no exim docs with
| that either.


That code isn't Exim specific. FWIW, what I do at the moment is
usually (from /etc/aliases) :-

meta2-archive: "|/bin/hypermail.wrapper meta2"

...with /bin/hypermail.wrapper as below - I know about built-in year
2000 problem, by the way!

I guess we could have special rules for dealing with addresses ending
in -archive defined in the Exim config, but I haven't gotten around
to this as yet.

Ciao!

Martin


#!/bin/sh

MM=`/bin/date +%m`
YY=`/bin/date +%y`
YYYY="19$YY"

IDX="/home/wwwdocs/lists/frames.html"
BUT="/home/wwwdocs/lists/buttons.html"
DIR="/home/wwwdocs/lists/$1/$YYYY/$MM"

if [ ! -d "$DIR" ]; then
/bin/mkdir -p "$DIR" 2>&1 >/dev/null && /bin/chmod 755 $DIR
fi

[ -f "$DIR/index.html" ] || /bin/cp $IDX $DIR/index.html
[ -f "$DIR/buttons.html" ] || /bin/cp $BUT $DIR/buttons.html

/bin/hypermail -iu -d "$DIR" -l "$1"





--
*** Exim information can be found at http://www.exim.org/ ***