Simon Aquilina a écrit : >> >> 1- reinstall the "maildrop" package (not "courier-maildrop") >> 2- once this is done, run the following commands: >> >> maildrop -v > > GDBM extensions enabled. > Courier Authentication Library extension enabled.
that's good. > Maildir quota extension enabled. > >> ls -l /usr/bin/maildrop > > -rwxr-sr-x 1 root mail 170016 2008-05-09 14:38 /usr/bin/maildrop > >> ldd /usr/bin/maildrop > > linux-gate.so.1 => (0xb7a3000) > libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb7f96000) > libcourierauth.so.0 => /usr/lib/courier-authlib/libcourierauth.so.0 > (0x7f8a000) > libpcre.so.3 => /lib/libpcre.so.3 (0xb7f5f000) > libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e71000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e3c000) > libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cde000) > libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7cac000) > /lib.ld-linux.so.2 (0xb7fa4000) > >> >> and copy-paste the commands and their output here. > > Now it seems it installed with Courier Authentication Library extension > enabled! I think before the command I used to install maildrop was > 'apt-get install courier-maildrop' :( > > When I run the command 'maildrop -V 4 sysadmin < /dev/null' I still > recieve the error "Unable to open filter file, errno=2". However the > problem I think is that maildrop cannot access the database. I think > this because when I try to send email with telnet, in mail.info I get > the following line about maildrop; "(user unknown. Command output: ERR: > authdaemon: s_connect() failed: Permission denied Invalid user > specified. )". > > I did some research and found this website: > http://archive.netbsd.se/?ml=courier-maildrop&a=2007-06&t=4461364. Here > the person asking the question was told to pass the command 'chown > <user>:daemon /var/run/courier/authdaemon/'. well. you can do that once, but this won't help next time authdaemon is restarted. you need to check how authdaemon is started and make sure the permissions are right. > I did this and the error in > mail.info changed to become '(user unknown. Command output: Invalid user > specified. ) ... I am doing progress right!? :) > > the -d parameter must match what you use in your authdaemon. if the user in authdaemon is "sysadmin", then use "-d sysadmin". but if the "suer" is "sysad...@example.com", then use the latter. one way to know whcih to try is to use the "user" as the login in courier-imap (or courier-pop). now, it's time to move to the courier-maildrop mailing list.