Hi all,
I installed Mediawiki in a company intranet behind a proxy server. The smtp server the company is using is a Microsoft Exchange Server. My problem is that I don't know how I can specify this Microsoft Exchange Server to send my mail. I specified the address of the Exchange server in the php.ini but I got the error message that the connection failed.
I also tried to use the internal Microsoft smtp server (IIS 5) on the local machine. But it also did not connect to the destination mail server.
I would appreciate any help how to configure the smtp server in my case.
Mei
Where have you received the error message?
From your wiki box, can you access the smtp server manually? (e.g. telnet
mail.server.local 25)
----- Original Message ----- From: "Mei Wu" mwu.mailbox@gmail.com To: mediawiki-l@wikimedia.org Cc: wikitech-l@wikimedia.org Sent: Monday, July 03, 2006 7:25 AM Subject: [Wikitech-l] Microsoft Exchange Server and Mediawiki
Hi all,
I installed Mediawiki in a company intranet behind a proxy server. The smtp server the company is using is a Microsoft Exchange Server. My problem is that I don't know how I can specify this Microsoft Exchange Server to send my mail. I specified the address of the Exchange server in the php.ini but I got the error message that the connection failed.
I also tried to use the internal Microsoft smtp server (IIS 5) on the local machine. But it also did not connect to the destination mail server.
I would appreciate any help how to configure the smtp server in my case.
Mei _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Hi,
I am running a local Microsoft IIS 5 smtp server on the Windows XP machine. In the php.ini, I have specified localhost as the smtp server. When I go to the Wiki logon page, type my username and hit the "Email password" button, I get the following error message:
Error sending mail: Failed to connect to localhost:25 [SMTP: Failed to connect socket: An established connection was aborted by the software in your host machine. (code: -1, response: )]
I don't know what the problem is. When I try to logon to the smtp server using "telnet localhost 25", it does not work ("Connect failed"). Thanks for your help.
Mei
On 7/3/06, xaosflux xaosflux@gmail.com wrote:
Where have you received the error message?
From your wiki box, can you access the smtp server manually? (e.g. telnet
mail.server.local 25)
----- Original Message ----- From: "Mei Wu" mwu.mailbox@gmail.com To: mediawiki-l@wikimedia.org Cc: wikitech-l@wikimedia.org Sent: Monday, July 03, 2006 7:25 AM Subject: [Wikitech-l] Microsoft Exchange Server and Mediawiki
Hi all,
I installed Mediawiki in a company intranet behind a proxy server. The smtp server the company is using is a Microsoft Exchange Server. My problem is that I don't know how I can specify this Microsoft Exchange Server to send my mail. I specified the address of the Exchange server in the php.ini but I got the error message that the connection failed.
I also tried to use the internal Microsoft smtp server (IIS 5) on the local machine. But it also did not connect to the destination mail server.
I would appreciate any help how to configure the smtp server in my case.
Mei _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
On 7/4/06, Mei Wu mwu.mailbox@gmail.com wrote:
I am running a local Microsoft IIS 5 smtp server on the Windows XP machine. In the php.ini, I have specified localhost as the smtp server. When I go to the Wiki logon page, type my username and hit the "Email password" button, I get the following error message:
Error sending mail: Failed to connect to localhost:25 [SMTP: Failed to connect socket: An established connection was aborted by the software in your host machine. (code: -1, response: )]
I don't know what the problem is. When I try to logon to the smtp server using "telnet localhost 25", it does not work ("Connect failed"). Thanks for your help.
Quite simply the problem is your mail server is not behaving itself - nothing to do with MediaWiki. I'm a bit confused about what your mail server is though - is it smtp, exchange, or IIS? I thought those three things were quite separate, but perhaps not?
Steve
Right now, the internal Microsoft smtp server, which is included in the IIS 5, is running. Because the Wiki is running on the same computer as the smtp server does, I am little bit confused what the problem might be. I configured the smtp server to allow relay with no authentication, but it didn't work. Are there any specific configurations I have to make to get the smtp server to send out emails in a LAN ?
Thanks for your help.
Mei
On 7/4/06, Steve Bennett stevage@gmail.com wrote:
On 7/4/06, Mei Wu mwu.mailbox@gmail.com wrote:
I am running a local Microsoft IIS 5 smtp server on the Windows XP machine. In the php.ini, I have specified localhost as the smtp server. When I go to the Wiki logon page, type my username and hit the "Email password" button, I get the following error message:
Error sending mail: Failed to connect to localhost:25 [SMTP: Failed to connect socket: An established connection was aborted by the software in your host machine. (code: -1, response: )]
I don't know what the problem is. When I try to logon to the smtp server using "telnet localhost 25", it does not work ("Connect failed"). Thanks for your help.
Quite simply the problem is your mail server is not behaving itself - nothing to do with MediaWiki. I'm a bit confused about what your mail server is though - is it smtp, exchange, or IIS? I thought those three things were quite separate, but perhaps not?
Steve _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
On 7/4/06, Mei Wu mwu.mailbox@gmail.com wrote:
Right now, the internal Microsoft smtp server, which is included in the IIS 5, is running. Because the Wiki is running on the same computer as the smtp server does, I am little bit confused what the problem might be. I configured the smtp server to allow relay with no authentication, but it didn't work. Are there any specific configurations I have to make to get the smtp server to send out emails in a LAN ?
If you can't telnet to the server on port 25, then that's your biggest problem. Relaying doesn't even come into it. It's possibly listening on a different port? I suspect that either: * the server is not actually running * it's not actually a genuine SMTP server that receives SMTP requests on port 25 * something else like a firewall is blocking you.
Steve
Many common antivirus products have port blocking of port 25 built in to them as well. Check your AV logs/disable the service for testing. xaosflux
----- Original Message ----- From: "Steve Bennett" stevage@gmail.com To: "Wikimedia developers" wikitech-l@wikimedia.org Sent: Tuesday, July 04, 2006 5:53 AM Subject: Re: [Wikitech-l] Microsoft Exchange Server and Mediawiki
On 7/4/06, Mei Wu mwu.mailbox@gmail.com wrote:
Right now, the internal Microsoft smtp server, which is included in the IIS 5, is running. Because the Wiki is running on the same computer as the smtp server does, I am little bit confused what the problem might be. I configured the smtp server to allow relay with no authentication, but it didn't work. Are there any specific configurations I have to make to get the smtp server to send out emails in a LAN ?
If you can't telnet to the server on port 25, then that's your biggest problem. Relaying doesn't even come into it. It's possibly listening on a different port? I suspect that either:
- the server is not actually running
- it's not actually a genuine SMTP server that receives SMTP requests on
port 25
- something else like a firewall is blocking you.
Steve _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org