adomaitis (Liutauras Adomaitis)
User

Projects

User Details

User Since
Apr 12 2015, 12:47 PM (191 w, 1 d)

Recent Activity

Oct 24 2018

adomaitis assigned T4371: Kolab Enterprise skin bug to machniak.
Oct 24 2018, 5:09 PM · Roundcube Chameleon Skin, Roundcube Enterprise Skin
adomaitis created T4371: Kolab Enterprise skin bug.
Oct 24 2018, 5:08 PM · Roundcube Chameleon Skin, Roundcube Enterprise Skin

Jun 26 2018

adomaitis committed rP125f15d38762: Fix 'undelete-mailbox' issue for undeleting all user's mailboxes (authored by adomaitis).
Fix 'undelete-mailbox' issue for undeleting all user's mailboxes
Jun 26 2018, 3:53 PM
adomaitis closed D605: Fix 'undelete-mailbox' issue for undeleting all user's mailboxes.
Jun 26 2018, 3:53 PM
adomaitis created D605: Fix 'undelete-mailbox' issue for undeleting all user's mailboxes.
Jun 26 2018, 8:50 AM

Jun 15 2018

adomaitis committed rP5ec8788dd436: nother attempt to add more logging and fix wallace messages not being delivered… (authored by adomaitis).
nother attempt to add more logging and fix wallace messages not being delivered…
Jun 15 2018, 1:06 PM
adomaitis closed D599: nother attempt to add more logging and fix wallace messages not being delivered and staying in spool directory.
Jun 15 2018, 1:06 PM

Jun 4 2018

adomaitis created D599: nother attempt to add more logging and fix wallace messages not being delivered and staying in spool directory.
Jun 4 2018, 3:46 PM
adomaitis committed rP46f61ab9984e: Fix D577 patch bug - modules._sendmail result assign to variable, which is used… (authored by adomaitis).
Fix D577 patch bug - modules._sendmail result assign to variable, which is used…
Jun 4 2018, 1:04 PM
adomaitis closed D581: Fix D577 patch bug - modules._sendmail result assign to variable, which is used to log the result of email sending..
Jun 4 2018, 1:04 PM
adomaitis updated the diff for D581: Fix D577 patch bug - modules._sendmail result assign to variable, which is used to log the result of email sending..

Getting rid of all smtplib calls and make all email sending via modules._sendmail

Jun 4 2018, 10:33 AM

May 25 2018

adomaitis updated the diff for D581: Fix D577 patch bug - modules._sendmail result assign to variable, which is used to log the result of email sending..

Fix typo

May 25 2018, 8:23 AM
adomaitis created D581: Fix D577 patch bug - modules._sendmail result assign to variable, which is used to log the result of email sending..
May 25 2018, 8:07 AM

May 17 2018

adomaitis committed rP10f1c173941d: With this patch I'm trying to introduce a file-type object in logger, which… (authored by adomaitis).
With this patch I'm trying to introduce a file-type object in logger, which…
May 17 2018, 8:56 AM
adomaitis closed D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....
May 17 2018, 8:56 AM

May 9 2018

adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

yet another attempt to create a better wrapper for smtplib.sendmail(). Now instantiation of smtplib object and connect are separated.

May 9 2018, 12:51 PM
adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

Log debug message after _sendmail.

May 9 2018, 11:52 AM
adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

Fix conner case exception handling.

May 9 2018, 10:50 AM
adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

Eliminating inconsistensies of sending mail from wallace. Now all the logic is in modules._sendmail() wrapper. Invitationpolicy module is using that wrapper and makes it responsible for re-submistion logic.

May 9 2018, 10:50 AM
adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

Make all pykolab log messages appear on level <8. This will isolate pykolab debug messages from 3rd partty libraries debug messages. -d debug -l 8 will print pykolab debug messages only, while -l debug -d 9 will print 3rd party libraries messages in addition to level 8 pykolab messages.

May 9 2018, 10:50 AM
adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

Make invitationpolicy module use smtplib sendmail wrapper _sendmail from modules, which now supports debug level 9 logging.

May 9 2018, 10:50 AM

May 2 2018

