Operating System - HP-UX
1833431 Members
3121 Online
110052 Solutions
New Discussion

Internet mails without/with DNS.

 
SOLVED
Go to solution
Thayanidhi
Honored Contributor

Internet mails without/with DNS.

Hi,

I have configured hp-ux for sendmail without
using DNS. Only "DSmailgw" added to senmail.cf
with MS exchange FQDN. Also I have added "Dj$w.domain.com" to sendmail.cf

Now I am able to send mails to my own domain.
If I try outside mail (user1@otherdomain.com)
the message logged in mail.log as cannot relay to other domain.

If I enable DNS the system is trying to contact
target server to send the mail (may it is
trying direct delivery)and failing error
status=deffered
How to make the relay using own SMTP gateway?
My question all the PCs are able send and receive the internal/external mails through the same exchange.
How to configure hp-ux to do same(altleast
sending)?

Thanks in Advance

TT
Attitude (not aptitude) determines altitude.
12 REPLIES 12
benoit Bruckert
Honored Contributor

Re: Internet mails without/with DNS.

Hi,
What are the messages in mail.log about relay ??
The question I have is I wonder if the trouble is from sendmail or from your exchange server which is denying relay from your HP box !
DS should be enough to send mail to internet through your gateway.
To test if relay is allowed from your box to the exchange, try a telnet to exchange server on port 25 from HP frame, and try to send a mail by hand !!
I.E
telnet exchangeip 25
helo domain.com
mail from: user@domain.com
rcpt to:exchangeuser@yourdomain.com
data

. (just a dot wihout anything)
If you have a message about relaying denied, then the trouble is on the exchange side !!!
concerning your pcs, they can send email outside because they don't use the smtp port (25) to send mail, but probably the exchange protocol !!

hth
Benoit

Une application mal pansée aboutit à une usine à gaze (GHG)
Thayanidhi
Honored Contributor

Re: Internet mails without/with DNS.

Hi Benoit,

I trid telnet 25

and try to send external mail.
It says cannot relay to other domains.

What could be the issue?
How the PCs are able to send external mails
through this exchange?

Thanks in advance

TT
Attitude (not aptitude) determines altitude.
U.SivaKumar_2
Honored Contributor
Solution

Re: Internet mails without/with DNS.

 
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: Internet mails without/with DNS.

Hi,
This document will help you
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/prodtech/mailexch/excrelay.asp
Innovations are made when conventions are broken
benoit Bruckert
Honored Contributor

Re: Internet mails without/with DNS.

What can I add after all these details from U.Siva.. ??
He absolutly need more points than I !!!
(no points please for this post !)..
and the funny sentence :

Une application mal pans??e aboutit ?? une usine ?? gaze. (GHG)

regards
Benoit
Une application mal pansée aboutit à une usine à gaze (GHG)
U.SivaKumar_2
Honored Contributor

Re: Internet mails without/with DNS.

hi,

What is the meaning of that sentence ?


regards,
U.Sivakumar
Innovations are made when conventions are broken
benoit Bruckert
Honored Contributor

Re: Internet mails without/with DNS.

It's french,
and it's a word game ? (I don't know if word game is correct), then impossible to translate,
when you hear it, you understand that a bad conception on software means that you create an awfull plant with many pipes (gaz plant).
when you read it, you understand that a not healthy software need a plant which is making a medicine product to take care of the software.
In french :
"Une application mal pens??e aboutit ?? une usine ?? gaz."
is the first definition i gave, and
"Une application mal pans??e aboutit ?? une usine ?? gaze."
is the second definition.
But in french, most of the people
hear only the first definition.

And when I read this post, I discover, that It's absolutly not funny if you are not french !!! As many english sentences that I may read and not understand on my side !!!

But I will continue to add french imitation, it's good for the world culture !

regards
Benoit.
the quote of the day :
Quand un philosophe r??pond, on ne comprend
plus la question qu'on lui avait pos??.

(I will not translate it !! too hard for my English)
Une application mal pansée aboutit à une usine à gaze (GHG)
Thayanidhi
Honored Contributor

Re: Internet mails without/with DNS.

Thanks U.Sivakumar/Benoit,

In Ms exchange I have added unix-servers IP as
granted SMTP relay (accept mail from).

Now I could send internal/external mails.

Another issue now is to collect the mails from exchange.

I understand there is a forward fecility
with exchange (I am poor in exchange) which
can forward the mails. Can any one explain
how to create forward rule on ms-exchange?

Thanks in Advance.

TT

Note: I would prefer not to use "fetchmail"
Attitude (not aptitude) determines altitude.
benoit Bruckert
Honored Contributor

Re: Internet mails without/with DNS.

For U.Siva,
after your previous post, the last question is for your !
Sorry, I really don't know how does Exchange is working !!
(no points please)
Benoit
Une application mal pansée aboutit à une usine à gaze (GHG)
U.SivaKumar_2
Honored Contributor

Re: Internet mails without/with DNS.

Hi,

Exchange server provides POP3 service for outlook clients to retrive the mail

http://www.winnetmag.com/Articles/Index.cfm?ArticleID=462&pg=4

benoit , Iam not a expert in exchange But a learner

regards,
U.SivaKumar
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: Internet mails without/with DNS.

 
Innovations are made when conventions are broken
Thayanidhi
Honored Contributor

Re: Internet mails without/with DNS.

Thanks all,

I will start a new thread. I still problem
in forwarding mail from exchange to sendmail.

Thanks

T.Thayanidhi
Attitude (not aptitude) determines altitude.