General
cancel
Showing results for 
Search instead for 
Did you mean: 

Sendmail v 8.11..relaying issue..

SOLVED
Go to solution
chindi
Respected Contributor

Sendmail v 8.11..relaying issue..

Hi guys,

i had opened this thread earlier..but it went in a loop...hence opening it again...i had configured one of my hpux server as internal mail server...
the problm nw m facing is of relaying denied when i am trying to send a mail from one of my client machine to this server...

mail server...10.1.4.19 ( cedge2.cedgedns.in )

M trying to send a mail from 10.1.4.18 ..

sendmail -v tejas@cedge2.cedgedns.in
hiiiiiiii
root@cedge2.cedgedns.in.... Connecting to cedge2.cedgedns.in. via esmtp...
220 cedge2.cedgedns.in ESMTP Sendmail 8.11.1 (PHNE_35951)/8.11.1; Tue, 22 Jun 2010 10:56:16 +0530 (IST)
>>> EHLO cedge1.cedgedns.in
250-cedge2.cedgedns.in Hello root@cedge1.cedgedns.in [10.1.4.18], pleased to meet you
250-ENHANCEDSTATUSCODES
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
>>> MAIL From: SIZE=14
250 2.1.0 ... Sender ok
>>> RCPT To:
550 5.7.1 ... Relaying denied
>>> RSET
250 2.0.0 Reset state
warning: /etc/mail/aliases has world read or write permission. This is unsafe.
warning: /etc/mail/aliases.db has world read or write permission. This is unsafe.
/dead.letter... Saved message in /dead.letter
Closing connection to cedge2.cedgedns.in.
>>> QUIT
221 2.0.0 cedge2.cedgedns.in closing connection

m able to do telnet from 10.1.4.18 ...

root #/etc/mail >telnet 10.1.4.19 25
Trying...
Connected to 10.1.4.19.
Escape character is '^]'.
220 cedge2.cedgedns.in ESMTP Sendmail 8.11.1 (PHNE_35951)/8.11.1; Tue, 22 Jun 2010 11:03:28 +0530 (IST)

Kindly help sendmail.cf of mail servr attached ehrewith...i do nit want to send any mails to outside world..just for internal lan only..
5 REPLIES
Dennis Handly
Acclaimed Contributor

Re: Sendmail v 8.11..relaying issue..

>I had opened this thread earlier but it went in a loop.

In a loop how?
It would be better if you continued in your previous thread, with more details:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1435897
chindi
Respected Contributor

Re: Sendmail v 8.11..relaying issue..

Hi Dennis,

I would like to start afresh , bcoz i feel i wasnt exactly very clear abt the problm i was facing..But nw m sure as i have posted rightly in this ..thread....




Elmar P. Kolkman
Honored Contributor
Solution

Re: Sendmail v 8.11..relaying issue..

What's in your sendmail.cw file ?
For some reason your mailserver is not recognizing that root@cedge2.cedgedns.in is an account on itself.
Every problem has at least one solution. Only some solutions are harder to find.
chindi
Respected Contributor

Re: Sendmail v 8.11..relaying issue..

Yups Mr. Elmar absolutely right....
oopss i forgot to mention that i changed that file too..and edited with the correct name..Thanxx again..
chindi
Respected Contributor

Re: Sendmail v 8.11..relaying issue..

As per Mr. Elmar...