[NTLUG:Discuss] Mailman weirdness(SOLVED!)

Stephen Davidson gorky at freenet.carleton.ca
Sun Nov 16 10:48:27 CST 2003


Greg Edwards wrote:
> Stephen Davidson wrote:
> 
>> On my test machine, this seems to work perfectly.  On the deploy 
>> server, newaliases
>> wont parse the data directory or the aliases file when run as root.  
>> Sendmail complained
>> about incorrect owner issues.  So I "played" with owners, and 
>> permissions for a while.
>> What I eventually came up with to allow newaliases to work was the 
>> following;
>>
>> mailman at tankjr:~> groups
>> mailman mail trusted
>> steve at tankjr:~> ls -l /var/lib/mailman/
>> total 36
>> drwx------    2 mailman  mailman      4096 2003-11-10 20:46 Mail
>> drwxrwsr-x    4 root     mailman      4096 2003-11-07 20:29 archives
>> drwxrwsr-x    2 mailman  mailman      4096 2003-11-12 17:26 data
>> -rw-------    1 mailman  mailman       343 2003-11-10 20:47 dead.letter
>> drwxrwsr-x    5 root     mailman      4096 2003-11-09 08:52 lists
>> drwxrwsr-x    2 root     mailman      4096 2003-11-13 09:45 locks
>> drwxrwsr-x    2 root     mailman      4096 2003-11-11 00:32 logs
>> drwxrwsr-x   10 root     mailman      4096 2003-11-07 20:35 qfiles
>> drwxrwsr-x    2 root     mailman      4096 2003-03-17 11:46 spam
>>
>> steve at tankjr:~> ls -l /var/lib/mailman/data/
>> total 32
>> -rw-rw-r--    1 mailman  mail         2335 2003-11-09 08:52 aliases
>> -rw-rw-r--    1 root     mail        12288 2003-11-10 21:03 aliases.db
> 
> 
>>
>> And at this point, the lists are definately sending messages
>> as required.  And I can modify stuff both via command line script 
>> (after I
>> newgrp mail) and from the Admin webpages.  It is just the subscribe and
>> unsubscribe pages that don't work.
>>
>> Regards,
>> Steve
>>
> 
> I think you're going to need the dirs set as mailman owner to get the 
> webserver to work right.
> 
Hi Greg.

Mailing just sent me notices that my test addresses have requested
subscription.  This problem is FIXED! Thanks.

It was ownership, by changing the owner of /var/lib/mailman and
/var/lib/mailman/lists to mailman, everything is now working.

Thanks.  I owe you a lunch.

Regards,
Steve


-- 
Java/J2EE Developer/Integrator
Co-Chair, Dallas/FortWorth J2EE Sig
214-724-7741






More information about the Discuss mailing list