[CalendarServer-users] CalendarServer doesn't send out invitations

huetmann huetmann at violine.at
Tue Feb 9 23:42:18 PST 2010


Hi, 

I had some help with that recently, and got it to work. 
The Calendarserver needs to connect to itself first with a valid user that
has admin rights to be able to send mails. This part I had to change using a
user from accounts.xml to make it work. If you don't use that uiser you have
to find some default user "com.apple.calendarserver" and set him up in
accounts.xml.


       <key>MailGatewayServer</key>
        <string>localhost</string>
        <key>Username</key>
        <string>huetmann</string>   
          <key>Password</key>
          <string>********</string>
        <key>MailGatewayPort</key>
        <integer>62310</integer>

I also had to add the uid to the section in caldav.plist that said this: 

    <!-- Principals with "DAV:all" access (relative URLs) -->
    <key>AdminPrincipals</key>
    <array>
     
<string>/principals/__uids__/38eae584-2b75-582b-a058-018391d1003f/</string>
     
<string>/principals/__uids__/7eb832ae-11d2-5968-88ea-ee3c01bf5619/</string>
    </array>

After that I had a connection to the MailGatewayserver tha connected to the
mail server wit hthe user you had configured. 
Hope this helps.

.peter






Ove Ranheim-3 wrote:
> 
> Hi,
> 
> I've setup the CalendarServer on Ubuntu 8.04 TLS and for the most part it
> works fine, however I still haven't figured out how make the server send
> out invitations. Looking into my debug logs, the caldav server connects
> just fine with my Courier MTA mail server, every 30 secs or so, using the
> IMIP / IMAP connection. My log shows that it fetches messages, though
> cal at example.com account is empty.
> 
> I just don’t understand how to configure the etc/caldav-dev.plist to
> connect to my SMTP, send and out invites.
> 
> IMIP seems correctly configured. Here my snippet for the SMTP:
> 
> <key>Sending</key>
> <dict>
>      <key>Server</key>
>      <string>mail.example.com</string>
>      <key>Port</key>
>      <integer>25</integer>
>      <key>UseSSL</key>
>      <false/>
>      <key>Username</key>
>      <string>cal</string>
>      <key>Password</key>
>      <string>********</string>
>      <key>Address</key>
>      <string>cal@ example.com</string> <!-- Address email will be sent
> from -->
> </dict>
> 
> 
> If someone could advise me here, it would be highly appreciated.
> 
> Are there other config files that should have looked into?
> 
> Best regards,
> Ove
> 
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
> 
> 

-- 
View this message in context: http://old.nabble.com/CalendarServer-doesn%27t-send-out-invitations-tp27428250p27527074.html
Sent from the Calendar Server - Users mailing list archive at Nabble.com.



More information about the calendarserver-users mailing list