Hello all,
I'm very new to Linux and am trying to build a mailserver. So far I have
been very successful. I have Debian, Postfix, MySQL, Maildrop, AMaViS and
SpamAssassin. I have been successful in getting maildrop to work with my
virtual users (recompiling it etc ...great fun). The problem I'm running
into is using makedirmail in the /etc/maildroprc.
So far I am just testing, but this is what I'm doing.
/etc/maildroprc
logfile "/var/log/maildrop.log"
log""
RECIPIENT=$2
USER=$3
DOMAIN=$4
BASE=/var/mail
USERDIR=$BASE/$DOMAIN/$USER
'test -d "$USERDIR/.spam"'
if ($RETURNCODE != 0)
{
'maildirmake "$USERDIR/.spam"'
}
Maildrop is processing this file, and it is logging (I put some test stuff
into it earlier). But it is not making the .spam directory. I tried to put
different loggings in the if statement, and got stuff. It didn't act like I
expected it to though. It doesn't seem to be populating $RETURNCODE. Or
test isn't working. Like I said, I'm very new to Linux, so I may not be
using this right. The only thing I have to go on are other published
maildroprc files, that have this type of process.
Thanks in advance for all you help.
--Jason W. Allen
Director of System Solutions
MPGis Inc.
(610) 670-7600 ext.207
fax (610) 670-7700
[EMAIL PROTECTED]
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users