Computing.Net > Forums > Solaris > Solaris Sendmail config help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Solaris Sendmail config help

Reply to Message Icon

Name: Trivial Pursuits
Date: August 22, 2005 at 08:28:03 Pacific
OS: Solaris 8
CPU/Ram: 4u
Comment:

Hello:

I am trying to configure solaris on my system to send email. The functionality that I want to achieve is to have a java application running on the system use sendmail to send email to outside world. this java appl will run as a solaris user, but is web based application that will be used to send email after a form is filled out. Email has to be sent to multiple addresses and multiple domains

Configuration and setup:

1. Solaris host is behind a NAT (domain1.com)
2. host resolves to http://domain2.com
3. host also resolves to host.domain1.com (automatic since behind domain1.com firewall)
4. internally, host also responds to private internal IP

Right now, sending email says:
Relaying denied, IP name lookup failed [Public IP of NAT/Firewall here]

What settings should I have in my
/etc/hosts
/etc/mail/local-host-names for this to work ?

I apologize if this sounds complicated than it should be, but that is precisely why I need the help !



Sponsored Link
Ads by Google

Response Number 1
Name: Trivial Pursuits
Date: August 22, 2005 at 09:03:43 Pacific
Reply:

I must also add that both host.domain1.com and domain2.com respond to a commmon public IP.

Therefore, we have
Public IP of NAT/Firewall: xx.xx.xx.200
Public IP for host.domain1.com and http://domain2.com : xx.xx.xx.201
Public IP for www.domain1.com xx.xx.xx.201

Hope that helps


0

Response Number 2
Name: David Perry
Date: August 23, 2005 at 06:51:34 Pacific
Reply:

Your error message is saying that the public IP address of your router does not resolve to a hostname and as such is not trusted as a mail host. Find a DNS provider to assign a hostname to that IP address.


0

Response Number 3
Name: Trivial Pursuits
Date: August 24, 2005 at 09:13:40 Pacific
Reply:

I can rephrase this question.

I am trying to send email from a local solaris machine that has an external public address (resolves to a dns) and also behind a Firewall/NAT.

When I send email, using sendmail -- the mail carries the NATTED IP Address with it -- to resolve which, the traffic hits my Firewall/IP and my firewall does not have a public A/PTR record. -- therefore I get a IP name lookup failed.

How can I get the email to go out with the public address of my solaris server so that the reverse name lookup does not fail.


0

Response Number 4
Name: nz_boy
Date: September 15, 2005 at 16:49:43 Pacific
Reply:

forget sendmail man........it SU*KS

get surgemail...........its fantastic and so easy its not even funny

google surgemail.........

you life will be so much easier man


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Solaris Sendmail config help

Solaris sendmail not sending www.computing.net/answers/solaris/solaris-sendmail-not-sending/2827.html

MS-DOS + Solaris 8. Help! www.computing.net/answers/solaris/msdos-solaris-8-help/1215.html

Solaris 8 install HELP!!! www.computing.net/answers/solaris/solaris-8-install-help/4381.html