-   Linux - Networking (
-   -   Sendmail mail forward (

prashanlk 09-14-2008 10:07 AM

Sendmail mail forward
Hey Guys,

We have our mail server hosted in an outsourced requirement is to setup a SMTP mail server in one of the PC's in our network.This is because our ISP blocked the SMTP port to cut down on the amount of spam that is sent from their networks.

We have suse linux installed on our network PC's. Since our mail server is running on an outsourced company all e-mail accounts created there......can i setup a sendmail SMTP server in our office network for forward outbound e-mail through our ISP smtp server..?

If Possible can anyone send me how to do that..? my confusion point is all our e-mail ID 's created on an outsourced company:confused :

any help will be greatly appreciated...

lokiharfagr 09-14-2008 04:03 PM


off what I understand from your question (thus correct
me if I'm wrong or read too fast ;-) is you have
an ISP offering SMTP server access and you do have this
ISP-SMTP server address/name?

If so all you'd have to do is declaring that 'smtp.myisp.fqd'
in your local/central SMTP server configuration files as the "smart server".

In a sendmail config you'll just go:
$ cd /etc/mail
$ sudo su
# vi mailertable
in the vi session add a last line in your 'mailertable' reading:
. smtp:smtp.myisp.fqd
(or use sed )
then make it live and last:
# make

prashanlk 09-14-2008 10:35 PM

mail relay through ISP
Seems like you did not understood my question.This time i'll give you with the examples...

When i go home i have to always change my Outgoing mail address to ISP SMTP address.because my ISP has blocked port 25 for avoid spams sending through their network.

Because of the above reason i need to setup a sendmail smtp server in my office network for relay outbound mail through the ISP mail server.Then when i'm at home i can use the office smtp server for sending outbound this possible....?

I need the configuration details how to do that...

All times are GMT -5. The time now is 09:14 AM.