Koozali.org: home of the SME Server

Changing the outgoing SMTP port

EnglishRob

Changing the outgoing SMTP port
« on: March 06, 2006, 10:45:16 AM »
Hi there,

I'm in the process of replacing my SME 6 server with SME 7.  Due to my ISP (AOL) blocking outgoing mail on port 25, I have to use an alternative e-mail provider.

Now, to send mail, at the moment I'm having to use port 587 when I send mail from Thunderbird.

I was wondering, is there any way of setting the SME Server to send mail to my e-mail providers SMTP server using port 587 rather than port 25?

Regards,

Rob

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Changing the outgoing SMTP port
« Reply #1 on: March 06, 2006, 05:43:43 PM »
Quote from: "EnglishRob"

I was wondering, is there any way of setting the SME Server to send mail to my e-mail providers SMTP server using port 587 rather than port 25?


config set SMTPSmartHost "smtp.your.provider:587"
signal-event email-update

EnglishRob

Changing the outgoing SMTP port
« Reply #2 on: March 26, 2006, 09:50:35 PM »
Just a quick follow up to this one...

I managed to change the outgoing port okay, but I can't send mail either using the server or through webmail.

I need the server to send the mail to my mail providers SMTP server using port 587 but not encrypting it with SSH.  The server also requires authentication.

This has been an ongoing problem for me, which really is a pain when I'm trying to use webmail.

What log files should I be checking to see what is happening?

Rob

EnglishRob

Changing the outgoing SMTP port
« Reply #3 on: March 26, 2006, 10:07:58 PM »
Oh, panic over.

I think I've got it working.

Thanks for the info, it's certainly come in useful!

Rob

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Changing the outgoing SMTP port
« Reply #4 on: March 26, 2006, 10:26:11 PM »
Quote from: "EnglishRob"

I think I've got it working.


How did you get it working? Why was it not working?

EnglishRob

Changing the outgoing SMTP port
« Reply #5 on: March 27, 2006, 11:34:43 AM »
Quote from: "CharlieBrady"
Quote from: "EnglishRob"

I think I've got it working.


How did you get it working? Why was it not working?


Well I think partly it was down to my mail provider.

I did originally do what you mentioned, theconfig set SMTPSmartHost "smtp.myisp.com:587" and signal-event email-update.  Unfortanately I couldn't get it working.  I think it might have been my mail provider still blocking something.

After messing around with Thunderbird, I determined that my ISP doesn't allow e-mails using SSMTP, but they do require authentication.

I altered the outgoing SMTP server using the server manager which I'm guessing broke things.

Anyway, after doing the config set command again, and changing the e-mail providers SMTP server to yet another SMTP server which was given by my provider, it seems to be going through.

I did notice there is a few seconds delay between the SME server receving the mail and sending it on, but thats no major problem.  It works and thats the main thing.

Now all I have to do is get my router to allow through SHTTP which I seem to have configured incorrectly. :-(

Rob