Hi,
it's now fixed and turned out to be my fault.
During testing I'd created a file .courier in the users $HOME directory,
This file contained ./Maildir which was overriding the DEFAULTDELIVERY
command.
Thanks to those who offered help and pointed me in the right direction.
Rob
Bowie Bailey wrote:
Rob Kettle wrote:
Hi,
I've installed the full courier suite.
The smtp gateway is working fine and is delivering mail locally.
I'm trying to implement maildrop so that it can call spamassassin but
what ever I try the mail is delivered locally showing 'courierlocal'
in the mail logs. There is no evidence I can see that it tries to use
maildrop (no log entries).
I've used theh webadmin tool to set teh local delivery method as well
as editing courier config file.
Any ideas where I've gone wrong would be appreciated.
In you user definition (userdb, sql, whatever), are you specifying the
location of the user's mailbox? If you do that, it will override
defaultdelivery and deliver directly to the specified mailbox. If you
want to use maildrop, you have to leave off the mailbox specification
and only specify a home directory for the user.