kolab 3 with multiple domains

Chris Fleming me at chrisfleming.org
Sat Dec 22 12:52:33 CET 2012


I've run into a small problem with forwarding filters. If I set a filter to forward all messages to an account that is't hosted locally then this works fine. But if I get the forward to forward from one account to another then the message never get's delivered. 

In this example I have sent an e-mail from me at chrisfleming.org to chris.fleming at coherentbits.co.uk and have set this account to forward the message to chris at coherentbits.org

The bit in the logs that I guess is causing problems is:

Dec 22 11:18:27 pulp lmtpunix[13449]: dupelim: eliminated duplicate message to .chris^fleming at coherentbits.co.uk.sieve. id <20121222111816.GB23828 at gmail.com>-chris at coherentbits.com date Sat, 22 Dec 2012 11:18:16 +0000 (redirect)

I've included full logs below, has anyone else seen this? 

Is the duplicate elimination causing this or is the problem somewhere else?

Cheers
Chris 

Dec 22 11:18:15 pulp postfix/smtpd[13429]: connect from chrisfl.vm.bytemark.co.uk[80.68.94.187]
Dec 22 11:18:18 pulp postfix/smtpd[13429]: 5E409B6846: client=chrisfl.vm.bytemark.co.uk[80.68.94.187]
Dec 22 11:18:18 pulp postfix/cleanup[13440]: 5E409B6846: message-id=<20121222111816.GB23828 at gmail.com>
Dec 22 11:18:18 pulp postfix/qmgr[6970]: 5E409B6846: from=<me at chrisfleming.org>, size=1041, nrcpt=1 (queue active)
Dec 22 11:18:18 pulp postfix/smtpd[13429]: disconnect from chrisfl.vm.bytemark.co.uk[80.68.94.187]
Dec 22 11:18:20 pulp postfix/smtpd[13444]: connect from localhost.localdomain[127.0.0.1]
Dec 22 11:18:20 pulp postfix/smtpd[13444]: 55322B6847: client=chrisfl.vm.bytemark.co.uk[80.68.94.187]
Dec 22 11:18:20 pulp postfix/cleanup[13440]: 55322B6847: message-id=<20121222111816.GB23828 at gmail.com>
Dec 22 11:18:20 pulp postfix/qmgr[6970]: 55322B6847: from=<me at chrisfleming.org>, size=1576, nrcpt=1 (queue active)
Dec 22 11:18:20 pulp amavis[12620]: (12620-03) Passed CLEAN, [80.68.94.187] [94.174.201.99] <me at chrisfleming.org> -> <chris.fleming at coherentbits.co.uk>, Message-ID: <20121222111816.GB23828 at gmail.com>, mail_id: XeidRDbL4uTE, Hits: -0.001, size: 1041, queued_as: 55322B6847, 1969 ms
Dec 22 11:18:20 pulp postfix/smtp[13441]: 5E409B6846: to=<chris.fleming at coherentbits.co.uk>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.7, delays=2.7/0.01/0/2, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=12620-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 55322B6847)
Dec 22 11:18:20 pulp postfix/qmgr[6970]: 5E409B6846: removed
Dec 22 11:18:20 pulp postfix/smtp[13445]: 55322B6847: to=<chris.fleming at coherentbits.co.uk>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.09, delays=0.03/0.02/0.02/0.02, dsn=2.0.0, status=sent (250 Ok)
Dec 22 11:18:20 pulp postfix/qmgr[6970]: 55322B6847: removed
Dec 22 11:18:21 pulp imaps[13389]: accepted connection
Dec 22 11:18:21 pulp master[13446]: about to exec /usr/lib/cyrus-imapd/imapd
Dec 22 11:18:21 pulp imaps[13446]: executed
Dec 22 11:18:21 pulp imaps[13389]: imapd:Loading hard-coded DH parameters
Dec 22 11:18:21 pulp imaps[13389]: SSL_accept() incomplete -> wait
Dec 22 11:18:21 pulp imaps[13389]: SSL_accept() succeeded -> done
Dec 22 11:18:21 pulp imaps[13389]: starttls: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits new) no authentication
Dec 22 11:18:21 pulp imaps[13389]: login: localhost.localdomain [127.0.0.1] cyrus-admin plaintext+TLS User logged in SESSIONID=<pulp.default.coherentbits.uk0.bigv.io-13389-1356175101-1>
Dec 22 11:18:21 pulp postfix/smtpd[13447]: connect from localhost.localdomain[127.0.0.1]
Dec 22 11:18:21 pulp postfix/smtpd[13447]: C377CB6848: client=localhost.localdomain[127.0.0.1]

