I was following the thread last week regarding this. I am having some problems getting maildrop to bind to the correct 'user' when doing this, and unfortunately, I have run out of imaginative guesses to resolve the problem. For some reason the subscription request does not bind to the .courier-default in the $HOME directory. Maildrop delivers it instead to the default maildrop file, /usr/lib/courie/etc/aliasdir/Maildir
Dec 4 23:47:32 gimp courierd: started,id=0010A467.3C0DA6E4.00005798,from=<[EMAIL PROTECTED]>,module=local,host=alias!mail-users-subscribe!506!505!/usr/lib/courier/etc/aliasdir!!,addr=<alias> Dec 4 23:47:32 gimp courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 Dec 4 23:47:32 gimp courierlocal: id=0010A467.3C0DA6E4.00005798,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,size=427,success: Message delivered. **** Maildrop delivers it instead to the default maildrop file (as the default user uid=506(courier) gid=505(courier)), /usr/lib/courie/etc/aliasdir/Maildir, and couriermlm does not get invoked to generate the reply **** [root@gimp /root]#echo "To: mail-users" | /usr/lib/courier/bin/sendmail Dec 5 00:03:00 gimp courierd: started,id=0010A467.3C0DAA84.000057C5,from=<[EMAIL PROTECTED]>,module=local,host=mail-users!!502!501!/home/alan/websites/balclutha/clients/balclutha.org/mailing_lists/mail-users!!,addr=<mail-users> **** we can quite happily deliver to the alias !!! (well it returns a 'you are not subscribed to list message' here - the .courier file works ... **** My .courier files are: [root@gimp mailing_lists]#more mail-users/.courier* :::::::::::::: mail-users/.courier :::::::::::::: | /usr/lib/courier/bin/couriermlm msg mail-users :::::::::::::: mail-users/.courier-default :::::::::::::: | /usr/lib/courier/bin/couriermlm ctlmsg mail-users :::::::::::::: mail-users/.courier-owner :::::::::::::: [EMAIL PROTECTED] I do suspect it is wrong to have the alias as being the list owner - there is no associated mailbox. But even a real account exhibits this problem. The permissions on these files are: -rw------- 1 tomcat tomcat 50 Dec 3 12:07 .courier -rw------- 1 tomcat tomcat 53 Dec 3 15:05 .courier-default -rw------- 1 tomcat tomcat 25 Dec 5 04:45 .courier-owner [root@gimp mail-users]#id tomcat uid=502(tomcat) gid=501(tomcat) groups=501(tomcat),2(daemon),12(mail),500(web) This corresponds to the user/group in the alias definition. My mail-users/options file [EMAIL PROTECTED] NAME=Mailing List Manager POST=subscribers SUBSCRIBE=all [EMAIL PROTECTED] Does anyone have any idea about what I am missing? Cheers, Alan _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
