Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000443Friendicaemailpublic2012-06-05 12:362012-11-08 14:41
Reportermarkusw 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Versiondev 
Fixed in Version 
Summary0000443: Cannot add email contacts, despite IMAP is configured correct
DescriptionI am running a mail server on Exchange 2010 SP2, with IMAP configured.
After configuring the mail server, everything is OK, I can see the connection made successfully in the IMAP log file of Exchange Server.
When I try to add an email contact, with or withour mailto: prefix, I get an error, that the address cannot be validated.
However I can see in the IMAP log, that it tries to query the address in from, to, cc, bcc fields.
Of course I made sure that an email of the contact is in my Inbox.

dateTime,sessionId,seqNumber,sIp,cIp,user,duration,rqsize,rpsize,command,parameters,context
#Software: Microsoft Exchange Server
#Version: 14.0.0.0
#Log-type: IMAP4 Log
#Date: 2012-06-05T19:11:56.537Z
#Fields: dateTime,sessionId,seqNumber,sIp,cIp,user,duration,rqsize,rpsize,command,parameters,context
0,10.0.0.1:993,10.0.0.11:47167,,-2147483648,0,53,OpenSession,,
1,10.0.0.1:993,10.0.0.11:47167,,0,19,139,capability,,R=ok
2,10.0.0.1:993,10.0.0.11:47167,,0,39,71,authenticate,GSSAPI,"R=""00000001 NO The AUTH protocol exchange was canceled by the client."""
3,10.0.0.1:993,10.0.0.11:47167,markus,93,38,40,authenticate,PLAIN,"R=ok;RpcC=23;RpcL=31;LdapC=2;LdapL=16;Msg=""xxxxxr:xxxxxx4d88a2959c3:Mailbox Database 0469167214:MASTER.wylander.org"";Budget=""Conn:0,HangingConn:0,AD:$null/$null/1%,CAS:$null/$null/1%,AB:$null/$null/0%,RPC:$null/$null/0%,FC:1000/0,Policy:DefaultThrottlingPolicy_47379e64-62de-4bd9-bde3-644e0aa8eedb,Norm[Resources:(DC)MASTER.wylander.org(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0469167214(Health:-1%,HistLoad:0),]"""
4,10.0.0.1:993,10.0.0.11:47167,markus,0,19,139,capability,,"R=ok;Budget=""Conn:0,HangingConn:0,AD:$null/$null/1%,CAS:$null/$null/1%,AB:$null/$null/0%,RPC:$null/$null/0%,FC:1000/0,Policy:DefaultThrottlingPolicy_47379e64-62de-4bd9-bde3-644e0aa8eedb,Norm[Resources:(DC)MASTER.wylander.org(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0469167214(Health:-1%,HistLoad:0),]"""
5,10.0.0.1:993,10.0.0.11:47167,markus,46,21,319,select,INBOX,"R=ok;RpcC=10;RpcL=31;Rows=17;Recent=0;Budget=""Conn:0,HangingConn:0,AD:$null/$null/1%,CAS:$null/$null/1%,AB:$null/$null/0%,RPC:$null/$null/1%,FC:1000/0,Policy:DefaultThrottlingPolicy_47379e64-62de-4bd9-bde3-644e0aa8eedb,Norm[Resources:(DC)MASTER.wylander.org(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0469167214(Health:-1%,HistLoad:0),]"""
6,10.0.0.1:993,10.0.0.11:47167,markus,0,51,41,uid,SEARCH FROM markus.wylander@hillbilly.at,"R=ok;RpcC=2;Budget=""Conn:0,HangingConn:0,AD:$null/$null/1%,CAS:$null/$null/1%,AB:$null/$null/0%,RPC:$null/$null/1%,FC:1000/0,Policy:DefaultThrottlingPolicy_47379e64-62de-4bd9-bde3-644e0aa8eedb,Norm[Resources:(DC)MASTER.wylander.org(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0469167214(Health:-1%,HistLoad:0),]"""
7,10.0.0.1:993,10.0.0.11:47167,markus,0,49,41,uid,SEARCH TO markus.wylander@hillbilly.at,"R=ok;RpcC=2;Budget=""Conn:0,HangingConn:0,AD:$null/$null/1%,CAS:$null/$null/1%,AB:$null/$null/0%,RPC:$null/$null/1%,FC:1000/0,Policy:DefaultThrottlingPolicy_47379e64-62de-4bd9-bde3-644e0aa8eedb,Norm[Resources:(DC)MASTER.wylander.org(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0469167214(Health:-1%,HistLoad:0),]"""
8,10.0.0.1:993,10.0.0.11:47167,markus,15,49,41,uid,SEARCH CC markus.wylander@hillbilly.at,"R=ok;RpcC=2;Budget=""Conn:0,HangingConn:0,AD:$null/$null/1%,CAS:$null/$null/1%,AB:$null/$null/0%,RPC:$null/$null/1%,FC:1000/0,Policy:DefaultThrottlingPolicy_47379e64-62de-4bd9-bde3-644e0aa8eedb,Norm[Resources:(DC)MASTER.wylander.org(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0469167214(Health:-1%,HistLoad:0),]"""
9,10.0.0.1:993,10.0.0.11:47167,markus,0,50,41,uid,SEARCH BCC markus.wylander@hillbilly.at,"R=ok;RpcC=2;Budget=""Conn:0,HangingConn:0,AD:$null/$null/1%,CAS:$null/$null/1%,AB:$null/$null/0%,RPC:$null/$null/1%,FC:1000/0,Policy:DefaultThrottlingPolicy_47379e64-62de-4bd9-bde3-644e0aa8eedb,Norm[Resources:(DC)MASTER.wylander.org(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0469167214(Health:-1%,HistLoad:0),]"""
10,10.0.0.1:993,10.0.0.11:47167,markus,0,15,95,logout,,"R=ok;Budget=""Conn:0,HangingConn:0,AD:$null/$null/1%,CAS:$null/$null/1%,AB:$null/$null/0%,RPC:$null/$null/1%,FC:1000/0,Policy:DefaultThrottlingPolicy_47379e64-62de-4bd9-bde3-644e0aa8eedb,Norm[Resources:(DC)MASTER.wylander.org(Health:-1%,HistLoad:0),(Mdb)Mailbox Database 0469167214(Health:-1%,HistLoad:0),]"""
Tagsemail integration
Attached Files

