LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-23-2017, 09:39 AM   #1
postcd
Member
 
Registered: Oct 2013
Posts: 527

Rep: Reputation: Disabled
How can i setup proxy for a remote third party smtp mail server?


Hello,

i need to send couple of e-mails weekly via an SMTP server of an free mail provider.

smtp.provider.com
port: 465

Apparently they dislike my IPs.

Quote:
Remote-MTA: dns; smtp.provider.com (IPHere, the relay for the domain.)
Diagnostic-Code: smtp; 554 5.1.0 You are not welcome here.
But i have a Linux CentOS server with a domain test.com hosted on it which has different (probably not blocked) IP.

I got an idea i may setup some redirect/proxy on my server so i face that smtp server via non blocked IP. And use this SMTP:

smtp.test.com
port: ?

and it will then redirect the request/data to the smtp.provider.com and to the correct port also. Do you have idea on how to do that?

Last edited by postcd; 08-24-2017 at 02:19 AM.
 
Old 08-23-2017, 09:54 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Configure your smtp.test.com as a server that accepts traffic from your "disliked" IPs and then use smtp.provider.com as a "smart relay" / "relay host" on smtp.test.com

As you give no information about what your using as your MTAs that's about as specific as it can get.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure server to send *all* mail via remote smtp? sneakyimp Linux - Server 1 10-20-2012 07:53 PM
Does fdm is able to deliver a mail through remote smtp server? igadoter Linux - Networking 0 09-02-2011 05:34 AM
Setup local mail server SMTP eulaersi Linux - Newbie 2 04-25-2009 11:59 PM
LXer: Enhance Your Mail Server With ASSP (Anti-Spam SMTP Proxy) LXer Syndicated Linux News 0 11-20-2006 08:54 AM
Help needed to send mail using a remote smtp server with php s1mpl1c1ty Programming 4 09-19-2005 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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