You are correct. I should say I used what I think is a "proper" file but 
maybe that is erroneous. What I did was copy the 
/etc/authlib/authdaemonrc.dist file to /etc/authlib/authdaemonrc. I did 
change the file by removing "authpgsql authmysql authcustom authpipe" from 
the "authmodulelist=" variable setting. Since I do not use these 
authentication methods I did not think I needed them. However, I modified 
the file _after_ I figured out the problem seemed to stem from the file 
being zeroed out. 

This was the only change I made by hand to the file. 

Is the .dist form of the file not valid for this purpose? 

I do not know what the file looked like before the first time I changed the 
WebAdmin setting. It was whatever the rpm process created and put there. 
Whatever was there was at least allowing authentication. After changing the 
setting the first time, the only problem I could find was that this file 
had been emptied. 

One more symptom I just noticed: 

When looking in WebAdmin at Password Authentication Modules, the list box 
is completely empty. 

Clicking the box to add modules is also empty. 

The number of authentication processes is also empty. 

Sam Varshavchik writes: 

> Stan Minify writes: 
> 
>> My courier email server crashed last week so I rebuilt the whole thing 
>> from scratch using RedHat 5.3. The install was kept to as little extra as 
>> possible.  
>> 
>> I installed the lastest courier and courier-authlib packages by 
>> downloading the tarballs and running rpmbuild -ta against them. I created 
>> a non-root user called "install" just for this purpose. The rpmbuild 
>> process ran fine and I installed the rpms and user=root.  
>> 
>> It seems to have worked pretty well but I am seeing some problems I have 
>> not been able to figure out.  
>> 
>> 1. Every time I click on or off the "Enable mail filtering and 
>> autoresponders" option in WebAdmin, authentication suddenly stops 
>> working. The problem is the file /etc/authlib/authdaemonrc gets 
>> overwritten as a zero byte file. Quickly copying in a new, proper file 
>> and restarting the services gets everything flowing again. This happens 
>> every time I switch this setting.
> 
> Define "proper file". 
> 
> Webadmin will work only as long as the default structure of all 
> configuration files has not been modified. If you modified the structure 
> of authdaemonrc -- specifically removed all formatting comments, webadmin 
> will not be able to make sense of it. 
> 
> 

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to