how to check whether sendmail option is configured for smtp relay in solaris server
|
feedback
|
migrated from stackoverflow.com Nov 4 '09 at 11:56
This question came from our site for professional and enthusiast programmers.
|
Grep for "DS" in either /etc/mail/sendmail.cf or /etc/mail/submit.cf. That is generally where it is configured. | |||
|
feedback
|
|
I'm thinking what you want to know is, "How can I tell if sendmail is configured to act as a relay", if that isn't correct, I apologize. SMTP is redundant there, because it's a relay. Check the version of sendmail you're using. If you're using 8.9.3 or older, you're probably relaying by default. If you're running a newer version, you're probably not. Sendmail configuration is complex, but configuring sendmail as a relay is probably one of the most common tasks. I'd tell you to look at the First check the check the The easiest way to test for an open relay is to just try to send a message. Create a test file test_file for remote delivery with the following content:
Save that, then type the following:
Lot of sites reject mail if they can't do a reverse lookup on the host, so you may have to try several if your host doesn't resolve. If you still can't tell, you're going to have to learn to wade through the cf file (or show it to someone who can read it). Hope this is at least somewhat helpful. | ||||
|
feedback
|