|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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 | |
|
![]() |
| Tags |
| sendmail |
| Thread Tools | Search this Thread |
| 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 |
|
|