Koozali.org: home of the SME Server

How do I allow relaying?

Sean Kanngiesser

How do I allow relaying?
« on: October 03, 2002, 11:31:11 PM »
On my server I have myself plus other people connecting to send and recieve e-mail from my server.. When sending out e-mail I get this

The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'sales@vamcomputers.com'. Subject 'test', Account: 'data-networks.ca', Server: 'mail.data-networks.ca', Protocol: SMTP, Server Response: '551 Sorry UNKNOWN(209.135.104.14), I don't allow unauthorized relaying. Please use another SMTP host to mail from to ', Port: 25, Secure(SSL): No, Server Error: 551, Error Number: 0x800CCC79

Is there a way to allow say that user to be able to send e-mail out even though it's not relaying?

I'm now using SME 5.1.2 Now with all the updates done

Thanks in advance

Bill Talcott

Re: How do I allow relaying?
« Reply #1 on: October 03, 2002, 11:59:51 PM »
Are you trying to send mail from the LAN, via the SME's SMTP server? By default, people outside the LAN cannot access the SMTP server. There's no authentication built-in, so anybody would be able to send any mail from your server. That will get your server blacklisted, and some mail servers will flat-out reject any mail from your server then.

If you want to give users access, you can use Nathan Fowler's POP-before-SMTP. That will allow SMTP access to anyone who creates a POP3 (or IMAP) connection first. It's not 100% secure, but it generally means that someone is checking their mail before sending, indicating that they're a valid user.

If you're getting this error from a client inside the LAN, I think sometimes mail servers are setup to allow SMTP connections from certain servers or something. Having the SME use the ISP's SMTP server might fix that. Just going by what I've read on this...

Nathan Fowler

Re: How do I allow relaying?
« Reply #2 on: October 04, 2002, 08:05:14 AM »
The URL is http://www.stickit.nu/pop-before-smtp, if an upgrade to 5.5 is feasible I would recommend doing so as SSL SASL is much more secure, information about enabling smtp relaying for E-Smith 5.5 and well as pre-5.5 can be found in the above link.

Bill, thanks for fielding this one for me.  Much appreciated.

Nathan

Sean Kanngiesser

Re: How do I allow relaying?
« Reply #3 on: October 06, 2002, 01:54:15 AM »
Do I need to install all of the packages or just the ones I need? I only really need the SMTP and I am running SME Server 5.5.
 
 
Can I just install that one and be ok?
 
Or would I have to install all of them?