procmail
[Top] [All Lists]

vars containing dirs problem

2004-08-04 06:27:33
Hi, got the problem, that procmail evaluates vars wrong ...
is it on purpose or is it a bug ?

thats my config:
(procmail.rc)
# 'invalid' SA
INCLUDERC=$MAILDIR/.procmail/SA.none.rc

# WH's SA
#EMAIL=wh(_at_)fbit(_dot_)de
EMAILADDR="$MAILDIR/work/sa/mine/"
INCLUDERC=$MAILDIR/.procmail/SA.wh.rc

# RK's SA
EMAILADDR=rk(_at_)fbit(_dot_)de
INCLUDERC=$MAILDIR/.procmail/SA.rk.rc

# My SA
EMAILADDR="$MAILDIR/work/sa/mine/"
INCLUDERC=$MAILDIR/.procmail/SA.af.rc

(SA.wh.rc)
  {
    :0c
    ! $EMAILADDR

    :0
    $MAILDIR/work/sa/forwarded/
  }

----cut---
and thats the logfile:
procmail: Match on "^Subject:.*Sicherheitsauswertung jccbruns"
procmail: Executing
"/usr/sbin/sendmail,-oi,/home/medic/.Mail/work/sa/mine/"
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -oi
/home/medic/.Mail/work/sa/mine/"
procmail: Assigning
"LASTFOLDER=/home/medic/.Mail/work/sa/forwarded/new/1091605807.17012_0.workon.fbit"


So sendmail is spawned for a local delivery in a variable...
thats not exactly what I expected...

Is there any way around ?
each include is a few Kb large and is responsible for distributing
security relates mails to my collegues. if one is ill or in vacancies, i
dont want to change all email-addr by hand.

regards
Andreas Faust



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>