LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-09-2010, 06:31 AM   #1
sitewiz
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Rep: Reputation: 0
is it possible to send mail via different dedicated IPs from same box?


I have software with a newsletter system - but because I have 16 clients per server they are currently all sending emails from the same (eth0) IP address DESPITE having a DEDICATED ip address per client account for their WEB address.
If one spams (or gets spam complaints) then they all suffer - and I'd love to send their email via their unique IP address to stop this problem and to make the IP match their domain which has to be better at getting through spam filters anyway I'd have thought...

Any thoughts welcome - I've googled it for days with no answers - not even sure if it CAN be done.

All the best to you all,

Regards,
Rich.
 
Old 06-09-2010, 06:54 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by sitewiz View Post
I have software with a newsletter system - but because I have 16 clients per server they are currently all sending emails from the same (eth0) IP address DESPITE having a DEDICATED ip address per client account for their WEB address.
If one spams (or gets spam complaints) then they all suffer - and I'd love to send their email via their unique IP address to stop this problem and to make the IP match their domain which has to be better at getting through spam filters anyway I'd have thought...

Any thoughts welcome - I've googled it for days with no answers - not even sure if it CAN be done.

All the best to you all,

Regards,
Rich.


not sure about sendmail or postfix, but exim with virtual domains can do something similar
then you can configure a config file for each virtual domain, and tell it how/where to route email in the route section

there are some examples here

http://www.tgunkel.de/docs/exim_smarthosts.en

but even better ones at http://www.exim.org/
 
Old 06-09-2010, 09:01 AM   #3
SuperJediWombat!
Member
 
Registered: Apr 2009
Location: Perth, Australia
Distribution: Ubuntu/CentOS
Posts: 208

Rep: Reputation: 51
What mail system are you using? Any answer is going to be specific to your program.
 
Old 06-09-2010, 10:02 AM   #4
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
Quote:
Originally Posted by sitewiz View Post
I have software with a newsletter system - but because I have 16 clients per server they are currently all sending emails from the same (eth0) IP address DESPITE having a DEDICATED ip address per client account for their WEB address.
If one spams (or gets spam complaints) then they all suffer - and I'd love to send their email via their unique IP address to stop this problem and to make the IP match their domain which has to be better at getting through spam filters anyway I'd have thought...

Any thoughts welcome - I've googled it for days with no answers - not even sure if it CAN be done.

All the best to you all,

Regards,
Rich.
Hi,

how about the DNS server that serves your MX record? If you manage your own domain, you can change the MX record whatever you want.
If you manage the MX record, you would filter the accounts before/after sending mails.

Or another possibility to filter them is use Smart_Host. Forward all letters to a local spam filter system (spam-filter-gateway) then when they filtered the gateway will send them for the proper addresses.
One spam filter server could do the job. For example mail-scanner. http://mailscanner.info/

I used it for 4 domain filtering and one of the best spam filter system out there I think.

Laz.
 
Old 06-09-2010, 11:34 AM   #5
SuperJediWombat!
Member
 
Registered: Apr 2009
Location: Perth, Australia
Distribution: Ubuntu/CentOS
Posts: 208

Rep: Reputation: 51
I think his issue is outbound emails all going through a single public IP address.
 
Old 06-10-2010, 03:12 AM   #6
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
exim can route emails to different mailserver ips....
just make sure you configure exim to listen on all these ips....and give different configs for each user.
assuming you are using or want to use exim
 
Old 06-10-2010, 03:22 AM   #7
sitewiz
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Original Poster
Rep: Reputation: 0
thanks everyone, exim does sound like the route to take then!

To answer someone elses question regarding what software I'm using...
I'll use whatever software is CAPABLE of doing it - there's no point me saying "I'm using sendmail" if sendmail can't do it... if you see what I mean...

We have centos on the box, and I'd have trouble getting rid of that for another OS - but otherwise I'll install anything that sorts the problem.

Thanks again all!

Rich.
 
  


Reply



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
Setup mail server to send only, receive on another box? sir-lancealot Linux - Server 1 05-27-2010 02:36 PM
cURL: Server has many IPs, how would I make a cURL script use those IPs to send data? guest Programming 0 04-11-2009 11:42 AM
ISP Mail to Linux Box then send to Exchange jstephens84 Linux - Server 2 07-13-2008 08:54 PM
Assign different folders/users to different IPs on the same dedicated server yuye811 Linux - Server 2 12-17-2007 12:13 PM
I CAN NOT SEND MAIL to users in the internet from the windows box. anigug Linux - Newbie 3 08-13-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:07 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