Sam Varshavchik wrote:
> Bowie Bailey writes:
> 
> > 
> > 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
> 
> That might be the problem.
> 
> Although the courier specfile does implement the xflags option,
> Courier must use the same uid/gid as the courier-authlib package,
> and, by default, Courier's configure script gets the uid/gid settings
> from the courier-authlib package, and you overrid them with something
> else. 
> 
> This _might_ explain some of your problems.
> 
> I suggest that you remove just the courier package, leave the
> courier-authlib packages in place, remove /usr/lib/courier,
> /var/spool/courier, /etc/courier, then rebuild the courier rpm
> without any options.

I can do that, but I would rather have things running as "mailuser"
since that is the way the rest of my servers are configured.  Is there
any way to build courier-authlib so that it uses mailuser?  I'm not
really familiar with the makefile and specfile syntax, but if you point
me in the right direction, I can figure it out.

> >     # service courier start
> >     Starting Courier mail
> > server:/var/spool/courier/tmp/courierfilter.pid: Permission denied
> 
> Another thing to check is the permissions on the /var and /var/spool
> directories.

Courierfilter will start if I give 777 permissions to
/var/spool/courier/tmp, but I don't know if there are any other problems
that would come up.  I could add the courier user to the mailuser group.
I just don't want to create more confusing permissions problems down the
road.

-- 
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