You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2007-11-23 03:16:29

travis_earl
Member
Registered: 2007-06-06
Posts: 2

Mail Gateways with Exchange 2007

I'm having trouble getting GLPI 0.7-RC3 to fetch mail from my Exchange 2007 server.  I'm guessing that this may be a configuration issue on my Exchange box but would appreciate any help. 

GLPI is running on Debian 4, Apache2.2.3, PHP 5.2 and GLPI was upgraded from 0.68.3.  My Exchange server is running 2003 R2 and this is what appears in the Exchange POP logs when I try to get mail in GLPI.

,0,192.168.0.16:110,192.168.0.12:57995,+,,
,1,192.168.0.16:110,192.168.0.12:57995,>,+OK Microsoft Exchange Server 2007 POP3 service ready,
,2,192.168.0.16:110,192.168.0.12:57995,<,CAPA,
,3,192.168.0.16:110,192.168.0.12:57995,>,+OK,
,4,192.168.0.16:110,192.168.0.12:57995,>,TOP,
,5,192.168.0.16:110,192.168.0.12:57995,>,UIDL,
,6,192.168.0.16:110,192.168.0.12:57995,>,SASL NTLM,
,7,192.168.0.16:110,192.168.0.12:57995,>,SASL GSSAPI,
,8,192.168.0.16:110,192.168.0.12:57995,>,USER,
,9,192.168.0.16:110,192.168.0.12:57995,>,STLS,
,10,192.168.0.16:110,192.168.0.12:57995,>,EXPIRE 1800 SECONDS,
,11,192.168.0.16:110,192.168.0.12:57995,>,.,
,12,192.168.0.16:110,192.168.0.12:57995,<,AUTH GSSAPI,
,13,192.168.0.16:110,192.168.0.12:57995,>,+ ,
,14,192.168.0.16:110,192.168.0.12:57995,<,*,
,15,192.168.0.16:110,192.168.0.12:57995,>,-ERR The AUTH protocol exchange was canceled by the client.,
,16,192.168.0.16:110,192.168.0.12:57995,<,QUIT,
,17,192.168.0.16:110,192.168.0.12:57995,>,+OK Microsoft Exchange Server 2007 POP3 server signing off.,
,18,192.168.0.16:110,192.168.0.12:57995,-,,Local

I haven't worked out how to get to the GLPI logs yet.

Thanks

Travis

Offline

#2 2007-12-27 19:47:06

travisll
Member
Registered: 2007-06-28
Posts: 27

Re: Mail Gateways with Exchange 2007

Did you ever figure this out?

Travis Llewellyn

Offline

#3 2007-12-27 20:33:51

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Mail Gateways with Exchange 2007

Please put your GLPI in debug mode and active log in files   in your configuration


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#4 2007-12-27 21:15:14

travisll
Member
Registered: 2007-06-28
Posts: 27

Re: Mail Gateways with Exchange 2007

When I turn on Debug I get many of these messages at the top.

PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in /var/www/html/glpi/inc/auth.class.php at line 464

And I turned on filel ogging, where are the log files located?

Travis

Offline

#5 2007-12-28 00:33:32

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Mail Gateways with Exchange 2007

in files/_log


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#6 2008-01-03 02:31:59

travis_earl
Member
Registered: 2007-06-06
Posts: 2

Re: Mail Gateways with Exchange 2007

Going to the logs shows:

03-01-2008 08:18
<errorentry>
        <errornum>2</errornum>
        <errortype>Warning</errortype>
        <errormsg>array_push() [<a href='function.array-push'>function.array-push</a>]: First argument should be an array</errormsg>
        <scriptname>/var/www/glpi/plugins/activity/setup.php</scriptname>
        <scriptlinenum>58</scriptlinenum>
</errorentry>

03-01-2008 08:18
<errorentry>
        <errornum>2</errornum>
        <errortype>Warning</errortype>
        <errormsg>imap_open() [<a href='function.imap-open'>function.imap-open</a>]: Couldn't open stream {192.168.0.16/pop}</errormsg>
        <scriptname>/var/www/glpi/lib/mail/receivemail.class.php</scriptname>
        <scriptlinenum>91</scriptlinenum>
</errorentry>

03-01-2008 08:18
<errorentry>
        <errornum>2</errornum>
        <errortype>Warning</errortype>
        <errormsg>array_push() [<a href='function.array-push'>function.array-push</a>]: First argument should be an array</errormsg>
        <scriptname>/var/www/glpi/plugins/activity/setup.php</scriptname>
        <scriptlinenum>58</scriptlinenum>
</errorentry>

Offline

#7 2008-01-03 09:42:38

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Mail Gateways with Exchange 2007

With exchange , add gateway with just these settings :

Name
Entity
Server : IP
login/pass


Xavier Caillaud
Blog GLPI Infotel

Offline

#8 2008-01-08 18:32:58

travisll
Member
Registered: 2007-06-28
Posts: 27

Re: Mail Gateways with Exchange 2007

JMD wrote:

in files/_log

If I am in debug mode I get many of these messages in the php-errors.log

08-01-2008 10:42
<errorentry>
        <errornum>2</errornum>
        <errortype>Warning</errortype>
        <errormsg>Cannot modify header information - headers already sent by (output started at /var/www/html/glpi/inc/auth.class.ph
p:47)</errormsg>
        <scriptname>/var/www/html/glpi/inc/display.function.php</scriptname>
        <scriptlinenum>95</scriptlinenum>
</errorentry>

08-01-2008 10:42
<errorentry>
        <errornum>2</errornum>
        <errortype>Warning</errortype>
        <errormsg>Cannot modify header information - headers already sent by (output started at /var/www/html/glpi/inc/auth.class.ph
p:47)</errormsg>
        <scriptname>/var/www/html/glpi/inc/display.function.php</scriptname>
        <scriptlinenum>1969</scriptlinenum>
</errorentry>

08-01-2008 10:42
<errorentry>
        <errornum>2</errornum>
        <errortype>Warning</errortype>
        <errormsg>Cannot modify header information - headers already sent by (output started at /var/www/html/glpi/inc/auth.class.ph
p:47)</errormsg>
        <scriptname>/var/www/html/glpi/inc/display.function.php</scriptname>
        <scriptlinenum>1970</scriptlinenum>
</errorentry>

Offline

#9 2008-01-08 19:41:07

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Mail Gateways with Exchange 2007

these errors do not give us any interesting informations.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#10 2008-01-08 20:18:06

travisll
Member
Registered: 2007-06-28
Posts: 27

Re: Mail Gateways with Exchange 2007

08-01-2008 12:28
<errorentry>
        <errornum>2048</errornum>
        <errortype>Runtime Notice</errortype>
        <errormsg>var: Deprecated. Please use the public/private/protected modifiers</errormsg>
        <scriptname>/var/www/html/glpi/inc/user.class.php</scriptname>
        <scriptlinenum>45</scriptlinenum>
</errorentry>

08-01-2008 12:28
<errorentry>
        <errornum>2</errornum>
        <errortype>Warning</errortype>
        <errormsg>imap_open() [<a href='function.imap-open'>function.imap-open</a>]: Couldn't open stream {10.1.9.150/imap}</errorms
g>
        <scriptname>/var/www/html/glpi/lib/mail/receivemail.class.php</scriptname>
        <scriptlinenum>91</scriptlinenum>
</errorentry>

08-01-2008 12:28
<errorentry>
        <errornum>2048</errornum>
        <errortype>Runtime Notice</errortype>
        <errormsg>var: Deprecated. Please use the public/private/protected modifiers</errormsg>
        <scriptname>/var/www/html/glpi/inc/auth.class.php</scriptname>
        <scriptlinenum>47</scriptlinenum>
</errorentry>

Offline

#11 2008-01-08 21:01:56

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Mail Gateways with Exchange 2007

Couldn't open stream {10.1.9.150/imap}

Connection problem to your server.

-ERR The AUTH protocol exchange was canceled by the client.,

Need to set a user / password ?


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#12 2008-08-13 23:16:08

snowman386
Member
Registered: 2006-07-28
Posts: 88

Re: Mail Gateways with Exchange 2007

check out this thread. i found a way to get glpi to access an exchange 2007 mailbox. http://glpi-project.org/forum/viewtopic.php?id=11076

Offline

Board footer

Powered by FluxBB