I'm running Courier 0.38.1. Summary:
I've been trying to get the DEFAULTDELIVERY option in etc/courierd working, but no matter what I do, it seems to be ignored. However, when I put the same information into ~/.courier, it works fine. I've spent the past hour or so searching through the archives of this mailing list, and although there have been other people reporting this problem, no solution that was suggested had worked for me. I'm hoping that someone here could help me figure out what I'm doing wrong, since I want to use DEFAULTDELIVERY and do not want to have to maintain a ~/.courier file for each of the users on my system. Details: In /usr/local/share/courier/etc/courierd I have the following (NOTE: there are no leading spaces in any of these entries in all of the files I mention here ... I'm just indenting them here in this message for clarity): DEFAULTDELIVERY="| /usr/local/share/courier/bin/maildrop" MAILDROPDEFAULT=./Maildir In /usr/local/share/courier/etc/maildrop I have this: /usr/local/share/courier/bin/maildrop In /usr/local/share/courier/etc/maildropfilter I have this: /usr/local/share/courier/bin/maildrop In /usr/local/share/courier/etc/maildroprc I have this: logfile "/tmp/test.log" log "It worked!" In /usr/local/share/courier/etc/authdaemonrc I have this: authmodulelist="authcustom authcram authuserdb authpam authpwd" When I start up courier, I'm running authdaemond.plain Also, whenever I make changes, I completely shut down Courier and then start it again. In other words, I do a "stop" followed by a "start", and I do NOT use "restart". After I shut down Courier, I always use "ps" to make sure that there are no stray Courier-related daemons running, and there never are. Only then do I start Courier again via "start". Without any ~/.courier file in the user's HOME directory, all email sent to the user gets delivered properly to his or her Maildir, but nothing appears in the /tmp/test.log file. However, if I put the following into a user's ~/.courier file ... | /usr/local/share/courier/bin/maildrop ... then, the words "It worked!" do indeed get appended to /tmp/test.log whenever that user receives email through Courier. Any ideas as to what I'm doing wrong? Thanks in advance. -- Courier User [EMAIL PROTECTED] _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
