On 13/09/13 22:19, Sam Varshavchik wrote:
> . By popular request, new ratefilter module, implements per-sender
 >   rate filtering.

Wow, excellent. I'm trying to build this release on ubuntu in a way that
I can test it on my laptop (and rtfm) without removing the standard debs.
I finally managed to get authdaemon and courier-mta started but courier-imap
is proving ornery. I notice that permissions.dat has entries like this and
as I set --with-mailuser=admin and --with-mailgroup=adm it still wants to
use the bin:bin uid/gid for a number of files. Where does the bin:bin uid
and gid come from? Is it simply hardwired into the Makefiles somewhere?

/home/admin/share/imapd 555 bin bin
/home/admin/share/imapd-ssl 555 bin bin
/home/admin/bin/imapd 555 admin adm
/home/admin/share/mkimapdcert 755 admin adm
/home/admin/usr/bin/mkimapdcert 755 admin adm

Ubuntu/Debian systems do have a bin user as uid 2 whereas the official debs
distribute courier as daemon. Archlinux and I think rpm system have bin as
1 so deb/rpm packages all seem to install courier as mainly the uid 1 but
in my case I'm not sure why or where bin:bin is chosen?

~ head -3 /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh

The imap error I am seeing is (authdaemon is okay, it works)...

Sep 14 13:54:36 goldcoast authdaemond: Authenticated: clearpasswd=XXXX, 
passwd=<null>
[... set -x debug in /home/admin/share/imapd ending with...]
Sep 14 13:54:36 goldcoast imapd: ++ IMAPDSTART=YES
Sep 14 13:54:36 goldcoast imapd: ++ MAILDIRPATH=Maildir
Sep 14 13:54:36 goldcoast imapd: + case $1 in
Sep 14 13:54:36 goldcoast imapd: + exit 0

At this point $1 should be start|stop|restart. I'm about to remove everything
and rebuild from scratch.


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to