View Issue Details

IDProjectCategoryView StatusLast Update
0000844SOGoBackend Mailpublic2010-09-21 11:14
Reporterwverbruggen Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.1 
Summary0000844: invite attendees does not send e-mail !?
Description

We are very impressed by the sogo suite but what we describe below we can hardly believe:

Whatever we do, sogo does not send an e-mail with an attached .ics file to the attendees/invited people of an event. If the attendee is also in sogo, the system does put the calendar event in the attendees agenda but no mails at all.

We tried sendmail and SMTP, we have SOGoAppointmentSendEmailNotifications = YES; in the config (see below) and we did not create events in the past.

We also tried the nightly build of 1.3.2 but with the same result.

The only mail that gets send (sometimes, not always) is the following:
You have invited the following attendees(s):

  willem@hig.be <willem@hig.be>

... to attend the following event:
Title: New Event
Start: Wednesday, September 22, 2010 - 12:00
End: Wednesday, September 22, 2010 - 13:00

When we plan an event and open it again afterwards we can click on the attendees where we have the option to "invite attendees" or send an e-mail to each attendee separately or to all attendees at the same time.
If we do that, e-mails are sent successfully but these do not have an .ics attached for automatic acceptance of the event at the recipients side.

We are running sogo on Debian cenprd306:~# uname -a
Linux cenprd306 2.6.26-2-xen-amd64 0000001 SMP Sun Jun 20 20:51:58 UTC 2010 x86_64 GNU/Linux

For us this is a show stopper as we wanted to use Sogo as a replacment for exchange calendars and we are now blocked in the middle of a migration/going live.
Further, we looked as crazy for a solution as we could not believe this to be a bug seen it is the core of a calendar application to send invites. Please tell us how we can get Sogo to send event nofifications/invites with attached .ics files to attendees.

We will be happy to give you access on our test server to reproduce the problem.

Additional Information

{
NSGlobalDomain = {
};
sogod = {
OCSFolderInfoURL = "mysql://sogo:*@localhost:3306/sogo/sogo_folder_info";
SOGoCalendarDefaultRoles = (
ConfidentialDandTViewer,
PublicViewer
);
SOGoLanguage = English;
SOGoLoginModule = Calendar;
SOGoMailDomain = cenergie.be;
SOGoMailingMechanism = sendmail;
SOGoProfileURL = "mysql://sogo:***
@localhost:3306/sogo/sogo_user_profile";
SOGoSuperUsernames = (
mcoenaerts,
wverbruggen
);
SOGoTimeZone = Europe/Brussels;
SOGoAppointmentSendEmailNotifications = YES;
SOGoUserSources = (
{
CNFieldName = cn;
IDFieldName = uid;
UIDFieldName = uid;
baseDN = "ou=people,ou=addressbook,dc=cenergie,dc=be";
bindDN = "uid=ldapadmin,dc=cenergie,dc=be";
bindFields = uid;
bindPassword = "****";
canAuthenticate = YES;
displayName = "CENERGIE LDAP";
hostname = cenprd302;
id = cenldap;
isAddressBook = YES;
port = 389;
}
);
};
}

TagsNo tags attached.

Activities

wverbruggen

wverbruggen

2010-09-20 07:40

reporter   ~0001478

Tests were mostly done in the web interface but also from Thunderbird 3.1 with lightning 1.0b2: same problem, no mails sent to invites.

esco

esco

2010-09-20 09:29

reporter   ~0001479

Hello wverbruggen,

this works in our installation without problems (Plugins with TB2 and TB3, webinterface). So i don't think that this is a bug in SOGo.

We use "SOGoMailingMechanism = smtp" with local postfix and Active Directory LDAP.

Do you checked your Logs of SOGo and mail?

esco

wverbruggen

wverbruggen

2010-09-20 10:05

reporter   ~0001481

Our Debian needed backports for the sogo dependencies. What part of sogo does the mailing? Written by you of is it in the dependencies?

esco

esco

2010-09-20 14:07

reporter   ~0001484

Hi,

I am only a user/sysadmin, too. I don't know the exact part or source for the mailing.

What version of debian are u using? Are you really using "MySQL4"?

esco

wverbruggen

wverbruggen

