Page 1 of 1
Outbound mail relay or outbound smarthost?
Posted: 27 Apr 2016 20:42
by e-d-i-t
Hi, just a newbie question, but in my situation at home behind a DSL provider, I can only send mail smtp out thru my provider.
I have now set up outbound mail relay to send messages from my mailserver to my smtp-provider.
But what is the main difference between Outbound mail relay and outbound smarthost?
Do I use Outbound mail relay in my situation?
Re: Outbound mail relay or outbound smarthost?
Posted: 27 Apr 2016 21:32
by irow
The outbound mail relay settings are used to tell EFA to accept SMTP messages from your local mail server. You would use this if you want EFA to deliver outgoing messages to remote servers (to prevent outbound spam/viruses, for example) rather than having your local mail server deliver the message directly.
The outbound smart relay settings are used to tell EFA to route (or relay) SMTP messages to an intermediate mail server (such as your ISP), rather than delivering them directly. This is the setting you would want to use if your ISP imposes limitations on the SMTP ports, although you will also need to configure the outbound mail relay to allow your mail server to send messages through EFA.
May I ask what kind of server you are hosting on a home DSL connection? It may be that a business-grade internet connection is more appropriate for your application.
Re: Outbound mail relay or outbound smarthost?
Posted: 27 Apr 2016 22:34
by e-d-i-t
From your answer I understand I need to set the outbound mail relay the same as the outbound smart relay and it will actually filter outgoing mail as well.
I host a Windows 2012R2 with Hyper-V connected thru a cable-provider at 150/15Mbit for a few websites and mailserver (along with carddav/caldav/webmail etc.) hMailserver is running as mailserver on W2012R2.
I use a bsmtp-service from my domain-name hoster to actually get all mail.
Chello mail for instance has the nagging fact that it also checks RBL's for outgoing mails so it never reaches my mailserver as cable-networks are listed in the list "home and dynamic IP's".
Using the bsmtp as first priority MX, it will reach my mailserver.
Nevertheless, the bsmtp also has a spamfilter although set to low standards, I will recieve mail just from 1 IP address, but I use EFA for the virusscanner mostly and maybe the few spam which arrives as well.
SpamAssasin and ClamAV work better in a Linux environment than the ported Windows versions with all the stuff you need to get and keep them running as a service. (I got it working, but I like the new gateway-setup more)
Re: Outbound mail relay or outbound smarthost?
Posted: 27 Apr 2016 22:46
by irow
Your outbound mail relay should be the local IP address of your hMailserver.
Your outbound smarthost should be configured with your ISP's SMTP server settings.
Then set hMailserver to relay outbound messages through EFA.
Depending upon how your ISP transfers messages, you may continue to have problems with RBLs if the headers show the origination IP as one of a dynamic/home block. You should consider moving your servers to a true hosting facility or use a business-grade internet connection, it sounds like your current set up may be less than ideal.
Re: Outbound mail relay or outbound smarthost?
Posted: 27 Apr 2016 22:52
by e-d-i-t
It seems to work so far for the couple of years with hmailserver.
I have added a dns-record for the gateway so it will be valid in a reverse check (i hope) and long time ago there is a pointer record added by my dns-provider.
It will be trail & error to figure it out I guess. I'm not that familiar with networks and mailservers into that dept.
Thanks for your quick reply!