Hi all,
I'm having some problems filtering mail using maildrop as a pipe through
exim. I've looked through google and found some documentation, but haven't
been able to get it to work. I'm running Debian woody, with exim 3.36 and
maildrop 1.4 (I think -- dunno where the --version option is on maildrop).
Here's my exim.conf transport and director:
# This transport is used for maildrop (which has a nicer syntax)
maildrop_pipe:
driver = pipe
command = "/usr/bin/maildrop -d ${local_part}"
return_path_add
delivery_date_add
envelope_to_add
check_string = "From "
escape_string = ">From "
user = $local_part
group = mail
# This director runs procmail for users who have a .mailfilter file
maildrop:
driver = localuser
transport = maildrop_pipe
require_files =
${local_part}:+${home}:+${home}/.mailfilter:+/usr/bin/maildrop
no_verify
headers_add = "Delivered-To: ${local_part}@${domain}"
and here are the errors I get:
2002-09-09 15:43:30 17oXFi-0007Kg-00 == wsar...@tersesystems.com
<wi...@tersesystems.com> T=maildrop_pipe defer (0): Child process of
maildrop_pipe transport returned 75 (could mean temporary error) from
command: /usr/bin/maildrop
I don't know where maildrop logs to, so I tried enabling the -V -M options
on the transport, and then I tried "maildrop >> /tmp/maildrop.log" as
another option. I'm still not really sure what's wrong. The only message I
ever got going to maildrop.log was one that I forced in from the command
line with
/usr/sbin/maildrop < make.money.fast
which worked fine, but still didn't explain why exim wasn't processing it.
I made sure that maildrop was sending to the Maildir directory because I'm
using Courier-IMAP, and I made the Maildir directory with maildirmake and
made sure it was chmod 700.
My /etc/maildroprc:
logfile "/tmp/maildrop.log"
log "========"
# Uncomment this line to make maildrop default to ~/Maildir for
# delivery- this is where courier-imap (amongst others) will look.
DEFAULT="$HOME/Maildir/"
MAILDIR="$HOME/Maildir/"
I'm stumped.
Will.