On Wednesday 06 June 2007 07:55:28 Lindsay Haisley wrote: > I have a Courier installation which has some strange behaviors. I have > DEFAULTDELIVERY="| /usr/bin/maildrop" in /etc/courier/courierd, which I > would assume makes maildrop run in Delivery Mode, however apparently > neither ~/.mailfilter nor /etc/courier/maildroprc are processed as a > result of this invocation. If I put "|/usr/bin/maildrop" into my > ~/.courier file, then ~/.mailfilter gets processed, but once > again /etc/courier/maildroprc seems to be ignored.
Make sure maildroprc is owned by the MTA user:group, maybe chmod 600 it too. > I'm trying to set up SpamAssassin, which needs hooks > in /etc/courier/maildroprc, but I can find no way apparently to allow > this file to be processed. > > Any help? Is there an easy way to run debugging tests on an > installation of maildrop to see what it is and isn't doing? Put something like this in maildroprc... logfile "/var/log/maildrop.log" and this to see all the variables available, I use log $HOME... log `env` and put something like this in .mailfilters... log "start of joe's mailfilter" and a... alias mdlog='tail -f /var/log/maildrop.log' to make life easier (don't forget to chown that logfile). --markc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
