1752578 Members
4984 Online
108788 Solutions
New Discussion юеВ

Re: sendmail error

 
SOLVED
Go to solution
Prashantj
Valued Contributor

Re: sendmail error

Hi,

Sorry for the delay.
/etc/resolv.conf not exists in server.

Prashant.
Good judgment comes from experience and experience comes from bad judgment.
nightwich
Valued Contributor

Re: sendmail error

So you need to created.



I already show you one example please configure it adapted to your enviorement.

Then try nslookup www.google.com


Regards.
Prashantj
Valued Contributor

Re: sendmail error

Hi Guru's,

Now i am facing below mention error in
/var/adm/syslog/mail.log

Aug 14 13:37:17 ruleccdev sm-mta[21798]: o7E87Hve021778: to=, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=122937, relay=[192.168.0.6] [192.168.0.6], dsn=2.0.0, stat=Sent (<201008140807.o7E87HL1021755@rahejauniversal.rahejauniversal.com> Queued mail for delivery)

how i change rahejauniversal.rahejauniversal.com to
rahejauniversal.com

Thanks
Prashant
Good judgment comes from experience and experience comes from bad judgment.
Steven Schweda
Honored Contributor

Re: sendmail error

> Now i am facing below mention error [...]

Now I am facing the same old problem of
having no idea what you're doing.
Dennis Handly
Acclaimed Contributor

Re: sendmail error

>how I change rahejauniversal.rahejauniversal.com to
rahejauniversal.com

For that particular message for for all future messages?
You might be able to use the DM macro:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1022415
nightwich
Valued Contributor

Re: sendmail error

Hi again


nslookup www.google.com looks good ??


Regards.
Prashantj
Valued Contributor

Re: sendmail error

Hi Nightwich,

No it's not working fine.
Please post the /etc/resolv.conf file, so i will copy and create the file as it is and configure as per requirement.

Please find my attached file sendmail.cf & test sendmail output.

Below is my mail.log error

Aug 16 15:24:56 ruleccdev sm-mta[11152]: o7G9suGD011147: to=, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=122917, relay=[192.168.0.6] [192.168.0.6], dsn=2.0.0, stat=Sent (<201008160954.o7G9stvN011146@rahejauniversalrahejauniversal.com> Queued mail for delivery)

Prashant
Good judgment comes from experience and experience comes from bad judgment.
Prashantj
Valued Contributor

Re: sendmail error

Hi,

Contain of sendmail.cf file.

Prashant
Good judgment comes from experience and experience comes from bad judgment.
nightwich
Valued Contributor
Solution

Re: sendmail error

ok

This is a example of what you should have in your resolv.conf.


root@porsxxx:/# cat /etc/resolv.conf
domain "your_domain"
nameserver "ip_of_your_dns_server"
nameserver "ip_of_your_slave_server_of_dns"
root@porsxxx:/#


regards
Prashantj
Valued Contributor

Re: sendmail error

Hi,

[HP-UX @ruleccdev]# vi resolv.conf
domain "rahejauniversal.com"
nameserver 192.168.0.12
nameserver 192.168.0.7

Test mail output

# sendmail -v prashant.jadhav@rahejauniversal.com < /etc/profile
prashant.jadhav@rahejauniversal.com... Connecting to [127.0.0.1] via relay...
220 ahejauniversal.com ESMTP Sendmail @(#)Sendmail version 8.13.3 - Revision 1.003:: HP-UX11.31 - 8th December,2008/8.13.3; Mon, 16 Aug 2010 16:20:29 +0530 (IST)
>>> EHLO rahejauniversalrahejauniversal.com
250-ahejauniversal.com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From: SIZE=2459
553 5.1.8 ... Domain of sender address root@rahejauniversalrahejauniversal.com does not exist
root... Using cached ESMTP connection to [127.0.0.1] via relay...
>>> RSET
250 2.0.0 Reset state
>>> MAIL From:<> SIZE=3483
250 2.1.0 <>... Sender ok
>>> RCPT To:
>>> DATA
250 2.1.5 ... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
050 ... Connecting to [192.168.0.6] via relay...
050 220 krumail.KRAHEJA.INFO Microsoft ESMTP MAIL Service ready at Mon, 16 Aug 2010 16:22:26 +0530
050 >>> EHLO ahejauniversal.com
050 250-krumail.KRAHEJA.INFO Hello [192.168.3.62]
050 250-SIZE 10485760
050 250-PIPELINING
050 250-DSN
050 250-ENHANCEDSTATUSCODES
050 250-STARTTLS
050 250-AUTH
050 250-8BITMIME
050 250-BINARYMIME
050 250-CHUNKING
050 250 XEXCH50
050 >>> MAIL From:<> SIZE=5167
050 250 2.1.0 Sender OK
050 >>> RCPT To:
050 >>> DATA
050 250 2.1.5 Recipient OK
050 354 Start mail input; end with .
050 >>> .
050 250 2.6.0 <201008161050.o7GAoT6R017398@rahejauniversalrahejauniversal.com> Queued mail for delivery
050 ... Sent (<201008161050.o7GAoT6R017398@rahejauniversalrahejauniversal.com> Queued mail for delivery)
250 2.0.0 o7GAoTKA017399 Message accepted for delivery
root... Sent (o7GAoTKA017399 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 ahejauniversal.com closing connection


Prashant
Good judgment comes from experience and experience comes from bad judgment.