Re: [foxboro] Send mail from Solaris through firewall

  • From: "Lowell, Tim" <Tim.Lowell@xxxxxxxxxxxxxxxxxxxxxx>
  • To: "foxboro@xxxxxxxxxxxxx" <foxboro@xxxxxxxxxxxxx>
  • Date: Tue, 29 Mar 2016 16:42:56 -0500

Duc,
Do you know for sure that the new firewall allows traffic through port 25?

Did you try telnet (relay server) 25 to see if the connection goes through?

Tim Lowell   |   Invensys, a Division of Schneider Electric   |  United States  
 |   Principal Project Application Engineer
Phone: +1 713 329 8437 | Cell: +1 210 439 5914
Email: tim.lowell@xxxxxxxxxxxxxxxxxxxxxx |   Site: www.schneider-electric.com   
|   Address: 10900 Equity Drive, 77041 Houston (Equity Drive), Texas, United 
States

*** Please consider the environment before printing this e-mail

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On ;
Behalf Of Duc M Do
Sent: Tuesday, March 29, 2016 4:36 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] Send mail from Solaris through firewall

​List,
I've spent a good part of three days banging my head against the (fire)wall on 
this issue. Please help me before the blood soaks everything.

The situation: AW-D running Solaris 2.5.1 and sendmail 8.6, you know the 
ancient version on the stock Sun boxes. I configured /etc/mail/sendmail.cf 
years ago to send mail from this Sun box to the corporate e-mail and it's been 
working all these years. Recently, we moved all these Sun boxes to behind a 
fortified firewall, so fortified that even with a known relay mail server, I 
have not been able to send mail to my desktop.

Previously, these are the only edits in my sendmail.cf (with sendmail.cf.orig 
being the plain vanilla, stock sendmail.cf that came with the software 
install), and it worked splendidly to send system status reports to my 
corporate e-mail account:

04AW01# cd /etc/mail
04AW01# diff sendmail.cf.orig sendmail.cf
21c21
< Dj$w.$m
---

Dj04AW01.dowcorning.net
27,28c27,28
< DRmailhost
< CRmailhost
---
DR
CR

I searched the freelists.org archive and found an excellent write up by Sven 
Audenaert (thanks, Sven!) from Sept 2006 ( 
//www.freelists.org/post/foxboro/foxboro-Sendmail-error,2). Following 
Sven's procedure, I added the mail relay in the hosts file, also calling it 
"mailhost",  and edited sendmail.cf accordingly. But that's where my progress 
stopped.

Here's what I try to accomplish:

  04AW01   --->   mailhost   --->   smtp.dowcorning.net
originating     relay server       SMTP server destination

My new sendmail.cf (with sendmail.cf.orig being the plain vanilla, stock 
sendmail.cf that came with the software install):

04AW01# diff sendmail.cf.orig sendmail.cf
21c21
< Dj$w.$m
---
Dj04AW01.dowcorning.net
24c24
< DMether
---
DMmailhost

The most relevant part of sendmail.cf:

# my official hostname
Dj04AW01.dowcorning.net

# major relay mailer
DMmailhost

# major relay host
DRmailhost
CRmailhost

Yes, I stopped and started the sendmail daemon as needed after editing 
sendmail.cf

When I try to run the test as in Sven's procedure, sendmail just hangs and 
times out after 3 minutes or so.


Question: How do I specify the relay host in sendmail.cf to allow me to send 
mail through it to the corporate mail server?

Thanks in advance for all the help. And I really need all the help at this 
point.

Duc



_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric 
(formerly The Foxboro Company).  Use the info you obtain here at your own 
risks.  See the disclaimer at www.thecassandraproject.org/disclaimer.html

foxboro mailing list:               //www.freelists.org/list/foxboro
to subscribe:           mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:        mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave



______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________

*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person.
 
 
_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric
(formerly The Foxboro Company).  Use the info you obtain here at your own
risks.  See the disclaimer at www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:               //www.freelists.org/list/foxboro
to subscribe:           mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:        mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: