Re: [courier-users] Maildroprc not being read
Brought to you by:
mrsam
From: Gordon M. <gor...@gm...> - 2015-05-23 18:42:30
|
On 05/23/2015 09:25 AM, Alexey Mishustin wrote: > /etc/courier/maildroprc ... You should have an exception block around that in case someone deletes their Spam folder. Probably shouldn't have multiple users logging to the same file either. DEFAULT should already be $HOME/Maildir, so there's no reason to set it. logfile ".maildrop.log" xfilter "/usr/bin/spamc" exception { if(/^X-Spam-Status: Yes/) { to ./Maildir/.Spam/. } } > But when maildrop is called from courier, it behaves as if there is no > configuration files at all (maildroprc not being read): messages go > always to Maildir; no echoes, no new lines in var/log/maildrop.log. > > What could I have missed? My guess is that your user has a .courier file, so DEFAULTDELIVERY isn't being used. In that case, maildrop probably isn't called from courier at all. |