[Kroupware] Fatal: main.cf contains wrong mynetworks entry

Stephan Buys s.buys at codefusion.co.za
Thu Jul 17 12:07:24 CEST 2003


Here is a patch that updates the Server page in the Web admin interface
to have this functionality.

(Beware, not extensively tested, please make a backup of your original
file)

To apply:

go to /kolab/var/kolab/www/admin/server/
type in: patch < /path/to/1_0_server_index.php.diff

Regards,
Stephan


On Wednesday 16 July 2003 14:58, Andreas Gungl wrote:
> Thank you very much, it worked and saved my day. ;-)
> (And it might be a good candidate for a FAQ, too.)
>
> Andreas
>
> Am Mittwoch, 16. Juli 2003 16:33 schrieb s.buys at icon.co.za:
> > You are 100% correct. What you need to do (and what I have done)
> > is to edit the value directly in LDAP.  Sorry, I am focussing on a lot
> > of different things.
> >
> > The attribute is called postfix-mynetworks under k=kolab
> >
> > Regards,
> > Stephan
> >
> > > Hi Stephan,
> > >
> > > as I understand main.cf.template, the placeholders in the following
> > > lines are meant to be replaced by /kolab/etc/kolab/kolab:
> > >
> > > #   relaying
> > > mynetworks = @@@postfix-mynetworks@@@
> > > mydestination = @@@postfix-mydestination@@@
> > > relay_domains =
> > >
> > > Of course, I could put my network data there to prevent the wrong
> > > entries generated by the script, but this is a workaround instead of a
> > > solution.
> > >
> > > I went through /kolab/etc/kolab/kolab, but I couldn't find the part
> > > being responsible for the change of the network addresses. Can someone
> > > point me o the right place to find out, what's going on here?
> > >
> > > As additional info: The machine is based on SuSE 7.0, and I upgraded
> > > from Kolab Beta.
> > >
> > > Regards,
> > > Andreas
> > >
> > > Am Mittwoch, 16. Juli 2003 15:59 schrieb s.buys at icon.co.za:
> > > > Hi Andreas,
> > > >
> > > > You should edit /kolab/etc/kolab/main.cf.template and then run
> > > > /kolab/etc/kolab/kolab -v -o to refresh your main.cf file.
> > > >
> > > > The kolab backend process always rewrites the configuration files
> > > > with the template files.
> > > >
> > > > Regards,
> > > > Stephan
> > > >
> > > > > Hi,
> > > > >
> > > > > running Kolab 1.0 with kolab-1.0.3 rpm unfortunatly sets an entry
> > > > > in postfix's main.cf wrong:
> > > > >
> > > > > mynetworks = 127.0.0.1/8, 172.29.1.40/24
> > > > >
> > > > > The entry should read: mynetworks = 127.0.0.0/8, 172.29.1.0/24
> > > > > but somehow a script refreshes that file from time to time with the
> > > > > wrong value. So the delivery of mail is broken by Kolab itself. :-(
> > > > >
> > > > > Any help is appreciated.
> > > > >
> > > > > Regards,
> > > > > Andreas
>
> _______________________________________________
> Kroupware mailing list
> Kroupware at mail.kde.org
> http://mail.kde.org/mailman/listinfo/kroupware
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1_0_server_index.php.diff
Type: text/x-diff
Size: 2406 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kroupware/attachments/20030717/f91e6b95/1_0_server_index.php.bin


More information about the Kroupware mailing list