Operating System - Linux
1822580 Members
3380 Online
109642 Solutions
New Discussion юеВ

Re: How to configure sendmail to go through a proxy server

 
SOLVED
Go to solution
Debbie Fleith
Regular Advisor

How to configure sendmail to go through a proxy server

We usually can get by with the default config of sendmail. Not now. How do I configure sendmail to go through a proxy server, at port 8080?

2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: How to configure sendmail to go through a proxy server

Shalom,

Few issues.

1) The proxy server is going to have to take its traffic for outbound mail on port 8080 and transfer it to port 25 if you expect any of your outbound mail to actucally get delivered.

2) For inbound mail its open port 25 or don't get any.

Take a look at the sendmail.mc file and how to customize the configuration on http://www.sendmail.org

It is possible to route outbound mail through another port but the proxy server's going to have to change the outbound traffic to port 25 anyway.

Much better to have an smtp relay server on the proxy server or some other box and let it relay the mail. Then the sendmail DS directive will let you relay outbound mail through that system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor

Re: How to configure sendmail to go through a proxy server

Proxy normally don't forward SMTP traffic. You must send the mail to a smart host.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?