[horde] Activesync - not getting email
Simon Brereton
simon.brereton at buongiorno.com
Sun Dec 4 17:55:11 UTC 2011
On Dec 4, 2011 12:18 PM, "cjdl01" <cjdl01 at brokensolstice.com> wrote:
>
>
> Quoting Simon Brereton <simon.brereton at buongiorno.com>:
>
>> On 3 December 2011 14:32, cjdl01 <cjdl01 at brokensolstice.com> wrote:
>>>
>>>
>>> Quoting Simon Brereton <simon.brereton at buongiorno.com>:
>>>
>>>> On 2 December 2011 09:01, cjdl01 <cjdl01 at brokensolstice.com> wrote:
>>>>>
>>>>>
>>>>> I am using Horde 4.0.12, Imp 5.0.15 and Turba 3.0.10. I have active
sync
>>>>> up
>>>>> and running with a Motorola Droid2, and it seemed to be working great,
>>>>> until
>>>>> I noticed one important problem: when I enter in a new contact on the
>>>>> Droid, all the information syncs back to the server EXCEPT for the
email
>>>>> address. Everything seems to sync correctly from the server to the
>>>>> droid,
>>>>> but not the other way around.
>>>>>
>>>>> Unfortunately, I do not have another smart phone to test this on, but
it
>>>>> definitely is not working on my Droid...
>>>>
>>>>
>>>>
>>>> The best thing to do would be to clean out your synclog, add a contact
>>>> on the phone and post the log. Maybe one of the Michael's can see
>>>> something.
>>>>
>>>> Simon
>>>
>>>
>>>
>>> Hi Simon,
>>>
>>> I'm not sure what you mean by "synclog". I could not find that
anywhere.
>>> The wiki, however, talked about setting error_log = php_errors.log in
your
>>> php.ini. I did this, and restarted apache, and I cannot find any file
named
>>> php_errors.log on my system. Grepping through all the logs in /var/log/
>>> didn't turn anything up either (that I could find).
>>
>>
>> On the Activesync tab in the administration panel, one can set a path
>> for logging. This will give you a clue to what is actually being sent
>> and received.
>>
>> make sure to make it readable by your webserver user.
>>
>> SImon
>
> Thanks Simon,
>
> I overlooked that. It was set to 'horde', so I changed it to point to
its own log on the filesystem, and since I had set my horde logs to debug,
i got a LOT of interesting output.
>
> And... I made some headway. I noticed in the log I was getting this:
> 2011-12-04T12:03:24-05:00 DEBUG: I <Data>
> 2011-12-04T12:03:24-05:00 DEBUG: I <POOMCONTACTS:FileAs>
> 2011-12-04T12:03:24-05:00 DEBUG: I Joe Bloe
> 2011-12-04T12:03:24-05:00 DEBUG: I </POOMCONTACTS:FileAs>
> 2011-12-04T12:03:24-05:00 DEBUG: I <POOMCONTACTS:FirstName>
> 2011-12-04T12:03:24-05:00 DEBUG: I Joe
> 2011-12-04T12:03:24-05:00 DEBUG: I </POOMCONTACTS:FirstName>
> 2011-12-04T12:03:24-05:00 DEBUG: I <POOMCONTACTS:LastName>
> 2011-12-04T12:03:24-05:00 DEBUG: I Bloe
> 2011-12-04T12:03:24-05:00 DEBUG: I </POOMCONTACTS:LastName>
> 2011-12-04T12:03:24-05:00 DEBUG: I <POOMCONTACTS:Body/>
> 2011-12-04T12:03:24-05:00 DEBUG: I <POOMCONTACTS:HomePhoneNumber>
> 2011-12-04T12:03:24-05:00 DEBUG: I 555-555-5555
> 2011-12-04T12:03:24-05:00 DEBUG: I </POOMCONTACTS:HomePhoneNumber>
> 2011-12-04T12:03:24-05:00 DEBUG: I <POOMCONTACTS:Email2Address>
> 2011-12-04T12:03:24-05:00 DEBUG: I dddd at xxxx.com
> 2011-12-04T12:03:24-05:00 DEBUG: I </POOMCONTACTS:Email2Address>
> 2011-12-04T12:03:24-05:00 DEBUG: I <POOMCONTACTS:Email1Address>
> 2011-12-04T12:03:24-05:00 DEBUG: I gggg at yyyy.com
> 2011-12-04T12:03:24-05:00 DEBUG: I </POOMCONTACTS:Email1Address>
> 2011-12-04T12:03:24-05:00 DEBUG: I </Data>
>
> Notice that it has Email2Address. Aparently, this maps to the EmailHome
(which is default on the droid). There is no Email2Address in horde, so it
gets lost. When I pushed the '+' on my droid to give the user a second
email (for work), THAT email address mapped to horde's EmailAddress.
I automatically mangle Turba when install it, so I don't remember the
default, but I think it comes only with one email address field. I would
recommend editing attributes.php and inserting a record in the database for
an extra email address field. Then map the default to home or work as you
prefer and the new one to the other one (so, work or home)..
Search the list for where Michael told me how to do this.
Simon
> So it is syncing at least. The question now becomes, how do I change the
mapping? Since home comes up first on the droid, everyone just uses that
one, so I'd like to map what my synclog is referring to 'Email2Address'
(And the droid refers to as 'Home') to my horde address book -- or better
yet, if horde could store both, that would be ideal (an email address for
home, and an email address for work).
>
> Thanks. It feels good to have made some progress on this. I'm almost
there...
More information about the horde
mailing list