[Kolab-devel] setup-kolab (setup_mta.py) issue

Johannes Graumann johannes_graumann at web.de
Tue Oct 2 06:06:59 CEST 2012


Johannes Graumann wrote:

> Johannes Graumann wrote:
> 
>> Hello,
>> 
>> Below is my most current issue with the setup procedure on debian wheezy
>> ... '/files/etc/postfix/main.cf/' is currently not present n the system,
>> but files stored in it are utilized in 'setup_mta.py' ... where is this
>> directory supposed to be coming from?
>> 
>> Thanks - as always.
>> 
>> Sincerely, Joh
>> 
>> ]: Setting logfile to '/var/log/kolab/pykolab.log' (from CLI, not
>> checked) Traceback (most recent call last):
>>   File "/usr/sbin/setup-kolab", line 42, in <module>
>>     setup.run()
>>   File "/usr/lib/python2.7/dist-packages/pykolab/setup/__init__.py", line
>> 42, in run
>>     components.execute('_'.join(to_execute))
>>   File "/usr/lib/python2.7/dist-packages/pykolab/setup/components.py",
>>   line
>> 170, in execute
>>     execute(component)
>>   File "/usr/lib/python2.7/dist-packages/pykolab/setup/components.py",
>>   line
>> 202, in execute
>>     components[component_name]['function'](conf.cli_args, kw)
>>   File "/usr/lib/python2.7/dist-packages/pykolab/setup/setup_mta.py",
>>   line
>> 221, in execute
>>     insert_path = insert_paths[(len(insert_paths)-1)]
> 
> May this be related to me forgoing any postfix configuration during
> installation?
> 
> Sincerely, Joh

As configmed by jmeeuwen on IRC: postfix must be configured (and not left 
unconfigured during install). 'dpkg-reconfigure postfix' indeed takes care 
of this porblem, but now the question arises what the appropriate 
configuration for kolab is.

I am now using:
> Mailname: <MYDOMAIN>.otg
> No root and postmaster mail recipient
> Final destination for: <MYDOMAIN>.org, kolab.<MYDOMAIN>.org, 
localhost.<MYDOMAIN>.org, localhost
> Force syncronous mail update: No
> Network relaying for: 127.0.0.0/8 10.10.10.0/24
> No mailbox quota (0) 
> Local address extension character +
> Internet protocols to use: all

Is that sensible? I need to figure out whether there's a template that may 
be handed to debconf to spare users having to enter this before setup-kolab 
based system configuration ...

sincerely, Joh




More information about the devel mailing list