[CalendarServer-users] seting iMIP SMTP login info

Morgen Sagen sagen at apple.com
Tue Mar 5 13:45:41 PST 2013


On Mar 5, 2013, at 7:10 AM, Robert Bruce <rbruce at celsiusinc.com> wrote:

> Hello, 
> 
> I have Calendar server 3.2 up and running well (I can't manage to get 4.2 running on Ubuntu 12.10)... I can share calendars but I'm having problem inviting external users and iMIP is setup.  
> 
> I can see in the logs that the calendarserver seems to be trying to use the users email address as a login name for sending invitations though SMTP but our mail server does not use the (user at domain.com) as a login only (USER NAME).  How can I set the user name and pasword to be used for sending iMIP invites?

The email address of the calendar server's dedicated account is a separate configuration key than the username/password used for SMTP.  I copied the below from caldavd-test.plist in svn.  The "Address" value under "Sending" is what the From header is based on, while the "Username" is what's used to log in to SMTP.

(Note: when setting up the "Receiving" section of the config, be sure to not use an IMAP/POP account that is in use by anyone else since all emails arriving in that inbox will be deleted.)

      <!-- iMIP protocol options -->
      <key>iMIP</key>
      <dict>
        <key>Enabled</key>
        <false/>
        <key>MailGatewayServer</key>
        <string>localhost</string>
        <key>MailGatewayPort</key>
        <integer>62310</integer>
        <key>Sending</key>
        <dict>
          <key>Server</key>
          <string></string>
          <key>Port</key>
          <integer>587</integer>
          <key>UseSSL</key>
          <true/>
          <key>Username</key>
          <string></string>
          <key>Password</key>
          <string></string>
          <key>Address</key>
          <string></string> <!-- Address email will be sent from -->
          <key>SupressionDays</key>
          <integer>7</integer> <!-- Don't send messages for events earlier than this many days in the past -->
        </dict>
        <key>Receiving</key>
        <dict>
          <key>Server</key>
          <string></string>
          <key>Port</key>
          <integer>995</integer>
          <key>Type</key>
          <string></string> <!-- Either "pop" or "imap" -->
          <key>UseSSL</key>
          <true/>
          <key>Username</key>
          <string></string>
          <key>Password</key>
          <string></string>
          <key>PollingSeconds</key>
          <integer>30</integer>
        </dict>
        <key>AddressPatterns</key>
        <array>
          <string>mailto:.*</string>
        </array>
      </dict>


> 
> Setting my server allow the user at domain.com login format is an option but it would be a huge headache... 

> 
> Also I see a French translation in locals.... but I can't seem to activate it... any ideas?

This is how it's done in recent code; hopefully it applies to 3.2:

    <key>Localization</key>
    <dict>
        <key>Language</key>
        <string>fr_FR</string>
    </dict>



More information about the calendarserver-users mailing list