Do you have maildrop build with --enable-maildropldap? You will need that,
and then properly set up /etc/maildropldap.config in order for maildrop to
be able to know about your LDAP users.
Andreas
On Fri, 17 Feb 2006, Eduardo Martinho wrote:
Date: Fri, 17 Feb 2006 14:32:57 -0300
From: Eduardo Martinho <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: deliveryProgramPath and Maildrop
Andreas,
I tried with $LOGNAME and appeared VMAIL instead of email recipient (To). I
need of recipient to execute spamc with "-u" parameter.
Andreas Stollar wrote:
Try $LOGNAME
On Fri, 17 Feb 2006, Eduardo Martinho wrote:
Date: Fri, 17 Feb 2006 13:30:25 -0300
From: Eduardo Martinho <[EMAIL PROTECTED]>
To: [email protected]
Subject: deliveryProgramPath and Maildrop
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/"
}
}
--