Dennis Davison har Apr 23, ytret følgende ord om ,,Just a wee bit of help on
Reply-To'':
: Below is a simple mailer (list) that I'm currently using. My dilemma is
: to get formail working to add a "Reply-To" field in the header. No
: matter what I try it doesn't seem to work. [...]
This is what I do, and that seems to work (I use
detail ('plussed') addresses, i.e. georg+list(_at_)ii(_dot_)uib(_dot_)no):
: 0
* ? test -r $ETCMAILDIR/lists/$DETAIL
{
LIST_MEMBERS=`$AWK '{ printf $1 " " }' $ETCMAILDIR/lists/$DETAIL`
: 0 fwh
| $FORMAIL -A"$PROC_HEADER" -i"Precedence: list" \
-i"Reply-To: georg+${DETAIL}(_at_)ii(_dot_)uib(_dot_)no"
: 0 c
! $LIST_MEMBERS
}
Explanation of variables:
AWK, FORMAIL: full path to awk(1) and formail(1)
PROC_HEADER: header to identify the list software and configuration
DETAIL: the detail part (list name) of the address
(taken from $1 if possible)
ETCMAILDIR: procmail config directory
Each file in $ETCMAILDIR/lists lists the member addresses of the
list. (awk is used to allow adding the real name after the address.)
--
:-- Hans Georg --- student of 'Life, the Universe and Everything'
stud.scient. <georg(_at_)ii(_dot_)uib(_dot_)no>, stud.oecon.
<georg(_at_)hamilton(_dot_)nhh(_dot_)no>
'Democracy is two wolves and a sheep, voting over what to have for dinner.'