2010-09-20 15:02

reporter   ~0001486

No we are not using mysql 4 but 5: that is another bug in the software for which we found a fix on the internet. We applied this fix on the second test site we have but that did not help (of course). This test system is installed as is: therefor the errors.

Can you pass this ticket to someone we can give access to the system so that he/she can debug?

wverbruggen

wverbruggen

2010-09-20 16:07

reporter   ~0001488

" more likely a bug in configuration" : All my configs are in this ticket and seen sogo is just an apt-get install + one config file. --> just tell me what is wrong with the config as a technician should do. Because there is nothing wrong with the config !!!

  • please explain me why I can send mails from the event itself but why it does not do it automatically when I invite attendees. Sounds buggy no? Config?
  • all the data from sogo.log is there and I am sure it does not look like it should.
ludovic

ludovic

2010-09-20 20:01

reporter   ~0001491

Your configuration is broken.

SOGoAppointmentSendEmailNotifications

should be:

SOGoAppointmentSendEMailNotifications

Note the capital 'M'.

If you create an event and you invite an attendee, the mail sent by SOGo (from organizer, to attendee) will contain an ICS file. Look at the raw source of the invitation message :

...
Message-Id: <20100920195305.32E963B113D@sogo.ludo.inverse.ca>

------=_=-_OpenGroupware_org_NGMime-24331-1285012385.045845-35------
content-type: text/plain; charset="UTF-8"

Ludovic Marcotte has invited you to test 1.
------=_=-_OpenGroupware_org_NGMime-24331-1285012385.045845-35------
content-transfer-encoding: quoted-printable
content-type: text/calendar; method=REQUEST; charset="ISO-8859-1"

BEGIN:VCALENDAR
VERSION:2.0
...
METHOD:REQUEST
END:VCALENDAR

------=_=-_OpenGroupware_org_NGMime-24331-1285012385.045845-35--------

The METHOD:REQUEST is part of the IMIP/ITIP standard.

SOGo will NEVER send an email for events that occured in the PAST.

wverbruggen

wverbruggen

2010-09-20 20:36

reporter   ~0001492

Hi ludovic,

Thank you for your intervention. That was indeed the problem.

So it seems the GNUstep defaults command does not add a lot of value in using it as all mistakes go through unchecked.
Still our mistake to overlook it (we copy - pasted the command for all our four test systems from our wiki) into bash for which I apologize.

I would like to thank you for your professional attitude which I recognize as my own when solving tickets at the SAP 3th line support desk at IBM where I work. As such I would be pleased to support you and the sogo project with a donation to make up for the trouble we caused today. (Please tell me how)

You can count on us being happy to be able to use SOGo for our future projects.

Regards,

Willem

PS: if you do not remove this bug from the public area, I will have to delete certain notes as they contain quite a lot of customer information.

ludovic

ludovic

2010-09-20 20:39

reporter   ~0001493

Remove your sensitive information. I'll close the issue for now.

wverbruggen

wverbruggen

2010-09-21 07:27

reporter   ~0001499

Notes removed. Can be closed.

Issue History

Date Modified Username Field Change
2010-09-20 07:39 wverbruggen New Issue
2010-09-20 07:40 wverbruggen Note Added: 0001478
2010-09-20 09:29 esco Note Added: 0001479
2010-09-20 10:05 wverbruggen Note Added: 0001481
2010-09-20 14:07 esco Note Added: 0001484
2010-09-20 15:02 wverbruggen Note Added: 0001486
2010-09-20 16:07 wverbruggen Note Added: 0001488
2010-09-20 20:01 ludovic Note Added: 0001491
2010-09-20 20:36 wverbruggen Note Added: 0001492
2010-09-20 20:39 ludovic Note Added: 0001493
2010-09-20 20:39 ludovic Status new => closed
2010-09-20 20:39 ludovic Resolution open => no change required
2010-09-21 07:25 wverbruggen Status closed => feedback
2010-09-21 07:25 wverbruggen Resolution no change required => reopened
2010-09-21 07:27 wverbruggen Note Added: 0001499
2010-09-21 11:14 ludovic Status feedback => closed
2010-09-21 11:14 ludovic Resolution reopened => fixed