Bowie Bailey wrote:
> Sam Varshavchik <mailto:[EMAIL PROTECTED]> wrote:
> > 
> > I firmly believe that you're running courierfilter left over from a
> > previous install of Courier, which was configured to use different
> > uid and gid settings.
> 
> Ok.  I'll try it again.
> 
> - Remove the Courier rpms
> - Make sure that /usr/lib/courier/sbin/courierfilter is gone
> - Delete the /etc/courier, /var/spool/courier, and /usr/lib/courier
>   directories
> - Rebuild the Courier rpms with the proper settings
> - Reinstall the rpms

This is driving me nuts!  It's still not working.

I cleaned everything as mentioned above.  I also removed courier-authlib
to be sure there was nothing left behind at all.

(Line breaks added to commands below for readability)

I built Courier-authlib as a normal user:
    rpmbuild -tb --define 'xflags --with-mailuser=mailuser 
    --with-mailgroup=mailuser' sources/courier-authlib-0.57.tar.bz2

When I look at the build output, I see:
    ... --with-mailuser=courier --with-mailgroup=courier ...

I don't think it really matters what user the authdaemon uses, but it
would be nice to be able to specify.  In any case, this shouldn't affect
my current problem (I don't think).

I then installed the rpms:
    rpm -i courier-authlib-0.57-1.x86_64.rpm
           courier-authlib-devel-0.57-1.x86_64.rpm
           courier-authlib-ldap-0.57-1.x86_64.rpm
           courier-authlib-userdb-0.57-1.x86_64.rpm

I extracted the Courier tarball, modified submit.C to remove the header
limit, and modified the courier.spec file to prevent it from dying on
unpackaged files.  I then re-created the tarball.

Then, I built Courier from my new tarball:
    rpmbuild -tb --define 'xflags --with-mailuser=mailuser 
    --with-mailgroup=mailuser' sources/courier-0.52.1.tar.bz2

I installed the rpms:
    rpm -i courier-0.52.1-1.x86_64.rpm
           courier-imapd-0.52.1-1.x86_64.rpm
           courier-maildrop-0.52.1-1.x86_64.rpm

I attempted to start things up:
    # service courier-authlib start
    Starting Courier authentication services: authdaemond
    
    # service courier start
    Starting Courier mail server:/var/spool/courier/tmp/courierfilter.pid:
Permission denied
     courierfilter courierd imapd generating-IMAP-SSL-certificate...
imapd-ssl

Sam, I've been around this list long enough to know that you know what
you're talking about, but I just don't see it.

    # /usr/lib/courier/sbin/courierfilter start
    /var/spool/courier/tmp/courierfilter.pid: Permission denied

The /usr/lib/courier and /var/spool/courier directories did not exist
prior to this install.  What else could be causing this?

-- 
Bowie


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to