Koozali.org: home of the SME Server

setting up "limited" mail relay

steve_n

setting up "limited" mail relay
« on: March 12, 2004, 05:26:56 AM »
I need to be able to relay mail from a specific external IP address to my SME box.  I have looked at Darrell May's contrib one "How to restrict access to the SMTP server" , but it mentions modifying the /etc/smtpd_check_rules file.  I am using SME Server 6.0 and this file doesn't seem to exist.  Is there another file that I can modify in this version or am I looking in the wrong location?

cc_skavenger

limited mail relaying
« Reply #1 on: March 12, 2004, 06:44:54 AM »
This is pretty easy to do.  In the server manager, add in the ip addresses that you want to allow to relay.  These IP addresses will be added to the local networks section of the server manager.  Any ip addresses added here will be allowed to access any of the services that can be accessed on the LAN side of the server.  Make sure that the server is in "Server and Gateway" mode and you should have no trouble.  You must know, though, that these IP addresses will be able to access everything that you can on the LAN, ie. server-manager, FTP if it is set to private, etc...  
Also, if you want to specify only one ip address, use the subnet 255.255.255.255.

Hope this helps

Louis

Re: limited mail relaying
« Reply #2 on: June 21, 2004, 02:33:24 PM »
Quote from: "cc_skavenger"
This is pretty easy to do.  In the server manager, add in the ip addresses that you want to allow to relay.  These IP addresses will be added to the local networks section of the server manager.  Any ip addresses added here will be allowed to access any of the services that can be accessed on the LAN side of the server.  Make sure that the server is in "Server and Gateway" mode and you should have no trouble.  You must know, though, that these IP addresses will be able to access everything that you can on the LAN, ie. server-manager, FTP if it is set to private, etc...  
Also, if you want to specify only one ip address, use the subnet 255.255.255.255.

Hope this helps


I have recently moved my SME 6.0 server from Home (my local LAN) to another office. I want to be able to send mails to any recipients i want regardless of domain. (Relaying)

As far as I can see I have 2 options:

1. Add my IP's (home & Work) into the server manager.
2. Set up SSL authentication on the smtp server.

I am favouring option 2 because this will allow my servers other users (currently about 35) to send emails externally.

Is SMTP authentication installed in SME 6.0? Or is it easy to setup.

Many thanks,
Louis

bobk

setting up "limited" mail relay
« Reply #3 on: June 22, 2004, 01:24:05 AM »
Go to pagefault.org. Secure Mail works fine on SME 6.x and is easy to setup and use.

Louis

setting up "limited" mail relay
« Reply #4 on: June 22, 2004, 10:55:12 AM »
Quote from: "bobk"
Go to pagefault.org. Secure Mail works fine on SME 6.x and is easy to setup and use.


Thank you very much bobk that worked superbly!