adomaitis added a task to D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs...: T3751: Emails stuck in wallace queue until wallace is restarted.
May 2 2018, 11:08 AM
adomaitis added a revision to T3751: Emails stuck in wallace queue until wallace is restarted: D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....
May 2 2018, 11:08 AM · Bug Reports
adomaitis added a revision to T2498: Wallace logs errors when run in debug 9 mode: D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....
May 2 2018, 11:07 AM · PyKolab, Bug Reports
adomaitis added a revision to T2163: wallace fails to connect to ldap then running in debug 9 mode: D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....
May 2 2018, 11:07 AM · PyKolab, Bug Reports
adomaitis added tasks to D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs...: T2498: Wallace logs errors when run in debug 9 mode, T2163: wallace fails to connect to ldap then running in debug 9 mode.
May 2 2018, 11:07 AM

Mar 27 2018

adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

It turns out smtplib debug logging redirected to logger produces excessive new lines. This is attempt to mitigate the problem, make logs more pretty.

Mar 27 2018, 3:00 PM

Mar 21 2018

adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

Fixing previous mistake. Need that for messages 9 and lower to be logged.

Mar 21 2018, 4:02 PM

Mar 18 2018

adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

Need to catch imaplib debug output as well

Mar 18 2018, 10:11 PM
adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

Specifying a bit more detailed log message.

Mar 18 2018, 5:03 PM

Mar 16 2018

adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

Fixing another wrong intendation

Mar 16 2018, 12:08 PM
adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

I think we need process id (PID) logged for any level log record, that makes it easy to associate and track wallace and other pykolab modules work flow.

Mar 16 2018, 11:30 AM
adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

Additionally, making wallace log.exception to log tracebacks

Mar 16 2018, 10:38 AM

Mar 15 2018

adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

Fixing intendation

Mar 15 2018, 4:27 PM
adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

In addition LDAP trace_file needs to be specified. It is a file-like object define in logger.py Now we get ldap debug logs in pykolab.log file

Mar 15 2018, 4:21 PM
adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

This amendment tries to avoid cyruslib printing to non-available file descriptor, which causes traceback of wallace.

Mar 15 2018, 3:23 PM
adomaitis updated the diff for D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....

This is using the new file-like object from pykolab.logger. With this patch smtplib debug output gets redirected to logger rather than to stderr, which is not available in fork mode

Mar 15 2018, 3:20 PM
adomaitis created D577: With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs....
Mar 15 2018, 3:18 PM

Mar 13 2018

adomaitis added a comment to T3751: Emails stuck in wallace queue until wallace is restarted.

Postfix verbose logging shows this:

Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: connection established
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: master_notify: status 0
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: name_mask: resource
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: name_mask: software
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: connect from localhost[127.0.0.1]
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: match_list_match: localhost: no match
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: match_list_match: 127.0.0.1: no match
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: match_hostname: localhost ~? 127.0.0.0/8
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: smtp_stream_setup: maxtime=300 enable_deadline=0
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: match_hostname: localhost ~? 127.0.0.0/8
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: > localhost[127.0.0.1]: 220 mail.server.com ESMTP Postfix
Mar  8 20:03:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: watchdog_pat: 0x559232efc1c0
Mar  8 20:08:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: smtp_get: timeout
Mar  8 20:08:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: > localhost[127.0.0.1]: 421 4.4.2 mail.server.com Error: timeout exceeded
Mar  8 20:08:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: match_hostname: localhost ~? 127.0.0.0/8
Mar  8 20:08:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8
Mar  8 20:08:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: timeout after CONNECT from localhost[127.0.0.1]
Mar  8 20:08:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: disconnect from localhost[127.0.0.1]
Mar  8 20:08:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: master_notify: status 1
Mar  8 20:08:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: connection closed
Mar  8 20:08:17 prod-mail-proxy-1.pao1.server.com postfix/smtpd[22547]: watchdog_stop: 0x559232efc1c0
Mar 13 2018, 11:14 AM · Bug Reports

Mar 12 2018

adomaitis committed rPae2ba60049a4: In some cases kolabd fails to cleanly update IMAP mailbox after LDAP changes. (authored by adomaitis).
In some cases kolabd fails to cleanly update IMAP mailbox after LDAP changes.
Mar 12 2018, 3:20 PM
adomaitis closed D571: In some cases kolabd fails to cleanly update IMAP mailbox after LDAP changes. That is usual when result_attribute value is in upper case. Mailbox modification seems to follow slightly different code path, by shortcutting to IMAP pykolab function... by committing rPae2ba60049a4: In some cases kolabd fails to cleanly update IMAP mailbox after LDAP changes..
Mar 12 2018, 3:20 PM
adomaitis updated the diff for D571: In some cases kolabd fails to cleanly update IMAP mailbox after LDAP changes. That is usual when result_attribute value is in upper case. Mailbox modification seems to follow slightly different code path, by shortcutting to IMAP pykolab function....
  • To avoid double user/ prefix, check if user_mailbox_exists only by result_attribute
Mar 12 2018, 2:19 PM
adomaitis created D571: In some cases kolabd fails to cleanly update IMAP mailbox after LDAP changes. That is usual when result_attribute value is in upper case. Mailbox modification seems to follow slightly different code path, by shortcutting to IMAP pykolab function....
Mar 12 2018, 1:56 PM
adomaitis committed rP3bfbef3a3ed8: Fix the problem with undelete-mailbox command when listing deleted mailboxes… (authored by adomaitis).
Fix the problem with undelete-mailbox command when listing deleted mailboxes…
Mar 12 2018, 1:21 PM
adomaitis closed D548: Fix the problem with undelete-mailbox command when listing deleted mailboxes command actually doesn't replace placeholders with values, which prevents correctly list deleted mailboxes and then undelete them. by committing rP3bfbef3a3ed8: Fix the problem with undelete-mailbox command when listing deleted mailboxes….
Mar 12 2018, 1:21 PM

Mar 1 2018

adomaitis created T3751: Emails stuck in wallace queue until wallace is restarted.
Mar 1 2018, 1:22 PM · Bug Reports

Feb 21 2018

adomaitis created T3709: wallace dies after trying to SELECT mailbox with lr access rights.
Feb 21 2018, 1:11 PM · Bug Reports

Oct 4 2017

adomaitis assigned T2654: autodiscover does not work with Outlook to machniak.
Oct 4 2017, 11:21 AM · Autoconf, Bug Reports
adomaitis created T2654: autodiscover does not work with Outlook.
Oct 4 2017, 11:21 AM · Autoconf, Bug Reports

Sep 27 2017

adomaitis created D551: Fixing the undelete-mailbox in murder topology to a different root folder.
Sep 27 2017, 9:51 AM
adomaitis added a revision to T2307: pykolab can't handle undelete mailbox in murder topology to a different root folder: D551: Fixing the undelete-mailbox in murder topology to a different root folder.
Sep 27 2017, 9:51 AM · PyKolab, Bug Reports
adomaitis created D548: Fix the problem with undelete-mailbox command when listing deleted mailboxes command actually doesn't replace placeholders with values, which prevents correctly list deleted mailboxes and then undelete them..
Sep 27 2017, 9:41 AM
adomaitis added a revision to T2648: kolab undelete-mailbox doesn't find the mailbox to undelete: D548: Fix the problem with undelete-mailbox command when listing deleted mailboxes command actually doesn't replace placeholders with values, which prevents correctly list deleted mailboxes and then undelete them..
Sep 27 2017, 9:41 AM · Bug Reports
adomaitis created T2648: kolab undelete-mailbox doesn't find the mailbox to undelete.
Sep 27 2017, 9:20 AM · Bug Reports

Aug 28 2017

adomaitis added a comment to T2507: Make canceled events more distiguishable in calendar view.

That is fine with me. I don't expect anything more fancy in this case.

Aug 28 2017, 3:53 PM · Roundcube Kolab Plugins , Architecture & Design

Jul 21 2017

adomaitis created D491: Little change to improve invitation policy logging - log if iTip requires re-scheduling and print event uid.
Jul 21 2017, 5:12 PM

Jul 20 2017

adomaitis added a comment to T2582: Possibly a bug with wallace finding user personal folders, that probably makes emails stuck in wallace queue.

I have changed the acls for anyone to lrs and that did the trick - don't see errors anymore. Wallace messages were dispatched.

Jul 20 2017, 10:13 AM · PyKolab, Bug Reports
adomaitis added a comment to T2582: Possibly a bug with wallace finding user personal folders, that probably makes emails stuck in wallace queue.

No, user smith@domain.tld doesn't have any delegates in LDAP.