- Relationships

-  Notes
(0000675)
markusw (reporter)
2012-06-05 12:43

In the log file of friendica ("all" selected) there is only this to see:

2012-06-05 19:38:46:ifi83lmvi4n3jdbdgneapeaka2 probe_url: Array
(
    [name] =>
    [nick] =>
    [url] => markus.wylander@hillbilly.at
    [addr] =>
    [batch] =>
    [notify] =>
    [poll] =>
    [request] =>
    [confirm] =>
    [poco] =>
    [photo] => https://friendica.flyar.net:444/images/person-175.jpg [^]
    [priority] => 0
    [network] =>
    [alias] =>
    [pubkey] =>
)
(0000677)
markusw (reporter)
2012-06-06 11:45

Today I pulled git and tried again. Now this line comes just before the "probe_url: Array" from the output above.

2012-06-06 18:41:52:vcgieng22itkrl983ha0ikva73 probe_url: email_connect failed.
(0000801)
markusw (reporter)
2012-10-30 16:23
edited on: 2012-10-30 16:25

Another try revealed that there seems to be a problem in parsing the email address. If a sender in my MS Exchange 2010 mailbox has no "real name", but only the email address itself, I can add the contact.
However if the real name is shown, I can't.

Friendica logfile shows:
 probe_url: searching mailtest@hillbilly.at, 0 messages found.

(0000805)
fabrixxm (developer)
2012-11-07 06:25

can you provide the source of an example not working mail?
(0000806)
markusw (reporter)
2012-11-08 14:41

This source comes from Thunderbird, the email address "esackbauer@hotmail.com" is not recognized by Friendica:

Received: from dub0-omc3-s25.dub0.hotmail.com (157.55.2.34) by
 MASTER.hillbilly.at (10.0.0.1) with Microsoft SMTP Server id 14.2.318.4; Thu, 8
 Nov 2012 23:26:22 +0100
Received: from DUB115-W120 ([157.55.2.7]) by dub0-omc3-s25.dub0.hotmail.com
 with Microsoft SMTPSVC(6.0.3790.4675); Thu, 8 Nov 2012 14:26:22 -0800
Message-ID: <DUB115-W120626226CC920B47E3CCDFD1690@phx.gbl>
Return-Path: esackbauer@hotmail.com
Content-Type: multipart/alternative;
    boundary="_f125d2ed-67f7-49c9-8eaf-0f22add8d779_"
X-Originating-IP: [81.16.104.47]
From: Edmund Sackbauer <esackbauer@hotmail.com>
To: <markus@hillbilly.at>
Subject: test
Date: Thu, 8 Nov 2012 22:26:22 +0000
X-OriginalArrivalTime: 08 Nov 2012 22:26:22.0181 (UTC) FILETIME=[14CC1950:01CDBE00]
X-MS-Exchange-Organization-AuthSource: MASTER.hillbilly.at
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-Exchange-Organization-PRD: hotmail.com
X-MS-Exchange-Organization-SenderIdResult: Pass
Received-SPF: Pass (MASTER.hillbilly.at: domain of esackbauer@hotmail.com
 designates 157.55.2.34 as permitted sender) receiver=MASTER.hillbilly.at;
 client-ip=157.55.2.34; helo=dub0-omc3-s25.dub0.hotmail.com;
X-MS-Exchange-Organization-SCL: 0
X-MS-Exchange-Organization-PCL: 2
X-MS-Exchange-Organization-Antispam-Report: DV:3.3.11829.456;SID:SenderIDStatus Pass;OrigIP:157.55.2.34
MIME-Version: 1.0

--_f125d2ed-67f7-49c9-8eaf-0f22add8d779_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


test =

--_f125d2ed-67f7-49c9-8eaf-0f22add8d779_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1"><style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class=3D"hmmessage"><div dir=3D"ltr">
test </div></body>
</html>=

--_f125d2ed-67f7-49c9-8eaf-0f22add8d779_--

- Issue History
Date Modified Username Field Change
2012-06-05 12:36 markusw New Issue
2012-06-05 12:43 markusw Note Added: 0000675
2012-06-05 13:59 macgirvin Description Updated View Revisions
2012-06-06 11:45 markusw Note Added: 0000677
2012-10-30 16:23 markusw Note Added: 0000801
2012-10-30 16:25 markusw Note Edited: 0000801 View Revisions
2012-10-30 16:29 markusw Tag Attached: email integration
2012-11-07 06:25 fabrixxm Note Added: 0000805
2012-11-08 14:41 markusw Note Added: 0000806


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker