Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: jonic on September 25, 2006, 06:50:22 PM

Title: access to SMTP server from outside the office
Post by: jonic on September 25, 2006, 06:50:22 PM
Can access to the smtp server be granted form outside network? Basically I want to know if users can send mails using the SME server smtp from outside the office.
Title: access to SMTP server from outside the office
Post by: KDB9000 on September 25, 2006, 07:27:09 PM
Yes. SMTP is used to send mail and you need an SMTP to send the mail. You will need to have a hole opened for port 25 and set up the DNS's MX with the right IP address to the server. After that you will put mail.domain.xxx (domain.xxx is your domain name) in SMTP (in the mail client) and it will send it's mail using SME's SMTP port and software Hope this helps.
Title: access to SMTP server from outside the office
Post by: jonic on September 25, 2006, 07:39:38 PM
Quote
You will need to have a hole opened for port 25


I think port 25 is opened by default, otherwise no mails could be sent to your domain.

From what I see the smtp is not open for relaying from outside (i.e. send emails to domains that are not hosted on the SME server). Could the smtp be opened with smtp-auth and/or ssl?
Title: access to SMTP server from outside the office
Post by: jonic on September 25, 2006, 08:22:19 PM
I forgot to mention that I enabled Allow SSMTP(secure) for SMTP authentification in the Server-Manager, but still I can't send mails from outside the office.
Title: access to SMTP server from outside the office
Post by: KDB9000 on September 25, 2006, 08:23:39 PM
I believe it is default secure connection (SSMTP). You would need to set that in the mail client. I believe if you send it SMTP and it is looking for SSMTP then it will not work. In Outlook, it is where you put the SMTP in, you click more settings and then advance. Click SSL for SMTP and that should work. I am still testing the server out and it isn't out to the net yet so I am not 100% sure on this.
Title: access to SMTP server from outside the office
Post by: jonic on September 25, 2006, 08:27:35 PM
I enabled of course SSL for smtp in the mail client but with no success. Tried also with smtp authentification (using same user and password as pop3 server).
Title: access to SMTP server from outside the office
Post by: KDB9000 on September 25, 2006, 08:33:28 PM
Then I am not sure. The STMP and POP3 account name should be the same.
Title: access to SMTP server from outside the office
Post by: mudtoe on September 25, 2006, 10:05:05 PM
Doesn't SSL SMTP use port 465?  Maybe you need to open that port.  I haven't tried using SSL.  I have my system setup with a VPN and access SMTP from the local network via the VPN.  I do know that if you install CYRUS there is a bug where CYRUS will not recognize the local networks as configured by SME-Server 7, and will only accept regular SMTP (port 25) from the subnet that the server itself resides upon.  I am using CYRUS and had to setup a proxy server to relay SMTP from the VPN subnet to the subnet of the SME server.

mudtoe
Title: access to SMTP server from outside the office
Post by: crazybob on September 25, 2006, 10:19:20 PM
You may want to take a quick look at http://www.srdhosting.com/downloads/outlook-express-setup.pdf

Bob
Title: access to SMTP server from outside the office
Post by: jonic on September 25, 2006, 10:43:52 PM
Thanks crazybob, mudtoe the missing piece was changing in the mail client the ssl smtp port to 465!