[Fusionforge-general] Mailing list configuration

Don Porter porterde at cs.utexas.edu
Fri Mar 19 17:12:12 CET 2010


Thanks Roland.  It does look like the gforge_mta password works.

It occurs to me that another solution might be to create user account 
Debian-exim, passwd bogus.

The change that works for me is below:

--- install-exim4.sh.orig    2010-03-19 10:53:20.000000000 -0500
+++ install-exim4.sh    2010-03-19 10:53:53.000000000 -0500
@@ -74,7 +74,7 @@
   $seen_gf_domains = 1 if ($l =~ /\s*GFORGE_DOMAINS=/);
   $seen_pg_servers = 1 if ($l =~ m,hide pgsql_servers = 
.*$sys_dbhost.*/gforge_mta,);
 };
-print "hide pgsql_servers = 
(/var/run/postgresql/.s.PGSQL.5432)/mail/Debian-exim/bogus:$sys_dbhost/$sys_dbname/gforge_mta/\n" 
unless $seen_pg_servers;
+print "hide pgsql_servers = 
(/var/run/postgresql/.s.PGSQL.5432)$sys_dbhost/$sys_dbname/gforge_mta/gforge_mta\n" 
unless $seen_pg_servers;
 print "GFORGE_DOMAINS=$sys_users_host:$sys_lists_host\n" unless 
$seen_gf_domains;
 chomp $l;
 $l .= ":GFORGE_DOMAINS" unless ($l =~ /^[^#]*GFORGE_DOMAINS/);


Testing is a bit finicky, as dpkg does some weird things with the config 
when you try to force reinstall, plus the script itself has a certain 
measure of deference to existing configs.

But, if you'd like other help validating the fix, do let me know.

Thanks,
Don

Roland Mas wrote:
> Don Porter, 2010-03-19 00:22:37 -0500 :
>
> [...]
>
>   
>> Problem #2: This directive doesn't specify the gforge_mta database
>> password. 
>>
>> In fact, there isn't one stored anywhere in /etc/gforge.  Should there
>> be?
>>     
>
>   No, I think the gforge_mta user is created with a hardcoded
> "gforge_mta" password.  And that password should end up in the Exim
> config file.
>
>   
>> I temporarily got things working by just changing pg_hba.conf to trust
>> gforge_mta, but I suppose the actual fix is to reset the gforge_mta
>> password and put it in the config.
>>
>> Either way, it looks like the default setup script isn't going to
>> work.
>>     
>
>   Right.
>
>   
>> I'd be happy to fix/test on my system and send back a patch, but I'll
>> need a bit of guidance on what the right solution would look like.
>>     
>
>   Probably just a one-line patch in deb-specific/install-exim4.sh.
>
> Roland.
>   





More information about the Fusionforge-general mailing list