setup-kolab needs more tweeks
Thomas Spuhler
thomas.spuhler at btspuhler.com
Wed Mar 11 19:24:40 CET 2015
I now got the kolab stack on Mageia5 pretty much working out of the box. However, I need to change a
permission in the setup-script and need help.
We are running postfix chrooted
I need /var/spool/postfix/extern/cyrus, user cyrus group postfix and mode 750
I am using this patch wehn building pykolab, but how do I change the permission?
diff -ur pykolab-0.7.6/pykolab/setup/setup_mta.py pykolab-0.7.6-mga/pykolab/setup/setup_mta.py
--- pykolab-0.7.6/pykolab/setup/setup_mta.py 2015-01-14 04:38:40.000000000 -0700
+++ pykolab-0.7.6-mga/pykolab/setup/setup_mta.py 2015-01-31 10:53:01.357098136 -0700
@@ -165,7 +165,7 @@
query_filter = (&(|(mailAlternateAddress=%%s)(alias=%%s)(mail=%%s))(objectclass=kolabinetorgperson))
result_attribute = mail
-result_format = lmtp:unix:/var/lib/imap/socket/lmtp
+result_format = lmtp:unix:extern/cyrus/lmtp
""" % {
"base_dn": conf.get('ldap', 'base_dn'),
"server_host": server_host,
@@ -244,7 +244,7 @@
fp.close()
fp = open('/etc/postfix/transport', 'a')
- fp.write("\n# Shared Folder Delivery for %(domain)s:
\nshared@%(domain)s\t\tlmtp:unix:/var/lib/imap/socket/lmtp\n" % {'domain': conf.get('kolab',
'primary_domain')})
+ fp.write("\n# Shared Folder Delivery for %(domain)s:
\nshared@%(domain)s\t\tlmtp:unix:extern/cyrus/lmtp\n" % {'domain': conf.get('kolab',
'primary_domain')})
fp.close()
subprocess.call(["postmap", "/etc/postfix/transport"])
--
Best regards
Thomas Spuhler
All of my e-mails have a valid digital signature
ID 60114E63
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/users/attachments/20150311/be790516/attachment-0001.sig>
More information about the users
mailing list