Having a local SMTP server to relay emails to my website's mail server
-
I'm working in a small company. We send our emails through company's mail server which is located (along with company's website) on a shared web host. Once in a while our Internet connection is down or the personnel have to wait a long time to upload their emails (with considerable size of attachments) to the mail server. I would like to setup a local mail server and ask everyone to use this one instead. Then acting as a relay, this local mail server should relay emails to the one on the Internet (emails are always relayed to the same remote mail server). This way if our Internet connection is down, users can still send their emails to local mail server regardless and it's local mail server's responsibility to relay them once the connection is back up. And since it's a local mail server, it will take much less time for users to upload their attachments to it. Here are my preferences / concerns (if possible): I would like not to register or assign a domain name (mycompany.com) or MX record for my local mail server. This mail server is not an open relay and its lonely responsibility is to connect to a singular remote mail server and I hope this requirement eliminates the necessity of a DNS. I've heard there are concerns regarding my emails to be labeled as spam if they are relayed this way. Which I definitely don't want it to happen. Perhaps one of most important points to make is security. What are the security issues in this scenario? And how should I tackle them? So are my expectations reasonable? Can I do this? If yes I'll be really grateful if someone could direct me to the right path, what to read and how to do it. ps. If it matters, I'm planning to use POSTFIX.
-
Answer:
We run a local relaying email server (exim4) in our LAN, and it works fine. No DNS changes are needed. Two ways to do it: Configure all of the LAN email clients to use the local mail server. That might be feasible if, say, everyone is using a local webmail app, and you can just configure that. But if you have a bunch of diverse desktop clients it could be a lot of work. Or... Configure your LAN router to transparently redirect outgoing SMTP connections to the local mail server. Note that the destination port might be 25 (smtp), 465 (ssmtp), or 587 (submission). For security issues, I can think of two: Of course you don't want your LAN email server accessible to the general internet. Be sure that your LAN firewall doesn't allow incoming connections on those three ports, and to be double sure, configure postfix to reject connections from outside of the LAN. Mail sent within the LAN could be delivered directly within the LAN, with no need to go through the upstream SMTP server. That's fast, but it would cut out any logging or security or antivirus scanning that the company server is doing. I don't know any reason why this should cause outgoing messages to be flagged as spam. Spam traps can use whatever algorithm they want, but email commonly passes through multiple hops on the way to its destination. Your server would just be another hop. Maybe you heard that spam filters will flag messages coming through known open relays, but your server won't be that.
Mehran at Server Fault Visit the source
Related Q & A:
- What is the outgoing e-mail server (SMTP) name?Best solution by Yahoo! Answers
- What is Yahoo's mail server address to receive/send mail in Outlook?Best solution by Yahoo! Answers
- What is "local ISP SMTP mail server?Best solution by answers.yahoo.com
- Is there still a problem with Yahoo's SMTP server?Best solution by Yahoo! Answers
- What are yahoo's mail server names?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.