LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Email to be send from only one line. (https://www.linuxquestions.org/questions/ubuntu-63/email-to-be-send-from-only-one-line-825493/)

Harrybc 08-11-2010 03:52 AM

Email to be send from only one line.
 
I have a server ubuntu 9.10.
I have 2 adsl lines, one with a static ip for incoming mail and a dynamic
I have to do this to have backup.
Is it possible to set the server so it will only use the line with the static ip to send email?
At the moment the server uses both. It authenticates with the one supplier when it uses the other line.
The problem is that when a mall comes in and has a forwarder on my server the supplier blocks it as it thinks it is spam, because it is send from another email.
My IT guy is really battling to sort this out.
I use postfix.
Is there a way to make the server only use one line for sending
Thanks
Harry

acid_kewpie 08-11-2010 04:49 AM

There are a fair few ways to do this, like port based routing, but as this is email, i'd think the simplest way would be to use an isp smtp relay to send all mail via. You can just tell postfix to send ALL emails to a single external server, a service that most isp's will provide for various reasons like spam protection, which is fully available for their own customers to use. you just need to then route the IP address of that server through the interface you wish to use and you're away, and it fits in easily with basic networking, and means you've no need to do anything fancier.

Harrybc 08-19-2010 03:10 PM

Thanks
 
Thanks for your help.
My It guy manged to sort it out!


All times are GMT -5. The time now is 09:14 PM.