![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 | 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
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 | ||
|
|
|
|||
|
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. |
|
|||
|
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. |
|
|||
|
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! |
| Tags |
| sendmail |
| Thread Tools | |
| Display Modes | |
|
|