Jul 20 2017, 8:38 AM · PyKolab, Bug Reports
adomaitis added a project to T2582: Possibly a bug with wallace finding user personal folders, that probably makes emails stuck in wallace queue: PyKolab.
Jul 20 2017, 8:21 AM · PyKolab, Bug Reports
adomaitis created T2582: Possibly a bug with wallace finding user personal folders, that probably makes emails stuck in wallace queue.
Jul 20 2017, 8:21 AM · PyKolab, Bug Reports

Jul 18 2017

adomaitis added a comment to T2561: iTip requests sent when event attendee moves his copy of the event .

I see some odd behavior after applying this patch

Uncaught TypeError: me.has_attendees is not a function
    at update_event_confirm (https://mail.fsi.io/webmail/assets/plugins/calendar/calendar_ui.js:2512:29)
    at HTMLDivElement.eventDrop (https://mail.fsi.io/webmail/assets/plugins/calendar/calendar_ui.js:3799:9)
    at Calendar.trigger (https://mail.fsi.io/webmail/assets/plugins/calendar/lib/js/fullcalendar.js:1:10028)
    at trigger (https://mail.fsi.io/webmail/assets/plugins/calendar/lib/js/fullcalendar.js:3:21529)
    at eventDrop (https://mail.fsi.io/webmail/assets/plugins/calendar/lib/js/fullcalendar.js:3:23804)
    at HTMLDivElement.stop (https://mail.fsi.io/webmail/assets/plugins/calendar/lib/js/fullcalendar.js:3:4398)
    at t.(anonymous function).(anonymous function)._trigger (https://mail.fsi.io/webmail/assets/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js:36:10036)
    at t.(anonymous function).(anonymous function)._trigger (https://mail.fsi.io/webmail/assets/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js:36:29884)
    at t.(anonymous function).(anonymous function)._trigger (https://mail.fsi.io/webmail/assets/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js:36:5029)
    at t.(anonymous function).(anonymous function)._mouseStop (https://mail.fsi.io/webmail/assets/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js:36:23145)

and

Uncaught TypeError: me.has_attendees is not a function
    at event_edit_dialog (calendar_ui.js:697)
    at AgendaWeekView.select (calendar_ui.js:3743)
    at Calendar.trigger (fullcalendar.js:1)
    at trigger (fullcalendar.js:3)
    at reportSelection (fullcalendar.js:4)
    at HTMLDocument.<anonymous> (fullcalendar.js:2)
    at HTMLDocument.d (jquery.min.js:35)
    at HTMLDocument.dispatch (jquery.min.js:35)
    at HTMLDocument.r.handle (jquery.min.js:35)

is displayed several times in browser console.
Also I when I drag the event in attendees calendar I don't see any "saving..." box displayed in the corner as usual. I can't drag already dragged event once again.

Jul 18 2017, 4:52 PM · Roundcube Kolab Plugins

Jul 17 2017

adomaitis added a project to T2549: kolab freebusy doesn't understand network/subnet definition in trustednetworks: Free/Busy.
Jul 17 2017, 12:21 PM · Free/Busy, Bug Reports
adomaitis created T2549: kolab freebusy doesn't understand network/subnet definition in trustednetworks.
Jul 17 2017, 12:20 PM · Free/Busy, Bug Reports

Jul 3 2017

adomaitis added a comment to T2531: Possibly a bug with rescheduling event via CalDav.

Could be. I've tried to create new meeting and looking at the Caldav I see that ATTEDEE is:

ATTENDEE;CN=ks@fsi.io;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:
 mailto:ks@fsi.io

So looks like SCHEDULE-AGENT is gone.

Jul 3 2017, 10:03 AM · Roundcube Kolab Plugins , iRony, Bug Reports

Jun 30 2017

adomaitis added a project to T2531: Possibly a bug with rescheduling event via CalDav: iRony.
Jun 30 2017, 8:29 PM · Roundcube Kolab Plugins , iRony, Bug Reports
adomaitis created T2531: Possibly a bug with rescheduling event via CalDav.
Jun 30 2017, 8:28 PM · Roundcube Kolab Plugins , iRony, Bug Reports

Jun 29 2017

adomaitis added a comment to T2504: Inconsistent behavior while accepting invitations in roundcube.

I was investigating a similar case - create event in Gmail and invite 2 attendees - one for user with Outlook and one for user in Roundcube. Both accept the invitation, but user who accepted it in Roundcube is not marked with a check box in Gmail.
it turns out, that Roundcube sends possibly wrong DTSTAMP in meeting acceptance iTip. Comparing responses I noticed that original invitation from Gmail has

METHOD:REQUEST
DTSTAMP:20170627T054332Z
CREATED:20170627T054331Z
LAST-MODIFIED:20170627T054331Z

Acceptance iTip coming from Outlook has:

METHOD:REPLY
CREATED:20170627T054452Z
DTSTAMP:20170627T054452Z
LAST-MODIFIED:20170627T054452Z

But Roundcube sends iTip with:

METHOD:REPLY
DTSTAMP:20170627T054331Z
CREATED:20170627T054331Z
LAST-MODIFIED:20170627T054331Z

It is one second behind from DTSTAMP value in invitation. If I send exactly the same response as Roundcube did, but modify DTSTAMP to be at least the same value as it was in invitation, then Gmail records the status of the attendee.
RFC5545 says that:

In the case of an iCalendar object that specifies a "METHOD"
property, this property differs from the "CREATED" and "LAST-
MODIFIED" properties.  These two properties are used to specify
when the particular calendar data in the calendar store was
created and last modified.  This is different than when the
iCalendar object representation of the calendar service
information was created or last modified.

I'm not sure I fully understand what they want to say here, but to me it looks like:

  • DTSTAMP in REPLY should be later than it was in REQUEST
  • DSTAMP should be different from CREATED and LAST-MODIFIED
Jun 29 2017, 2:02 PM · PyKolab, Roundcube Kolab Plugins , Roundcube, Bug Reports

Jun 27 2017

adomaitis added a comment to T2519: Possibly a bug when recurring events makes Outlook with ActiveSync switch to permanent disconnected mode.

no, I didn't

Jun 27 2017, 10:49 AM · Syncroton, Bug Reports

Jun 26 2017

adomaitis assigned T2519: Possibly a bug when recurring events makes Outlook with ActiveSync switch to permanent disconnected mode to machniak.
Jun 26 2017, 8:30 PM · Syncroton, Bug Reports
adomaitis created T2519: Possibly a bug when recurring events makes Outlook with ActiveSync switch to permanent disconnected mode.
Jun 26 2017, 8:29 PM · Syncroton, Bug Reports

Jun 21 2017

adomaitis added a comment to T2504: Inconsistent behavior while accepting invitations in roundcube.

We'd need to see iTip payload. I guess that in step 4, the event is in "re-sheduling" mode, i.e. the attendee status is re-set to NEEDS-ACTION. In such a case (and settings) wallace will not respond with ACCEPT. I have no idea what could be different in iTip replies sent in step 2 and 6.

Back to your questions:

  1. No idea. Check Itip payload.

Event which doesn't make GMail Calendar record attendee status as accepted

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Roundcube libcalendaring 1.2.5//Sabre//Sabre VObject 3.4.5//EN
CALSCALE:GREGORIAN
METHOD:REPLY
BEGIN:VEVENT
UID:i698fn56cjct6tvjt3sfa2m6j0@google.com
DTSTAMP:20170621T091446Z
CREATED:20170621T091446Z
LAST-MODIFIED:20170621T091446Z
DTSTART:20170622T040000Z
DTEND:20170622T050000Z
SUMMARY:KS Demo =C4=97
DESCRIPTION:View your event at https://www.google.com/calendar/event?action
SEQUENCE:0
TRANSP:OPAQUE
STATUS:CONFIRMED
ATTENDEE;CN=3Dkolab.systems@domain.tld;PARTSTAT=3DACCEPTED;ROLE=3DREQ-PARTICIPA=
NT;CUT
 YPE=3DINDIVIDUAL:mailto:kolab.systems@domain.tld
ORGANIZER;CN=3DLiutauras Adomaitis:mailto:organizer@gmail.com
END:VEVENT
END:VCALENDAR

Event which makes GMail record attendee status

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Roundcube libcalendaring 1.2.5//Sabre//Sabre VObject 3.4.5//EN
CALSCALE:GREGORIAN
METHOD:REPLY
BEGIN:VEVENT
UID:i698fn56cjct6tvjt3sfa2m6j0@google.com
DTSTAMP:20170621T091716Z
CREATED:20170621T091446Z
LAST-MODIFIED:20170621T091716Z
DTSTART:20170622T040000Z
DTEND:20170622T060000Z
SUMMARY:KS Demo =C4=97
DESCRIPTION:View your event at https://www.google.com/calendar/event?action
SEQUENCE:0
TRANSP:OPAQUE
STATUS:CONFIRMED
CLASS:PUBLIC
ATTENDEE;CN=3Dkolab.systems@domain.tld;PARTSTAT=3DACCEPTED;ROLE=3DREQ-PARTICIPA=
NT;CUT
 YPE=3DINDIVIDUAL:mailto:kolab.systems@domain.tld
ORGANIZER;CN=3DLiutauras Adomaitis:mailto:organizer@gmail.com
END:VEVENT
END:VCALENDAR
Jun 21 2017, 1:51 PM · PyKolab, Roundcube Kolab Plugins , Roundcube, Bug Reports
adomaitis created T2507: Make canceled events more distiguishable in calendar view.
Jun 21 2017, 12:03 PM · Roundcube Kolab Plugins , Architecture & Design
adomaitis added projects to T2504: Inconsistent behavior while accepting invitations in roundcube: Roundcube, Roundcube Kolab Plugins , PyKolab.
Jun 21 2017, 11:59 AM · PyKolab, Roundcube Kolab Plugins , Roundcube, Bug Reports
adomaitis created T2504: Inconsistent behavior while accepting invitations in roundcube.
Jun 21 2017, 11:58 AM · PyKolab, Roundcube Kolab Plugins , Roundcube, Bug Reports
adomaitis added a project to T2498: Wallace logs errors when run in debug 9 mode: PyKolab.
Jun 21 2017, 10:37 AM · PyKolab, Bug Reports
adomaitis created T2498: Wallace logs errors when run in debug 9 mode.
Jun 21 2017, 10:36 AM · PyKolab, Bug Reports

May 22 2017

adomaitis added a comment to T2388: Kolab webadmin connect to LDAPS server.

It turns out mozldap ldapsearch tool uses nssdb for certificate verification and you can't turn it off. That means, that for mozldap ldapsearch you need to create nssdb databases and put ca certificate into this DB to make it work, otherwise you will get SSL initialization failed: error -8015 (unknown) error.
These are the steps I did:

Run mozldap ldap search with SSL enabled:

# /usr/lib64/mozldap/ldapsearch -x -h ldaphost -p 636 -b 'ou=People,dc=domain,dc=tld' -s base -D 'cn=Directory Manager' -w - -J '1.3.6.1.4.1.42.2.27.9.5.2:true:dn:cn=Directory Manager' '(objectclass=*)' -Z
SSL initialization failed: error -8015 (unknown)

Notice -Z at the end of commnd

Create NSSDB:

# certutil -N -d /path/to/nssdb

I used empty password for the database. Verify that it is created:

# certutil -L -d /path/to/nssdb
May 22 2017, 10:40 AM · Bug Reports

May 19 2017

adomaitis added a comment to T2388: Kolab webadmin connect to LDAPS server.

That is what I thought, but:
-H display usage information
mozldap ldapsearch is a bit different from openldap ldap client tools.

May 19 2017, 4:01 PM · Bug Reports
adomaitis reopened T2388: Kolab webadmin connect to LDAPS server as "Open".

This could be more complicated than that. Unfortunately don't have enough time to investigate it deeper, but the above patch may influence how ldapsearch command is being issued by WAP. With the following patch I can login to WAP , but navigating inside WAP is inconsitent - sometimes shows user, sometimes not.

[19-May-2017 05:49:45 -0700](5t6r5rso35flk0urutm681uh35): [INFO] (api) Vendor name is 389 Project
[19-May-2017 05:49:45 -0700](5t6r5rso35flk0urutm681uh35): [DEBUG] (api) LDAP: Executing command: /usr/lib64/mozldap/ldapsearch -x -h ldaps://ldap.server:636 -p 636 -b 'ou=People,dc=domain,dc=tld' -s base -D 'cn=Directory Manager' -w * -J '1.3.6.1.4.1.42.2.27.9.5.2:true:dn:cn=Directory Manager' "(objectclass=*)" "*"
[19-May-2017 05:49:45 -0700](5t6r5rso35flk0urutm681uh35): [DEBUG] (api) LDAP: Command output:array (
)
[19-May-2017 05:49:45 -0700](5t6r5rso35flk0urutm681uh35): [DEBUG] (api) Return code: 91

This ldapsearch command doesn't work from command line either:

ldap_simple_bind: Can't connect to the LDAP server - Invalid argument

I may have some time later to look deeper into what is happening.

May 19 2017, 3:42 PM · Bug Reports

May 15 2017

adomaitis created T2388: Kolab webadmin connect to LDAPS server.
May 15 2017, 11:34 AM · Bug Reports

Mar 15 2017

adomaitis assigned T2307: pykolab can't handle undelete mailbox in murder topology to a different root folder to machniak.
Mar 15 2017, 11:15 AM · PyKolab, Bug Reports
adomaitis created T2307: pykolab can't handle undelete mailbox in murder topology to a different root folder.
Mar 15 2017, 11:15 AM · PyKolab, Bug Reports
adomaitis assigned T2301: wallace can't handle resource reservations with multiple recipients to machniak.
Mar 15 2017, 12:42 AM · Architecture & Design, Kolab 16, PyKolab, Bug Reports
adomaitis created T2301: wallace can't handle resource reservations with multiple recipients.
Mar 15 2017, 12:40 AM · Architecture & Design, Kolab 16, PyKolab, Bug Reports

Feb 9 2017

adomaitis added a comment to T2223: Outlook and folders under INBOX.

Outlook and MS ... why I'm not surprised ...
let me know about the commit, I will try on my side.

Feb 9 2017, 3:09 PM · Syncroton, Bug Reports

Feb 8 2017

adomaitis assigned T2235: Syncroton + Outlook 2013 - folder rename does not work correctly to machniak.
Feb 8 2017, 5:29 PM · Syncroton, Bug Reports
adomaitis added a project to T2235: Syncroton + Outlook 2013 - folder rename does not work correctly: Syncroton.
Feb 8 2017, 5:29 PM · Syncroton, Bug Reports
adomaitis created T2235: Syncroton + Outlook 2013 - folder rename does not work correctly.
Feb 8 2017, 5:29 PM · Syncroton, Bug Reports

Feb 3 2017

adomaitis assigned T2223: Outlook and folders under INBOX to machniak.
Feb 3 2017, 2:31 PM · Syncroton, Bug Reports
adomaitis created T2223: Outlook and folders under INBOX.
Feb 3 2017, 2:23 PM · Syncroton, Bug Reports

Jan 6 2017

adomaitis added a project to T2181: Roundcube does not set meeting organizer: Roundcube.
Jan 6 2017, 3:45 PM · Kolab 16, Roundcube Kolab Plugins , Bug Reports
adomaitis created T2181: Roundcube does not set meeting organizer.
Jan 6 2017, 3:44 PM · Kolab 16, Roundcube Kolab Plugins , Bug Reports

Jan 5 2017

adomaitis added a comment to T2166: wallace fails to read resource calendar.

Moved with investigation even further, leaving /usr/lib/python2.7/site-packages/cyruslib.py modified, I also modified:

  • wallace/modules.py commenting lines 135-136, to make sure smtp.set_debuglevel(True) is not set. in debug level 9
  • pykolab/auth/ldap/__init__.py commenting lines 427-428, to make sure trace_level = 1 is not set in debug level 9
  • pykolab/imap/cyrus.py commenting lines 90-92, to make sure self.VERBOSE = True and self.m.debug = 5 is not set in debug level 9

Now I can get wallace working correctly even in debug level 9.

Jan 5 2017, 5:01 PM · PyKolab, Bug Reports
adomaitis added a comment to T2169: wallace module_resource heartbeat fails with trace back.

Comments in T2166: wallace fails to read resource calendar might be related.

Jan 5 2017, 4:30 PM · PyKolab, Bug Reports
adomaitis added a comment to T2163: wallace fails to connect to ldap then running in debug 9 mode.

Comments in T2166: wallace fails to read resource calendar might be related.

Jan 5 2017, 4:30 PM · PyKolab, Bug Reports
adomaitis added a comment to T2166: wallace fails to read resource calendar.

I was able to bypass the issue in debug mode 8, by setting self.LOGFD = open('/var/log/kolab/cyruslib.log', 'a') around line 319 in cyruslib/py library. Now wallace successfully parse the message and resource calendar and accepts the invitation.
The same trick gives different results in debug level 9:

2017-01-05 16:23:43,776 pykolab.wallace ERROR Module resources.heartbeat() failed with error: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/wallace/__init__.py", line 89, in modules_heartbeat
    modules.heartbeat(module, lastrun)
  File "/usr/lib/python2.7/site-packages/wallace/modules.py", line 128, in heartbeat
    return modules[name]['heartbeat'](*args, **kw)
  File "/usr/lib/python2.7/site-packages/wallace/module_resources.py", line 442, in heartbeat
    imap.connect()
  File "/usr/lib/python2.7/site-packages/pykolab/imap/__init__.py", line 170, in connect
    self._imap[hostname].login(admin_login, admin_password)
  File "/usr/lib/python2.7/site-packages/pykolab/imap/cyrus.py", line 142, in login
    cyruslib.CYRUS.login(self, *args, **kw)
  File "/usr/lib/python2.7/site-packages/cyruslib.py", line 419, in login
    self.__doexception("LOGIN", error)
  File "/usr/lib/python2.7/site-packages/cyruslib.py", line 359, in __doexception
    self.__doraise( function.upper(), msg )
  File "/usr/lib/python2.7/site-packages/cyruslib.py", line 368, in __doraise
    raise CYRUSError( idError[0], mode, msg )
CYRUSError: (10, 'LOGIN', '[Errno 9] Bad file descriptor')

and

2017-01-05 16:25:10,389 pykolab.imap DEBUG [13257]: Logging on to Cyrus IMAP server localhost
2017-01-05 16:25:10,422 pykolab.wallace ERROR Unknown error occurred; CYRUSError(10, 'LOGIN', '[Errno 32] Broken pipe')
2017-01-05 16:25:10,423 pykolab.wallace ERROR Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/wallace/modules.py", line 118, in execute
    return modules[name]['function'](*args, **kw)
  File "/usr/lib/python2.7/site-packages/wallace/module_invitationpolicy.py", line 363, in execute
    imap.connect()
  File "/usr/lib/python2.7/site-packages/pykolab/imap/__init__.py", line 170, in connect
    self._imap[hostname].login(admin_login, admin_password)
  File "/usr/lib/python2.7/site-packages/pykolab/imap/cyrus.py", line 142, in login
    cyruslib.CYRUS.login(self, *args, **kw)
  File "/usr/lib/python2.7/site-packages/cyruslib.py", line 419, in login
    self.__doexception("LOGIN", error)
  File "/usr/lib/python2.7/site-packages/cyruslib.py", line 359, in __doexception
    self.__doraise( function.upper(), msg )
  File "/usr/lib/python2.7/site-packages/cyruslib.py", line 368, in __doraise
    raise CYRUSError( idError[0], mode, msg )
CYRUSError: (10, 'LOGIN', '[Errno 32] Broken pipe')

and

2017-01-05 16:25:00,082 pykolab.auth ERROR LDAP server unavailable: SERVER_DOWN({'desc': "Can't contact LDAP server"},)
2017-01-05 16:25:00,084 pykolab.auth ERROR Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pykolab/auth/ldap/__init__.py", line 3065, in _search
    secondary_domains
  File "<string>", line 10, in <module>
  File "/usr/lib/python2.7/site-packages/pykolab/auth/ldap/__init__.py", line 2963, in _regular_search
    (_result_type, _result) = self.ldap.result(_search, False, 0)
  File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 458, in result
    resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
  File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 462, in result2
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout)
  File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 469, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 476, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 99, in _ldap_call
    result = func(*args,**kwargs)
SERVER_DOWN: {'desc': "Can't contact LDAP server"}

Although there is still a progress, because looks like the invitation is parsed, just these tracebacks are thrown later.

Jan 5 2017, 4:30 PM · PyKolab, Bug Reports

Jan 2 2017

adomaitis added a project to T2169: wallace module_resource heartbeat fails with trace back: PyKolab.
Jan 2 2017, 1:05 PM · PyKolab, Bug Reports
adomaitis added a project to T2166: wallace fails to read resource calendar: PyKolab.
Jan 2 2017, 1:04 PM · PyKolab, Bug Reports
adomaitis added a project to T2163: wallace fails to connect to ldap then running in debug 9 mode: PyKolab.
Jan 2 2017, 1:04 PM · PyKolab, Bug Reports
adomaitis created T2169: wallace module_resource heartbeat fails with trace back.
Jan 2 2017, 12:20 PM · PyKolab, Bug Reports