Hi, here is my problem:
I got a server with IIS7 and no Mail Servers and other server for MailEnable only.
I can't sent mail from my webserver (php/ASP) to my domains, because the IP is not local
I added the webserver IP as a relay but only work if a send mail to domains outside of the mailserver, i can't sent email to my own domains
How can i configure mailenable to detect the webserver IP as a local?
Multiple Server Configuration
-
- Site Admin
- Posts: 9738
- Joined: Mon Mar 22, 2004 4:44 am
- Location: Melbourne, Victoria, Australia
Re: Multiple Server Configuration
Hi,
What is reported within the SMTP activity and debug log files when you try and send from the web server? Post up a log snippet if possible.
What is reported within the SMTP activity and debug log files when you try and send from the web server? Post up a log snippet if possible.
Regards,
Ian Margarone
MailEnable Support
Ian Margarone
MailEnable Support
Re: Multiple Server Configuration
02/08/12 20:31:26 SMTP-IN 1D50EC9CCB66468CA913A8AF48C6724F.MAI 860 10.51.0.71 220 MailEnable 0 0
02/08/12 20:31:26 SMTP-IN 1D50EC9CCB66468CA913A8AF48C6724F.MAI 860 10.51.0.71 HELO HELO Server1 250 Requested mail action okay, completed 43 10
02/08/12 20:31:26 # ME-IXXXX: [860] An attempt to send as mail from ventas@mydomain.com occurred but the sender did not authenticate and the IP address (10.51.0.71) is not defined as a local IP address.
02/08/12 20:31:26 SMTP-IN 1D50EC9CCB66468CA913A8AF48C6724F.MAI 860 10.51.0.71 MAIL MAIL FROM:<ventas@mydomain.com> 551 This mail server requires authentication before sending mail from a locally hosted domain. Please reconfigure your mail client to authenticate before sending mail. 169 39
02/08/12 20:31:26 SMTP-IN 1D50EC9CCB66468CA913A8AF48C6724F.MAI 860 10.51.0.71 QUIT QUIT 221 Service closing transmission channel 42 6
02/08/12 20:31:26 # ME-I0074: [860] (Debug) End of conversation
WebServer (10.51.0.71) IIS7 (no mailservers)
MailServer (10.51.0.69) Dedicated MailEnable server
Config PHP on webserver
Sendmail= 10.51.0.69
Port= 25
I need to use this because i don't want to authenticate in script that use mail function
On webserver IIS7 i have the site for mydomain.com
On Mailserver have the postoffice for the domain mydomain.com
I tryed to add the 10.51.0.71 to relay, but don't work, because i'm sending to a local domain
I temporary fixed this adding 10.51.0.71 to the registry "Inbound Server Bindings" in this MailEnable thinks that 10.51.0.71 is a local IP
I need a correct config or solution, please
02/08/12 20:31:26 SMTP-IN 1D50EC9CCB66468CA913A8AF48C6724F.MAI 860 10.51.0.71 HELO HELO Server1 250 Requested mail action okay, completed 43 10
02/08/12 20:31:26 # ME-IXXXX: [860] An attempt to send as mail from ventas@mydomain.com occurred but the sender did not authenticate and the IP address (10.51.0.71) is not defined as a local IP address.
02/08/12 20:31:26 SMTP-IN 1D50EC9CCB66468CA913A8AF48C6724F.MAI 860 10.51.0.71 MAIL MAIL FROM:<ventas@mydomain.com> 551 This mail server requires authentication before sending mail from a locally hosted domain. Please reconfigure your mail client to authenticate before sending mail. 169 39
02/08/12 20:31:26 SMTP-IN 1D50EC9CCB66468CA913A8AF48C6724F.MAI 860 10.51.0.71 QUIT QUIT 221 Service closing transmission channel 42 6
02/08/12 20:31:26 # ME-I0074: [860] (Debug) End of conversation
WebServer (10.51.0.71) IIS7 (no mailservers)
MailServer (10.51.0.69) Dedicated MailEnable server
Config PHP on webserver
Sendmail= 10.51.0.69
Port= 25
I need to use this because i don't want to authenticate in script that use mail function
On webserver IIS7 i have the site for mydomain.com
On Mailserver have the postoffice for the domain mydomain.com
I tryed to add the 10.51.0.71 to relay, but don't work, because i'm sending to a local domain
I temporary fixed this adding 10.51.0.71 to the registry "Inbound Server Bindings" in this MailEnable thinks that 10.51.0.71 is a local IP
I need a correct config or solution, please
-
- Site Admin
- Posts: 9738
- Joined: Mon Mar 22, 2004 4:44 am
- Location: Melbourne, Victoria, Australia
Re: Multiple Server Configuration
Hi,
The the 551 error is the result of the SMTP Security option for "Address spoofing". You need to disable the option or alternatively if you are running version 6 you set the option to allow privileged IP address to impersonate. YOu will find the Address spoofing option under the SMTP security tab.
The the 551 error is the result of the SMTP Security option for "Address spoofing". You need to disable the option or alternatively if you are running version 6 you set the option to allow privileged IP address to impersonate. YOu will find the Address spoofing option under the SMTP security tab.
Regards,
Ian Margarone
MailEnable Support
Ian Margarone
MailEnable Support
Re: Multiple Server Configuration
Works perfectly, i removed the IP from the registry for your records i had to add the IP 10.51.0.71 to the White list, because fail PTR. once white listed all works fine!
Thanks you so much!
Thanks you so much!
-
- Posts: 3
- Joined: Fri Sep 18, 2009 11:39 am
Re: Multiple Server Configuration
Hi,
I have the same problem. I have two mail servers:
On first one I have locally: domain1 and domain2 mail hosted,
On the second one, I only have domain2 mail hosted. So, when I try to send an email from the domain2 webmail (or without it) to the other server domain1 mail server I receive this error.
I have set the option to allow privileged IP address to impersonate (Spoofing option) but I have 5.52 ME version on it. I have also whitelisted the IP Address of the other server. But the problem goes on. Have I forgotten anything to do?
Thank you in advance,
Guillermo
I have the same problem. I have two mail servers:
On first one I have locally: domain1 and domain2 mail hosted,
On the second one, I only have domain2 mail hosted. So, when I try to send an email from the domain2 webmail (or without it) to the other server domain1 mail server I receive this error.
I have set the option to allow privileged IP address to impersonate (Spoofing option) but I have 5.52 ME version on it. I have also whitelisted the IP Address of the other server. But the problem goes on. Have I forgotten anything to do?
Thank you in advance,
Guillermo