The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
New User/Mail setup question. PLEASE help. Rotting UNIX for Dummies Questions & Answers 3 09-27-2007 03:19 AM
Need help for configuring outgoing mail in Solaris 9 Albert J. UNIX for Dummies Questions & Answers 1 05-18-2005 04:12 AM
setup mail server on my unix machine champion UNIX for Dummies Questions & Answers 1 08-12-2002 12:12 AM
blocking mail using sendmail liyas UNIX for Dummies Questions & Answers 4 10-09-2001 07:53 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-21-2002
Registered User
 

Join Date: Nov 2001
Location: Reading, UK
Posts: 42
Stumble this Post!
Sendmail outgoing mail only setup.

Hi.

I need to set up sendmail so that it can send mail to a mail relay.

I have never touched sendmail before so I am not sure how to do this. All incoming mail is directed to a different server - this is just to enable me to get mail out.

Running Solaris 8 on Sparc.

Many thanks,

Warren.
Forum Sponsor
  #2 (permalink)  
Old 01-21-2002
Registered User
 

Join Date: Jan 2002
Posts: 2
Stumble this Post!
If the incomming mail is iternet mail set your MX record for the server you would like to receive the mail. Then you should not have to worry about getting any incoming mail on the other server.
  #3 (permalink)  
Old 01-23-2002
thehoghunter
Guest
 

Posts: n/a
Stumble this Post!
what version of Sendmail ?

If it is the default with solaris 8 - then you should find a /etc/mail/sendmail.cf file - make a copy of it, vi the original and add the mail relay name in either the DH or DR line. Then insure that the start up script in /etc/rc2.d or /etc/rc3.d is removed. If you don't want the system to accept mail don't start Sendmail. Email will still go out to the relay.

Example:
# who I send unqualified names to (null means deliver locally)
DRsmtp.womnet.com

# who gets all local email traffic ($R has precedence for unqualified names)
DHsmtp.womnet.com

FYI - if your system is running sendmail and is connected to the internet (and not protected by a firewall) there is a possibility that a spammer can use your system as a relay. This is why you don't start sendmail on boot unless the system is the mail relay.

Last edited by thehoghunter; 01-23-2002 at 02:02 PM.
  #4 (permalink)  
Old 02-05-2002
Registered User
 

Join Date: Nov 2001
Location: Reading, UK
Posts: 42
Stumble this Post!
Smile Thank you - one more

Hey it works!

One more question, how do you change the hostname that the mail apears to be from?

Warrend.

PS, server is behind a firewall and port 25 is only open to the Relay which I am passing messages to.
  #5 (permalink)  
Old 02-05-2002
thehoghunter
Guest
 

Posts: n/a
Stumble this Post!
Check the DM line (for masquerading)

Also look at the web page for sendmail
www.sendmail.org

and buy the book from O'Reilly. It's worth it!
  #6 (permalink)  
Old 02-05-2002
Registered User
 

Join Date: Nov 2001
Location: Reading, UK
Posts: 42
Stumble this Post!
books, books, books

I would love to buy the O'Reilly book,

but my wife would kill me if i came home with anouther one!
  #7 (permalink)  
Old 02-05-2002
thehoghunter
Guest
 

Posts: n/a
Stumble this Post!
I do believe you can deducte it from your taxes (it's for work, isn't it?)
Google The UNIX and Linux Forums
Closed Thread

Tags
sendmail

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:50 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0