LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2012, 03:58 PM   #1
conflicker
Member
 
Registered: Sep 2011
Posts: 89

Rep: Reputation: Disabled
SMTP random ip address in sending email


Hi everybody,

Do you have any idea, on how to send email using smtp server that randomly change the ip address to prevent being block by other mail company like gmail, yahoo, etc.?

I have a php based mailer application and I used smtp accounts to send mail under CentOS 5 platform. My application is now in the point of sending thousands of mail per hour and the problem is, my server was easily block by other mail company, if my server will send consecutive mail for a short time.

Let say I need to send mail to "user1@gmail.com,user2@gmail.com and more", the gmail will consider my server as spammer and that way google will decide to block my server in sending mail.


I'm just wondering if there is any server configuration that will randomly provide ip address to send mail to other mail company.

I hope this make sense to you guys, thank you for any help.



-Conflicker
 
Old 12-17-2012, 04:13 PM   #2
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Rep: Reputation: 112Reputation: 112
Using a dynamic IP will get your email flagged or blocked due to spam rules. You should get a dedicated ip so your ip can build a rep with each isp over time and determine its trust worthy. If your sending small amounts of email and I mean small amounts then you might be able to get away with it. But you'll have to maintain dynamic DNS which can be a pain. dyndns.org can help with this. I suggest you check out sites like lowendbox.com and find you a cheap vps to configure as a mail server. Centos 6 with postfix/dovecot is probably the easiest way to go. This will allow to you maintain static dns, enable dkim, spf. But still start sending mail in small amounts to keep the ip from being flagged at the start and make sure all your email includes opt out links.

You can also consider paying for a smtp from people like google, enome, etc.
 
Old 12-17-2012, 04:15 PM   #3
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Conflicker,


You are basically asking how to spoof for spam purposes. First thing, if this server is hosted by a provider they should have an SMTP server you can use as a Smart Host which they will maintain the IPs for and make sure they get removed from the blocklists. I was an e-mail admin at one point in time and spent a big part of my time getting ips removed from blocklists due to these automatic triggers that happen with spam filters. If your provider cannot provide you with a smart host then find a new one as this is something that every reputable provider has. If you are hosting this locally your ISP should have an SMTP server that you can use, you should call them and verify that you are not going to violate any of their terms(sometimes they will make you pay more for business email sending).


This should get you in the right direction, but if you can't relay your outgoing mail through a smart host you will just have to stay on top of your outgoing emails and remove your IPs from the blocklists as soon as they are added. It is a pain but is apart of being an admin of a mail server.
 
Old 12-18-2012, 01:29 AM   #4
conflicker
Member
 
Registered: Sep 2011
Posts: 89

Original Poster
Rep: Reputation: Disabled
Thank you guys for your response.

I've been searching in google and found this exim feature of whm/cpanel. I wonder if it can manage to maintain IPs and get removed from block list.


Any idea?
 
Old 12-19-2012, 02:14 PM   #5
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
It doesn't automatically remove you from blocklists, there is no automated blocklist removal tool that I know of and can't imagine there would ever be one as the spam lists like spamhaus aren't going to go for something automated like that.
 
Old 12-19-2012, 02:17 PM   #6
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Rep: Reputation: 112Reputation: 112
If you are worried about block list I suggest you sign up with loop back feed from yahoo, aol, etc. Basically you'll provide enough information that if spam starts to go to there servers from you server the'll send a notification for you to look into it to prevent a block from happening.

There is no standard on block list so building something automated is impossible. As Kustom said they aren't going to provide an API for auto removal. That'll open the doorway to spammers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problems with perl sending email with Gmail SMTP sadarax Programming 3 09-12-2009 08:17 PM
Why is PostFix sending mail using the email address of the smtp account? taigon Linux - Server 34 02-09-2007 02:09 AM
Sending Email to an SMTP address from sendmail guilmetrp Linux - Newbie 6 03-01-2004 09:51 PM
Sending email to a smtp address through sendmail guilmetrp Linux - General 0 02-27-2004 09:02 PM
sending an email to a email address after a perl operation meluser Programming 9 04-07-2003 02:26 PM


All times are GMT -5. The time now is 06:44 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration