Hi,

I have a problem. I'm trying to use attribute deliveryProgramPath "/usr/bin/maildrop", but inside of file /etc/maildroprc the variable $USER is empty.
Any idea ?

Thanks,

Eduardo Martinho

sample of /etc/maildroprc:

###############################################################################
#
# Use SpamAssassin to filter SPAM
#
###############################################################################
if( $SIZE < $SCANSPAMSIZE ) {
 xfilter "/usr/bin/spamc -u $USER -s $SCANSPAMSIZE"
}

if (/^X-Spam-Status: *Yes/:h)
{
 #Create SPAM IMAP folder if they don't have one
 `test -d $DEFAULT/.Spam`
 if( $RETURNCODE == 1 )
 {
   `/usr/bin/maildirmake -f Spam $DEFAULT`
   `echo INBOX.Spam >> $DEFAULT/courierimapsubscribed`
 }
 exception {
   to "$DEFAULT/.Spam/"
 }
}


Reply via email to