Dec 22 11:18:21 pulp postfix/pickup[13268]: D6521B6847: uid=76 from=<me at chrisfleming.org>
Dec 22 11:18:21 pulp lmtpunix[13388]: sieve redirected: <20121222111816.GB23828 at gmail.com> to: chris at coherentbits.com
Dec 22 11:18:21 pulp lmtpunix[13388]: USAGE chris^fleming user: 0.006998 sys: 0.004999
Dec 22 11:18:21 pulp postfix/lmtp[13448]: C377CB6848: to=<chris.fleming at coherentbits.co.uk>, relay=pulp.default.coherentbits.uk0.bigv.io[/var/lib/imap/socket/lmtp], delay=0.12, delays=0.04/0.02/0/0.06, dsn=2.1.5, status=sent (250 2.1.5 Ok SESSIONID=<pulp.default.coherentbits.uk0.bigv.io-13388-1356175101-1>)
Dec 22 11:18:21 pulp postfix/qmgr[6970]: C377CB6848: removed
Dec 22 11:18:21 pulp postfix/cleanup[13440]: D6521B6847: message-id=<20121222111816.GB23828 at gmail.com>
Dec 22 11:18:21 pulp postfix/qmgr[6970]: D6521B6847: from=<me at chrisfleming.org>, size=2183, nrcpt=1 (queue active)
Dec 22 11:18:26 pulp postfix/smtpd[13444]: connect from localhost.localdomain[127.0.0.1]
Dec 22 11:18:26 pulp postfix/smtpd[13444]: 271A9B6846: client=localhost.localdomain[127.0.0.1]
Dec 22 11:18:26 pulp postfix/cleanup[13440]: 271A9B6846: message-id=<20121222111816.GB23828 at gmail.com>
Dec 22 11:18:26 pulp postfix/qmgr[6970]: 271A9B6846: from=<me at chrisfleming.org>, size=2698, nrcpt=1 (queue active)
Dec 22 11:18:26 pulp postfix/smtpd[13444]: disconnect from localhost.localdomain[127.0.0.1]
Dec 22 11:18:26 pulp amavis[12619]: (12619-04) Passed CLEAN, [94.174.201.99] <me at chrisfleming.org> -> <chris at coherentbits.com>, Message-ID: <20121222111816.GB23828 at gmail.com>, mail_id: bSdLehJOCL6e, Hits: 0.002, size: 2183, queued_as: 271A9B6846, 4281 ms
Dec 22 11:18:26 pulp postfix/smtp[13441]: D6521B6847: to=<chris at coherentbits.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.3, delays=0.04/0/0.01/4.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=12619-04, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 271A9B6846)
Dec 22 11:18:26 pulp postfix/qmgr[6970]: D6521B6847: removed
Dec 22 11:18:26 pulp postfix/smtp[13445]: 271A9B6846: to=<chris at coherentbits.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.15, delays=0.12/0/0/0.02, dsn=2.0.0, status=sent (250 Ok)
Dec 22 11:18:26 pulp postfix/qmgr[6970]: 271A9B6846: removed
Dec 22 11:18:26 pulp imaps[13446]: accepted connection
Dec 22 11:18:26 pulp imaps[13446]: imapd:Loading hard-coded DH parameters
Dec 22 11:18:26 pulp imaps[13446]: SSL_accept() incomplete -> wait
Dec 22 11:18:26 pulp imaps[13446]: SSL_accept() succeeded -> done
Dec 22 11:18:26 pulp imaps[13446]: starttls: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits new) no authentication
Dec 22 11:18:26 pulp imaps[13446]: login: localhost.localdomain [127.0.0.1] cyrus-admin plaintext+TLS User logged in SESSIONID=<pulp.default.coherentbits.uk0.bigv.io-13446-1356175106-1>
Dec 22 11:18:26 pulp postfix/smtpd[13447]: connect from localhost.localdomain[127.0.0.1]
Dec 22 11:18:26 pulp postfix/smtpd[13447]: E9D13B6847: client=localhost.localdomain[127.0.0.1]
Dec 22 11:18:26 pulp postfix/cleanup[13440]: E9D13B6847: message-id=<20121222111816.GB23828 at gmail.com>
Dec 22 11:18:26 pulp postfix/qmgr[6970]: E9D13B6847: from=<me at chrisfleming.org>, size=2939, nrcpt=1 (queue active)
Dec 22 11:18:26 pulp postfix/smtpd[13447]: disconnect from localhost.localdomain[127.0.0.1]

