LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-11-2010, 03:52 AM   #1
Harrybc
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Question 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
 
Old 08-11-2010, 04:49 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 08-19-2010, 03:10 PM   #3
Harrybc
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks

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


Reply

Tags
email, postfix



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Send email from command line markotitel Linux - Newbie 4 10-26-2009 08:41 AM
how to send email with attachments from the command line km4hr Linux - Software 1 09-18-2007 10:10 AM
send email from command line djionel82 Programming 6 11-29-2005 12:12 AM
trying to send internet email from a command line...is it possible rutman Linux - Newbie 8 06-26-2004 02:19 AM
Can Pine send an email without from the command line without.. rutman Linux - Newbie 2 06-11-2004 04:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration