Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: maryam on May 07, 2006, 12:35:39 PM

Title: Relaying,help!
Post by: maryam on May 07, 2006, 12:35:39 PM
Hi dear friends  :-)
Does anybody  help me  with my mail server configurations?I have installed SME-SERVER 7.0rc2 as my mail server ,and i want it to relay my local network mails to an internet mail server,so it'll be possible for our users not to connect to internet to check their mails.

And also the problem is that i want it to determine which mail to relay ,and which mail Not to relay(when it is local mail delivery in our network between our users Do Not relay it),IS THERE ANY WAY I CAN DO THAT?   :-D
Title: Relaying,help!
Post by: cactus on May 07, 2006, 01:26:59 PM
Probably sending will not be the problem, but receiving is a s providers don't like mail relays, serves handling mail that is neither have a destination nor a origing at there own domain. This way they reduce the effect of spambots and virusses who usually send a lot of mail to a large variety of users using fake randomly generated e-mailaddresses)

To receive mail on you server you will have to configure your providers DNS server to have a backup (or mailrelay) server like this:

Code: [Select]
MX 10 your.mailserver.net
MX 20 your.provider.mailserver.net


Mail servers will first try to deliver mail to the server with the highest priority, your mailserver. As they cannot reach it they will try to deliver mail at the mailserver of your provider. The mailserver of your provider is able to see your mailserver and will deliver the mail to your server.

For this change to be fully effective you will gernally have to wait a few days as DNS servers around the world have to take over the DNS entries of your provider, which takes a few days.
Title: Re: Relaying,help!
Post by: CharlieBrady on May 07, 2006, 05:00:35 PM
Quote from: "maryam"

And also the problem is that i want it to determine which mail to relay ,and which mail Not to relay(when it is local mail delivery in our network between our users Do Not relay it),IS THERE ANY WAY I CAN DO THAT?


There is no need to SHOUT!

Yes, there is a way to do that. That is the standard behaviour of the server. Mail which is for a user at the local domain name is delivered locally. All other mail is relayed - either directly to its end destination, or via your ISP, depending on how you configure the server.

If you haven't done so, you should read the users guide from cover to cover.