Sendmail outgoing mail only setup. | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


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

Sendmail outgoing mail only setup.

UNIX for Dummies Questions & Answers


Tags
sendmail

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-21-2002
warrend warrend is offline
Registered User
 
Join Date: Nov 2001
Last Activity: 30 August 2006, 6:27 AM EDT
Location: Reading, UK
Posts: 42
Thanks: 0
Thanked 1 Time in 1 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.
Sponsored Links
    #2  
Old 01-21-2002
slackdaddy slackdaddy is offline
Registered User
 
Join Date: Jan 2002
Last Activity: 12 February 2002, 3:11 PM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #3  
Old 01-23-2002
thehoghunter
Guest
 
Posts: n/a
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 05:02 PM..
    #4  
Old 02-05-2002
warrend warrend is offline
Registered User
 
Join Date: Nov 2001
Last Activity: 30 August 2006, 6:27 AM EDT
Location: Reading, UK
Posts: 42
Thanks: 0
Thanked 1 Time in 1 Post
Bug 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.
Sponsored Links
    #5  
Old 02-05-2002
thehoghunter
Guest
 
Posts: n/a
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!
Sponsored Links
    #6  
Old 02-05-2002
warrend warrend is offline
Registered User
 
Join Date: Nov 2001
Last Activity: 30 August 2006, 6:27 AM EDT
Location: Reading, UK
Posts: 42
Thanks: 0
Thanked 1 Time in 1 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!
The Following User Says Thank You to warrend For This Useful Post:
ccg3 (07-08-2011)
Sponsored Links
    #7  
Old 02-05-2002
thehoghunter
Guest
 
Posts: n/a
I do believe you can deducte it from your taxes (it's for work, isn't it?)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to auto CC all outgoing e-mail? mewbie UNIX for Dummies Questions & Answers 0 06-30-2010 10:58 PM
How do I configure sendmail to block all OUTGOING mail FROM one userid TO the world? avikb Solaris 1 03-14-2010 08:44 PM
Sendmail outgoing email rate sunmagic2003 UNIX and Linux Applications 1 07-27-2009 06:06 AM
Disable Outgoing Mail Rosko UNIX for Dummies Questions & Answers 0 10-28-2008 02:44 PM
Need help for configuring outgoing mail in Solaris 9 Albert J. UNIX for Dummies Questions & Answers 1 05-18-2005 07:12 AM



All times are GMT -4. The time now is 11:45 PM.