Sogo calendar don't send invites



  • Hi all, first of all, thanks for the hard work !
    I have some difficulties to make my email server running perfectly.
    Although everything is "green checked" under the email panel, I can't send invitations to attendees from the Sogo calendar.

    Here are the logs.
    As you can see, there's something wrong with the DKIM parts, although, I repeat, I receive the test email sent from the same server.

    Cheers,
    François

    Dec 11 09:41:31 [NOTICE] [156130EA-FD81-4A68-B578-3083F732326A] [core] connect ip=172.18.0.7 port=34522 local_ip=:: local_port=2525
    Dec 11 09:41:31 [INFO] [156130EA-FD81-4A68-B578-3083F732326A] [helo.checks] multi: true, skip:proto_mismatch(private), host_mismatch(private)
    Dec 11 09:41:31 [INFO] [156130EA-FD81-4A68-B578-3083F732326A] [core] hook=unrecognized_command plugin=cloudron function=hook_unrecognized_command params=AUTH retval=OK msg=""
    Dec 11 09:41:31 [INFO] [-] [cloudron] authenticated as : pierre@xxxxx.fr
    Dec 11 09:41:31 [INFO] [156130EA-FD81-4A68-B578-3083F732326A] [core] hook=unrecognized_command plugin=cloudron function=hook_unrecognized_command params="cGllcnJlQGhhcHB5LXVzZXIuZnIAcGllcnJlQGhhcHB5LXVzZXIuZnIATjh6w67CvMOPw7NrQXRyacONw7DCrmbCqcO1w7zDnEfDqWFlwqXDtzPCtcOIZg==" retval=OK msg=""
    Dec 11 09:41:31 [NOTICE] [156130EA-FD81-4A68-B578-3083F732326A.1] [core] sender code=CONT msg=""
    Dec 11 09:41:31 [INFO] [156130EA-FD81-4A68-B578-3083F732326A.1] [core] hook=rcpt plugin=rcpt_to.in_host_list function=hook_rcpt params= retval=OK msg=""
    Dec 11 09:41:31 [INFO] [156130EA-FD81-4A68-B578-3083F732326A.1] [delay_deny] bypassing all pre-DATA deny: AUTH/RELAY
    Dec 11 09:41:31 [NOTICE] [156130EA-FD81-4A68-B578-3083F732326A.1] [core] recipient code=OK msg="" sender=pierre@xxxxx.fr
    Dec 11 09:41:31 Dec 11 09:41:31.974 [80] info: spamd: connection from localhost [127.0.0.1]:59300 to port 7833, fd 4
    Dec 11 09:41:31 Dec 11 09:41:31.974 [80] info: spamd: using default config for francois: /app/data/spamd/francois/user_prefs
    Dec 11 09:41:31 Dec 11 09:41:31.979 [80] info: spamd: checking message <22-5c0f8680-b-59911280@243166987> for francois:1000
    Dec 11 09:41:32 Dec 11 09:41:32.873 [80] info: spamd: clean message (-1.0/5.0) for francois:1000 in 0.9 seconds, 2808 bytes.
    Dec 11 09:41:32 [INFO] [156130EA-FD81-4A68-B578-3083F732326A.1] [spamassassin] status=No, score=-1.0, required=5.0, reject=undefined, tests="ALL_TRUSTED,HTML_MESSAGE"
    Dec 11 09:41:32 [NOTICE] [156130EA-FD81-4A68-B578-3083F732326A.1] [core] message mid=<22-5c0f8680-b-59911280@243166987> size=2331 rcpts=1/0/0 delay=0.908 code=CONT msg=""
    Dec 11 09:41:32 Dec 11 09:41:32.873 [80] info: spamd: result: . 0 - ALL_TRUSTED,HTML_MESSAGE scantime=0.9,size=2808,user=francois,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=59300,mid=<22-5c0f8680-b-59911280@243166987>,autolearn=ham autolearn_force=no
    Dec 11 09:41:32 EACCES: permission denied, open '/app/haraka-config/config/dkim/xxxxx.fr/private'
    Dec 11 09:41:32 [ERROR] [156130EA-FD81-4A68-B578-3083F732326A.1] [dkim_sign] skipped: missing dkim private key
    Dec 11 09:41:32 [NOTICE] [156130EA-FD81-4A68-B578-3083F732326A.1] [core] queue code=CONT msg="Message Queued (156130EA-FD81-4A68-B578-3083F732326A.1)"
    Dec 11 09:41:32 [INFO] [-] [core] [outbound] Sending email as a transaction
    Dec 11 09:41:32 EACCES: permission denied, open '/app/haraka-config/config/dkim/mydomain/private'
    Dec 11 09:41:32 [ERROR] [-] [dkim_sign] skipped: missing dkim private key
    Dec 11 09:41:32 [INFO] [-] [core] [outbound] Processing domain: mydomai
    Dec 11 09:41:32 [NOTICE] [156130EA-FD81-4A68-B578-3083F732326A.1] [core] queue code=OK msg="Message Queued (156130EA-FD81-4A68-B578-3083F732326A.1)"
    Dec 11 09:41:32 [NOTICE] [156130EA-FD81-4A68-B578-3083F732326A.1] [core] disconnect ip=172.18.0.7 rdns=6b0aff24-6cec-48dd-991a-5b628aef2aab.cloudron helo=6b0aff24-6cec-48dd-991a-5b628aef2aab relay=Y early=N esmtp=Y tls=N pipe=N errors=0 txns=1 rcpts=1/0/0 msgs=1/0/0 bytes=2331 lr="" time=1.409
    Dec 11 09:41:32 [INFO] [156130EA-FD81-4A68-B578-3083F732326A.1.1] [outbound] Looking up A records for: ASPMX.L.GOOGLE.COM
    Dec 11 09:41:32 Dec 11 09:41:32.950 [62] info: prefork: child states: II
    Dec 11 09:41:33 [INFO] [156130EA-FD81-4A68-B578-3083F732326A.1.1] [outbound] Attempting to deliver to: 173.194.76.26:25 (0) (0)
    Dec 11 09:41:33 [INFO] [-] [core] [outbound] [outbound::25:173.194.76.26:undefined:50] dispense() clients=1 available=0
    Dec 11 09:41:33 [INFO] [-] [core] [outbound] acquired socket 83316BA3-943F-43C6-A787-24D713139A7C for outbound::25:173.194.76.26:undefined:50
    Dec 11 09:41:33 [INFO] [156130EA-FD81-4A68-B578-3083F732326A.1.1] [outbound] secured verified=true cipher=ECDHE-RSA-AES128-GCM-SHA256 version=TLSv1/SSLv3 cn=mx.google.com organization="Google LLC" issuer="Google Trust Services" expires="Jan 30 09:00:00 2019 GMT" fingerprint=E1:CD:C7:AA:30:FA:23:7C:A1:A5:45:AB:BC:8D:1D:B5:F5:C6:B2:81
    Dec 11 09:41:33 [NOTICE] [156130EA-FD81-4A68-B578-3083F732326A.1.1] [outbound] delivered file=1544521292909_1544521292909_0_60_t4GSMH_6_2ca0af8d1bcc domain=xxxxx.fr host=ASPMX.L.GOOGLE.COM ip=173.194.76.26 port=25 mode=SMTP tls=Y auth=N response="OK 1544521293 p12si9192634wru.276 - gsmtp" delay=0.705 fails=0 rcpts=1/0/0
    Dec 11 09:41:33 [INFO] [-] [core] [outbound] [outbound::25:173.194.76.26:undefined:50] dispense() clients=0 available=1
    Dec 11 09:42:23 [INFO] [-] [core] [outbound] Remote end half closed during destroy()
    


  • Ok so, after a fresh install, it works pretty well.
    I now receive emails but I still have an issue with the DKIM part.
    The DKIM record seems to be OK in the cloudron dashboard and on Gandi side. But when I test it via mail-tester.com service, I still don't have the DKIM signature.
    I don't get it 😕



  • @doomilation What do you see in Email -> Status ? Is everything green there?



  • Hi @girish. Yes, I confirm that everything's green.
    It works after a permission change on the /home/yellowtent/boxdata/mail/dkim/mydomain.com (600 to 644)
    With this change, I don't have no more the DKIM error.

    Now, I'm trying to setup calendar with Lightning.
    Everything's fine but the invitations sent by Lightning; the organizer mail value is always (null)

    Here is the Vcalendar event :

    ORGANIZER;RSVP=TRUE;ROLE=CHAIR;PARTSTAT=ACCEPTED:mailto:(null)
    

    I can't find any clue in the logs



  • I also have this issue when adding an invitee to an event using any CalDAV client. Inviting from SOGo interface directly doesn't appear to have any issues and the invite email sends as expected. Seems to be a bug with SOGo's CalDAV support unfortunately.



  • @adrw said in Sogo calendar don't send invites:

    I also have this issue when adding an invitee to an event using any CalDAV client. Inviting from SOGo interface directly doesn't appear to have any issues and the invite email sends as expected. Seems to be a bug with SOGo's CalDAV support unfortunately.

    FYI: This is a common problem with most caldav servers from my experience. So far, only Baikal has worked for me without fault.



  • @necrevistonnezr That's definitely unfortunate, one of the biggest reasons I've stuck with Google Calendar until now.

    FWIW I filed a bug with SOGo so hopefully they get around to fixing it sooner than later/never https://sogo.nu/bugs/view.php?id=4972



  • @adrw Thanks for reporting upstream!



  • @adrw @doomilation @necrevistonnezr We have to tried to fix this in Cloudron 5. If oyu install SOGo with Cloudron 5, calendar invites should work. Contact and calendar sharing should work as well. Mailbox sharing is not supported (yet).



  • @girish Awesome! Tried the new SOGo v2 package today and it seems to be fixed, emails are sending too! Thanks for fixing this, amazing to get to move my calendar of Google!



  • @necrevistonnezr Semi-related and selfishly promoting my post here calling for a different DAV server app because SOgo isn't too great at that (has many limitations in using CalDAV and CardDAV in my experience) and Radicale while it works has stated it doesn't plan to incorporate the standard too closely, so I'd rather have a dedicated DAV server from one that wants to actually follow the specifications for those standards. Here's the post where I requested Sabre/Dav (but Baikal would be awesome too!): https://forum.cloudron.io/topic/2129/sabre-dav-caldav-and-carddav-server-alternative-to-radicale


Log in to reply