[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

4.6

Solaris 8 - Configuring sendmail relay (NoAuth inbound -> SSL outbound)

Asked by David_Anderson in SendMail Email Server, Sun Solaris, Simple Mail Transfer Protocol (SMTP)

Tags: Solaris, sendmail, private server

I have been happily chugging away for the past 5 years with my Solaris 8 server on my home network, using sendmail 8.11.7+Sun for a variety of purposes: scraping financial websites and emailing mashups to myself & friends, developing/testing cgi scripts for websites that need to email form data, etc.

Recently my ISP decided that I must use SSL/Auth to send mail through their SMTP server. In addition to breaking my sendmail implementation, it has broken a number of important Wintel utilities, notably my APC Powerchute Business Edition email notifications, my 3ware RAID controller email notifications, and others. I have contacted tech support for each of the products that I'm having this problem with as well as my ISP and the collective response is a shrug of the shoulders.

What this boils down to is, I have two problems I need to solve:

1) I need to get sendmail working again for non-interactive sessions as shown in the perl code snippet attached to this post.
2) Contingent on (1), I would like to be able to use the Solaris box to relay notification emails from the Wintel box. I do not need to have the Solaris box handle all of my outbound mail(e.g. Thunderbird), just the outbound email from applications that do not support SSL/Auth.

Regarding (1), it seems that the obvious starting point would be to yank the Sun sendmail out by the roots and set up sendmail 8.14.3, but from my reading on the subject it seems that I will need to install OpenSSL and possibly BerkelyDB to meet the prerequisites for compiling sendmail with SSL support. Links to details on this would be much appreciated, especially any info pertaining to steps I need to take to pave the way to solving problem (2) above.

Regarding (2), all of the info I've been able to dig up on SMTP/SSL relay configuration assumes that the user wants the client to make an SSL connection to the relay. That's not what I want. What I need is to have my client applications send their mail to the relay on the Solaris box with NO authentication(I suppose I need to set up an SMTP server of some flavor) and have that mail relayed to my ISP's SMTP server using SSL and user/pass authentication (again, this needs to be non-interactive).

Note that security is not the highest priority here; these machines all sit behind a router with built-in firewall/NAT and are essentially invisible to the internet at large(as far as I can tell with grc.com ShieldsUP). So long as it's reasonably secure, that's fine; I don't have to worry about port scans, spammers, etc.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
#!/usr/bin/perl -T
.
.
.
        open MAIL, "| /usr/lib/sendmail -t -F'$from_name' -f'$from_email'"
                or die "Could not open sendmail: $!";
print MAIL <<END_OF_HEADER;
To: $email
Reply-to: $from_email
Subject: $sub
$type_string
 
END_OF_HEADER
 
        open(FILE, "< ./reports/$rpt_file.$type")
                or die "Couldn't open $rpt_file.$type for reading: $!\n";
 
        while (<FILE>) {
                chomp($_);
                print MAIL "$_\n";
        }
        close(FILE);
        if($type_string) {
                print MAIL end_html();
        }
 
        close MAIL or die "Error closing sendmail: $!";
        print "<li>Sent $sub.</li><br>\n";
}
 
Related Solutions
Keywords: Solaris 8 - Configuring sendmail relay…
 
Loading Advertisement...
 
[+][-]05/06/08 08:02 PM, ID: 21512880Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05/07/08 08:27 AM, ID: 21517426Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/07/08 10:00 AM, ID: 21518315Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/07/08 05:05 PM, ID: 21521374Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/07/08 05:11 PM, ID: 21521394Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/07/08 05:14 PM, ID: 21521412Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/07/08 05:17 PM, ID: 21521420Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/07/08 05:19 PM, ID: 21521431Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/07/08 09:11 PM, ID: 21522290Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/07/08 11:52 PM, ID: 21522766Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/08/08 06:26 AM, ID: 21524400Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/08/08 06:29 AM, ID: 21524434Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/08/08 06:32 AM, ID: 21524469Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/08/08 07:30 AM, ID: 21525032Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/08/08 04:05 PM, ID: 21529181Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/09/08 10:11 AM, ID: 21534801Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/09/08 01:08 PM, ID: 21536059Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/09/08 01:27 PM, ID: 21536199Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/09/08 04:33 PM, ID: 21537100Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/09/08 06:49 PM, ID: 21537527Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/09/08 09:23 PM, ID: 21537851Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/10/08 08:12 AM, ID: 21539317Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/10/08 08:53 AM, ID: 21539449Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/10/08 08:59 AM, ID: 21539462Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/10/08 09:37 AM, ID: 21539582Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/10/08 09:37 AM, ID: 21539586Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/10/08 09:41 AM, ID: 21539597Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/10/08 01:12 PM, ID: 21540358Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/13/08 11:36 AM, ID: 21557916Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/14/08 07:20 AM, ID: 21564480Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/10/08 06:39 PM, ID: 21756237Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: SendMail Email Server, Sun Solaris, Simple Mail Transfer Protocol (SMTP)
Tags: Solaris, sendmail, private server
Sign Up Now!
Solution Provided By: David_Anderson
Participating Experts: 1
Solution Grade: A
 
[+][-]06/10/08 06:58 PM, ID: 21756308Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 / EE_QW_2_20070628