LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

Rep: Reputation: 15
Unhappy Sendmail mail forward


Hey Guys,


We have our mail server hosted in an outsourced company.my 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
lokiharfagr
LQ Newbie
 
Registered: Dec 2005
Location: France
Distribution: Slackware, what else?-)
Posts: 4

Rep: Reputation: 0
Hello,

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
prashanlk
Member
 
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 e-mail.is this possible....?

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


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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:06 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
Open Source Consulting | Domain Registration