Dec 22 11:18:26 pulp lmtpunix[13449]: accepted connection
Dec 22 11:18:26 pulp lmtpunix[13449]: lmtp connection preauth'd as postman
Dec 22 11:18:27 pulp lmtpunix[13449]: dupelim: eliminated duplicate message to .chris^fleming at coherentbits.co.uk.sieve. id <20121222111816.GB23828 at gmail.com>-chris at coherentbits.com date Sat, 22 Dec 2012 11:18:16 +0000 (redirect)
Dec 22 11:18:27 pulp lmtpunix[13449]: USAGE chris^fleming user: 0.003999 sys: 0.002999
Dec 22 11:18:27 pulp postfix/lmtp[13448]: E9D13B6847: to=<chris.fleming at coherentbits.co.uk>, relay=pulp.default.coherentbits.uk0.bigv.io[/var/lib/imap/socket/lmtp], delay=0.07, delays=0.02/0/0/0.04, dsn=2.1.5, status=sent (250 2.1.5 Ok SESSIONID=<pulp.default.coherentbits.uk0.bigv.io-13449-1356175106-1>)
Dec 22 11:18:27 pulp postfix/qmgr[6970]: E9D13B6847: removed


On Tue, Dec 18, 2012 at 11:41:42PM +0000, Chris Fleming wrote:
> On Tue, Dec 18, 2012 at 02:23:21PM +0100, Torsten Grote wrote:
> > Hi Chris,
> > 
> > On Tuesday 18 December 2012 12:44:51 Chris Fleming wrote:
> > > Now when I login, I can see the and have choosen the new domain from the top
> > > right hand corner, but when I go to try and add a user, the e-mail
> > > addresses generated are for the right domain, but I can't change the
> > > Organisational Unit from my primary domain.
> > 
> > Does this help?
> > 
> >     https://issues.kolab.org/show_bug.cgi?id=1420
> 
> Perfect thanks, I added the base_dn entry and that worked a treat.
> 
> I've ended up doing a few things that aren't documented anywhere, for the postfix .cf files I ended creating 2 sets of files, one with:
> search_base = dc=%2,dc=%1
> 
> to cover .com type addresses and 
> search_base = dc=%3,dc=%2,dc=%1
> 
> to cover .co.uk style addresses.
> 
> I still couldn't get the roundcube login working, but in the kolab_auth.inc.php I ended up with:
> 
>     list($name,$_) = explode('@', $_POST['_user']);
>     $base_dn = 'ou=People,dc=' . implode(',dc=', explode('.', $_)  );
> 
> I then set the base_dn entry in the kolab_auth_addressbook array to use this calculated value. Anyone know if there is an easier way of doing this?
> 
> 
> 
> Cheers
> Chris 
> 
> 
> 
> 
> -- 
> e: me at chrisfleming.org
> 
> 
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://www.intevation.de/mailman/listinfo/kolab-users

-- 
e: me at chrisfleming.org

For Movember only sponsor my mo at: http://mobro.co/chrisafleming




More information about the users mailing list