Baikal
Baikal copied to clipboard
Invitation emails get stuck in spam filters
Baikal version: 0.8.0
Expected behaviour: That invitation emails are sent to the recipient without problems
Current behaviour: For some ISP, the invitation email get stuck in the spam filter. The trigger for this seems to be that the date field is missing from the email header. See snipet from an email below.
BAD HEADER SECTION, Missing required header field: "Date"
Hi can I ask what calendar app you are using? I have been trying to send invites from Apple Calendar, Catalina and they never appear to be sent. Well they never arrive. I ended up adding PHPMailer into Baikal which successfuly sent the email invites, but subsequently the invite status never updated the Baikal Sever.
Side note, do invitations need to be sent over https? as i'm woking locally at the moment
Thanks in advance
I'm using the iOS email app on my mobile devices and the emclient on my windows machines. Earlier this has not worked at all, but after upgrading BaiKal to 8.0.0 it started to work in iOS and for some accounts on my emclient. investigating that, it seems like differently formatted CalDav links generates unpredictable result on that client (the invitation email is delivered but not always with the .ics attachment). Inviting others using the iOS-app seems to work including the .ics attachment.
Are you running Baikal on a active webserver or locahost?
I'm running this locally and was not getting any email sent by the baikal server at all. I think your right that there is some inconsistancy about if the .ics gets sent as an attchemnet. Secondaly, a header needs to be set to tel the email client that it is a calendar or multipart to enable the client to display the invite options, Yes, Maybe or Decline invite.
I'm running BaiKal on a hosted domain at "One". Yes, I think your are right that BaiKal would benefit from some "hardening" regarding how emails are formatted. I think the missing "calendar or multipart" setting could be the root cause why my ISP marked these emails as spam. A valuable improvement of the BalKal documentation would be a more comprehensive guide on how to set up the weblink for various clients as I found the information I needed from other sources. Anyway, I am extremely happy with BaiKal and hope that theses minor issues will be corrected in the future.
Mail is send none Auth too, many spam filter block that.
Side note, do invitations need to be sent over https?
For the email notifications, it is not relevant how the clients access Baikal
I'm running this locally and was not getting any email sent by the baikal server at all.
Many email servers don't accept mails sent out by a host without a proper SPF setup (you need a domain for that). Sending out emails directly from a local host will probably not work. Things like PHPMailer could work.
BAD HEADER SECTION, Missing required header field: "Date"
That header is usually added automatically. Does your hosting provider manage the DNS records of your domain for you?
BAD HEADER SECTION, Missing required header field: "Date"
This was the output from the spam filter at the receiving host. Strangely enough, it looks like the header contains a date field. On the hosted server where I run BaiKal, the hosting provider allow me to set DNS records. So far, it has worked well with the default settings.
default settings
Okay, I guess they then already do SPF for you. I don't know what else could cause this.
@ByteHamster
Please help!
I have completed this process about 4 times now. Download the 0.8.0 zip, FTP'ed the files to the server, given the config & Specific folders www-data:www-data access.
After setting up the cal server with the correcty admin and users, I can then subscribe to the calendar on my iphone and mac calendar app. But when trying to add attendees to the event an email invite is never sent.
I have configure the cal server to use the email address that has an spf for that domain as suggested. I am I missing something. From what i have read it is the server that should handle the email invites not the cleint, it that correct?
Side note: when sending files to the server the html res folder never gets sent
The emails are sent by the server, yes. I am not using the invite feature myself, so I don't know what to do.
@ByteHamster
Thanks for getting back to me. I'm building an app that really needs this feature. Any advice or other recommendations would be great.
Thanks for the support
@ByteHamster , have you tested the invite feature in recent versions of Baikal?
No, I had to shelve this project as this was a key feature of the App i was building. What I really want to do is hook up the App to something like Mailgun and have them send the emails and have Baikal handle the Ical events. Is this something that Baikal can handle now?
Invitations via SMTP servers are already tracked in #937