Koozali.org: home of the SME Server

Unable to send email to external addresses since upgrade

Offline edb

  • *
  • 548
  • +0/-0
Unable to send email to external addresses since upgrade
« on: February 25, 2011, 05:28:56 PM »
I have upgraded to Beta6 and since the upgrade internal users can send email to other internal users but no one can send email to external addresses.
The error is
Code: [Select]
550 relaying deniedI'm running in server only mode.

I can however, send email from the outside world using the advanced setting in Outlook with SSL enabled SMTP port 465 and POP3 995 without issue.
This is a head scratcher for sure.
Any assistance is appreciated.

edb
......

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Unable to send email to external addresses since upgrade
« Reply #1 on: February 25, 2011, 05:40:19 PM »
edb, please, please, please start searching before asking questions. A lot of questions you asked recently could have been found easily. Please invest some of your own time, before having us do your searching, as the first hit should explain the problem and also give you solutions on what to do.

Search in the forum box on "550 relaying denied beta 6".

Apart from that there is also this: http://wiki.contribs.org/Email_-_Setting_up_E-mail_clients_for_SME_8.0

Please keep in mind that when using beta software you are supposed to track changes and read release notes as well as other information that is published.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline edb

  • *
  • 548
  • +0/-0
Re: Unable to send email to external addresses since upgrade
« Reply #2 on: February 25, 2011, 06:15:09 PM »
Hi Cactus,

Thanks for the suggestion but I had already tried all that and I just tried it again following the steps as listed but it just will not send from the local LAN side no matter what I do.
From home I have my work account setup so that I can get my email either at work or at home using Outlook 2003 and since I have it setup to use SSL on port 465 & POP3 on 995 I have no problem sending email to anyone either internal or external.

From the internal network we can send to other internal users but not to external users without the 550 relaying denied error message.

Thanks again but any other ideas
......

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Unable to send email to external addresses since upgrade
« Reply #3 on: February 25, 2011, 06:17:27 PM »
Thanks again but any other ideas

report any problem in bugzilla, this is the only way

Offline edb

  • *
  • 548
  • +0/-0
Re: Unable to send email to external addresses since upgrade
« Reply #4 on: February 25, 2011, 07:07:07 PM »
Ok but it is very weird since sending email from Webmail seems to work fine so it is related to Outlook and the security settings it appears and the issues only apply to the internal LAN users not the external users that use the SSL settings.

edb
......

Offline edb

  • *
  • 548
  • +0/-0
Re: Unable to send email to external addresses since upgrade
« Reply #5 on: February 25, 2011, 07:28:21 PM »
Just one more thing to add and that is that it appears that Outlook 2007 with the ability to set the type of encryption to Äuto"seems to work fine so it tells me that it is definitely related to Outlook 2003. The question is "what's the fix?".

edb
......

Offline edb

  • *
  • 548
  • +0/-0
Re: Unable to send email to external addresses since upgrade (SOLVED)
« Reply #6 on: February 25, 2011, 07:38:43 PM »
Man do I feel stupid!

Sorry to waist anyone's time but it appears I did over look one setting and I don't know how I missed it but it was the setting below in Server Manager.
It must have changed by the upgrade to beta6 because I had it on both before.
Code: [Select]
SMTP authentication Allow both SMTP and SSMTP
edb
......

Offline MSmith

  • *
  • 675
  • +0/-0
Re: Unable to send email to external addresses since upgrade
« Reply #7 on: February 27, 2011, 07:21:16 PM »
If I may ask, why do you even need/want SMTP authentication for users on the internal LAN?
...

Offline edb

  • *
  • 548
  • +0/-0
Re: Unable to send email to external addresses since upgrade
« Reply #8 on: February 27, 2011, 07:55:41 PM »
I don't but it appears to be a default feature of SME8 beta6 even on the internal LAN.
It is a security feature and not a big deal but does mean that the client software needs a couple tweaks.
......

Offline Brave Dave

  • *
  • 185
  • +0/-0
Re: Unable to send email to external addresses since upgrade
« Reply #9 on: March 01, 2011, 11:48:22 PM »
hey this is the RelayRequiresAuth thing

Code: [Select]
config setprop qpsmtpd RelayRequiresAuth disabled
 signal-event email-update

It's in bugzilla at:
http://bugs.contribs.org/show_bug.cgi?id=5575
.:DB:.

Offline edb

  • *
  • 548
  • +0/-0
Re: Unable to send email to external addresses since upgrade
« Reply #10 on: March 02, 2011, 01:37:26 AM »
Thanks for sharing that information David!

It is too late for me since I have already made all the changes to use SSL on all the client PCs but it sure would have been easy had I seen your post earlier.
It will certainly help others so thanks for taking the time to post it!

-edb
......