Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-14-2008, 10:07 AM   #1
Registered: Nov 2007
Posts: 41

Rep: Reputation: 15
Unhappy 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...
Old 09-14-2008, 04:03 PM   #2
LQ Newbie
Registered: Dec 2005
Location: France
Distribution: Slackware, what else?-)
Posts: 4

Rep: Reputation: 0

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
Old 09-14-2008, 10:35 PM   #3
Registered: Nov 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Question 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...


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
How to make Sendmail forward all incoming mail to localhost port 26 (Domino mail) speedgelb Linux - Software 3 09-27-2013 10:18 AM
Sendmail Aliases: forward mail to script mikeshn Linux - Software 2 07-03-2010 08:22 PM
Forward local mail to another local host using sendmail loopy69 Linux - Server 5 02-26-2008 05:38 PM
sendmail: not possible to pipe mail to programs using ~/.forward && /etc/mail/aliases fhd Linux - Networking 1 01-09-2005 06:05 PM
Sendmail problem .forward.mail Please HELP kepweng Linux - Software 0 04-16-2004 04:29 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration