Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: genisys on May 22, 2012, 11:52:54 PM
-
Hello -
I have setup a few work phones to receive mail and it is working just fine, however they will not send mail and get a "connection error" when attempting to send. I suspect it's because the ISPs for the these cell phones, T-mobile and Sprint, do now allow sending of email on port 25......however I may be wrong. I have read in the how-tos that there is a way to specify an alternative port, which I did try and it did not work. I cannot find any other clear info on sending/receiving mail from a cell. We are running on version 7.2.
Does anyone have any experience with this that could help me out?
-
genisys
Use these settings for iPhones which work fine for me
They would be identical/similar for any other smartphone
Outgoing mail server
SMTP settings
server port = 993
Authentication = password
SSL = ON
host name = servername.mydomain.name
Incoming mail server (under Advanced on iPhone)
IMAP settings
server port = 465
Authentication = password
SSL = ON
host name = servername.mydomain.name
IMAP path prefix = /
works fine on iPhones
I'm sure I have seen the specific settings posted to these forums a year or two or three ago so search on iPhone etc
Modified this post with exact settings for the record
-
If I change the outgoing/incoming mail server settings in the phone to what you mentioned, it is not able to connect. The only settings that work are incoming - port 110 with no security type and outgoing - port 25, also with no security type. How do I change what ports mail is sent and received on within the SME Server?
-
genisys
Honestly how do you expect us to know, you do not even tell us what phone model you are using!
I have specified ports in older Nokia smartphones and iPhones, so look in the settings or consult your manual !
You should also contact your carrier to see what ports they support or allow.
As I said search these forums on iPhone for specifics, it has been answered before.
I'm certain if you Google for your phone setup there will be instructions on the net.
Refer to this for generalised setup, it's much the same on phones or PC's.
http://wiki.contribs.org/Email_-_Setting_up_E-mail_clients_for_SME_8.0
-
Thanks for the response. Sorry I didn't include the model of phone, it's a Samsung Galaxy S2 through T-mobile and another Samsung Galaxy S2 through Sprint. There is also a 3rd phone that I am not sure of the model, but is a Sprint phone. All can recieve, none can send.
At the bottom of the link you provided there is a note that says this "Perhaps it would be better for SME Server to switch to Port 587 transmission, which the is the recommended port in the SMTP standards and does not require client installation of certificates in order to function."
This is exactly what I am trying to do. I am trying to configure the SME Server to SEND emails on port 587 (or 465), instead of 25. The server is what designates the port, not the client. Are there not instructions on how to do this?
As you suggested, I will search for "iphone" and see what else I can dig up. Please don't assume that I haven't searched for answers, I've done a lot of searching and tried several things on the server and so far I have not been able to fix this issue.
-
genisys
You are approaching it the wrong way trying to change the server.
I meant that you should live with the existing standard ports and learn how to change the ports used by your phone, rather than trying to change your server.
If you change the smtp mail server port from 25 to something else, then no other mail servers will be able to talk to your sme mail server. Port 25 is standard.
Rather than sending out via your sme server, perhaps you have to send via your carriers smtp server, so ask them.
You do not tell us what configuration settings you are using (all of them) so again it is hard for us to answer.
If you configure for IMAP on your phone, then sme server is already using ports 465 & 993, so if correctly setup on your phone, it should work.
Again I say check with your phone carrier.
Search Google on this, I'm sure you will find answers
Samsung Galaxy S2 configuring mail settings
-
hi
maybe this might help, external imap mail settings
config setprop imap access public
signal-event email-update
port 143
SMTP authentication
Disabled Allow both SMTP and SSMTP Allow SSMTP (secure) -server-manager
SMTP
port 465
ssl/tls
normal password
also the ports must be opened if any thing in between, router etc.
-
If I change the outgoing/incoming mail server settings in the phone to what you mentioned, it is not able to connect. The only settings that work are incoming - port 110 with no security type and outgoing - port 25, also with no security type. How do I change what ports mail is sent and received on within the SME Server?
I would recommend setting up a remote PC using Thunderbird for email access - this will expose the setup requirements you need to worry about.
If you can't configure pop3 or imap over ssl to your sme from the phones, I suspect you may be having issues with a self-signed certificate -- (remote thunderbird setup would tell you this). If I'm correct, you could try opening webmail from the phones, which provides (on iPhones, anyway) a prompt asking if you want to trust the SME Server's self-signed certificate.
For sending, I still find I need to do this on my sme8beta7 to support remote email clients:
config setprop qpsmtpd TlsBeforeAuth 0
config setprop smtpd Authentication enabled
signal-event email-update
... After which, my remote devices (iPad, blackberry, laptop, etc) can send email using smtp over ssl on port 465.
Some devices assume that smtp over ssl uses TLS, and require that I manually change the port number on the device from 25 to 465.
-
We are running on version 7.2.
Does anyone have any experience with this that could help me out?
I have no problem to setup my galaxy S2 to work with SME7.5.1
imaps port 993 (no problem with self signed certificate)
smtps port 465 (no problem with self signed certificate)
I strongly advise you to upgrade your SME to 7.5.1; 7.2 is quite OLD and should not be exposed to wan
since you don't tell us if your SME is in server only or server and gateway mode, be sure to adjust port forward
don't use non secured services (pop3, imap, smtp), i.e. use only ssl services
-
Thank you very much to everyone for the help with this. And yes, I'm sorry............last night I had been thinking and realized that I failed to tell you a vital part of this. We are currently running in "server only" mode and I changed it from being our gateway to server-only mode about two weeks ago.
-
Thank you very much to everyone for the help with this. And yes, I'm sorry............last night I had been thinking and realized that I failed to tell you a vital part of this. We are currently running in "server only" mode and I changed it from being our gateway to server-only mode about two weeks ago.
well.. in this case you should check the port forwarding on your router/firewall in first instance..
-
I installed a SonicWALL and port forwarding was working fine. We could send and receive emails from here in the office using ports 110 in and 25 out. Webmail worked great. The only problem was with the phones, when I create the port forwarding for the email server - it automatically allows/forwards traffic to the SME Server for the below services:
Services:
SMTP (TCP 25)
POP3 (TCP 110)
IMAP (TCP 143)
I just realized that it did NOT however create outgoing ports and so I manually created a service for Port 465. I am now able to send emails from our phones.
I sincerly thank everyone for replying to my post.
-
create a new service (I think you can do it, even the cheapest firewall allow it) for pop3s and imaps (995, 993)
I repeat, don't use unsecured services.. your credentials will be in clear text.. and we are talking about phones..
-
Hmmm, I thought Port 465 was secure, using SSL.
-
Hmmm, I thought Port 465 was secure, using SSL.
Port 465 allows only sending of messages, not reading. For reading you need pop3 or imap (cleartext), or pop3s or imaps (using SSL).
-
We are currently running in "server only" mode and I changed it from being our gateway to server-only mode about two weeks ago.
Quite obviously you changed more than just that. You must have reconfigured your network as well. If I change my server from servergateway to serveronly I get a nice LAN with no internet connection.
Why did you change from servergateway?
-
Ok, thank you.
-
I changed it from server-gateway to server only because I added a SonicWALL NSA as our gateway.
-
I changed it from server-gateway to server only because I added a SonicWALL NSA as our gateway.
But why did you do that? What is SonicWall doing that SME does not or cannot do?
-
Another thing I wanted to post, in case others come across this problem is to make sure that if your users are using Outlook that it is NOT set to "delete emails from the server". Otherwise, the phone won't have access to them... That was a headache with one of the phones. Other than that, all phones are working. Thanks again to all.
-
genisys
As you now state you are leaving incoming mail on the sme server, you should look at changing mail client settings to IMAP rather than POP.
That way whatever email you send or receive, folder changes etc at any email client including workstations, phones, remote workstations and even webmail (accessed via web browser from home or anywher), will all show the same. You can set the email clients to retain local copies of messages if that is important.
IMAP allows better overall management of email across a number of end user devices. Whatever you do on one, is reflected to all others, even adding new folders and moving messages to archive folders. eg you can send on a workstation and see all your sent messages on the phone and so on.
-
As you now state you are leaving incoming mail on the sme server, you should look at changing mail client settings to IMAP rather than POP.
That way whatever email you send or receive, folder changes etc at any email client including workstations, phones, remote workstations and even webmail (accessed via web browser from home or anywher), will all show the same. You can set the email clients to retain local copies of messages if that is important.
IMAP allows better overall management of email across a number of end user devices. Whatever you do on one, is reflected to all others, even adding new folders and moving messages to archive folders. eg you can send on a workstation and see all your sent messages on the phone and so on.
This is standard advice, and IMO should be added to the documentation if it is not there already. POP is an already ancient legacy protocol, and should be rarely if ever used these days.
-
This is standard advice, and IMO should be added to the documentation if it is not there already. POP is an already ancient legacy protocol, and should be rarely if ever used these days.
Bug opened for consideration by DocTeam:
http://bugs.contribs.org/show_bug.cgi?id=6941