1752589 Members
4404 Online
108788 Solutions
New Discussion юеВ

Re: sendmail error

 
SOLVED
Go to solution
nightwich
Valued Contributor

Re: sendmail error

If you can ping the mail server that is your problem.


know you have to figer out why this is happen.

Please post the nestat -in

And the nslookup mailserver


Regards.
Prashantj
Valued Contributor

Re: sendmail error

Hi,

Thanks for your update.

# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 192.xxx.0.0 192.xxx.x.xx 516246 0 481800 0 0
lo0 32808 127.0.0.0 127.0.0.1 53283 0 53283 0 0

# nslookup kxxxx.krxxxx.info
Using /etc/hosts on: xxxxxx

looking up FILES
Name: exchange
Address: 192.xxx.x.xx
Aliases: server, kxxxx.krxxxx.info

Regards
Prashant

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

Re: sendmail error

> [...]
> lan0 1500 192.xxx.0.0 192.xxx.x.xx 516246 0 481800 0 0
> lo0 32808 127.0.0.0 127.0.0.1 53283 0 53283 0 0
>
> # nslookup kxxxx.krxxxx.info
> Using /etc/hosts on: xxxxxx
>
> looking up FILES
> Name: exchange
> Address: 192.xxx.x.xx
> Aliases: server, kxxxx.krxxxx.info

Well, _that_ explains _everything_. All you
need to do is use the "xxxxx" command, and
edit the file, "xxxx", adding "xxx" where
appropriate (that is, on line "xx", right
after "x").
Prashantj
Valued Contributor

Re: sendmail error

Hi Steven,

Not able to understand u'r reply.

New error in /var/adm/syslogmail.log

Aug 11 13:31:16 (Hostname)sendmail[4298]: o7B81GpR004298: to=prashant.jadhav@xxxxxx.com, delay=00:00:00, mailer=esmt
p, pri=30210, dsn=4.4.3, stat=queued
Good judgment comes from experience and experience comes from bad judgment.
nightwich
Valued Contributor

Re: sendmail error

Hi Prashantj


If you use xxxx in the netsatt -rn or nslookup we can't see the ip and try to undertand the problem.


You must post the output of those commands if you can.


I think you do not post them for security reasons.


But if you do not give that kind of information it's harder to check the problem.

Regards.
Prashantj
Valued Contributor

Re: sendmail error

Hi,

Ok.. i will take care next time.


# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 192.168.0.0 192.168.3.62 960281 0 891217 0 0
lo0 32808 127.0.0.0 127.0.0.1 79726 0 79726 0 0
# nslookup kraheja.info
Using /etc/hosts on: ruleccdev

looking up FILES
Name: ruleccdev
Address: 192.168.3.62
Aliases: kraheja.info


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

Re: sendmail error

> Not able to understand u'r reply.

That's fair. _I_ am not able to understand
how you expect anyone to help with a network
problem when you hide all the useful
information.

> [...] 192.168.0.0 [...]

No one outside your network can get to these
IP addresses. Please stop wasting everyone's
time by hiding information like this.

Now, ...

What are the IP addresses and netmasks on
the HP-UX system and on the system to which
you're trying to send the e-mail?

On the HP-UX system (and on the other system,
depending on what it is):

netstat -rn
nightwich
Valued Contributor

Re: sendmail error

Hi again


Post your nestat -rn from your client.


In the client do a nslookup " name.of.mail.server "

Then do a ping "name.of.mail.server.

Tehn do a ping "ip.of.the.mail.server".

Regards
Prashantj
Valued Contributor

Re: sendmail error

Hi All,

# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 32808
192.168.3.62 192.168.3.62 UH 0 lan0 32808
192.168.0.0 192.168.3.62 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 32808
default 192.168.0.1 UG 0 lan0 1500

# nslookup 192.168.0.6
Using /etc/hosts on: ruleccdev

looking up FILES
Name: exchange
Address: 192.168.0.6
Aliases: server, krumail.kraheja.info


# nslookup krumail.kraheja.info
Using /etc/hosts on: ruleccdev

looking up FILES
Name: exchange
Address: 192.168.0.6
Aliases: server, krumail.kraheja.info


/etc/rc.config.d/netconf

HOSTNAME="ruleccdev"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1

INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.3.62
SUBNET_MASK[0]=255.255.248.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""


DEFAULT_INTERFACE_MODULES=""
ROUTE_MASK[0]=255.255.248.0
ROUTE_GATEWAY[0]=192.168.0.1
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default

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

Re: sendmail error

> SUBNET_MASK[0]=255.255.248.0

Unusual, but it could be ok.

So, these are the data for the (HP-UX) system
with IP address 192.168.3.62?

> What are the IP addresses and netmasks on
> the HP-UX system and on the system to which
> you're trying to send the e-mail?

And on the system to which you're trying to
send the e-mail?

A system with IP address 192.168.3.62 and
netmask 255.255.248.0 will think that it's on
the same subnet as a system with IP address
192.168.0.6. We also need to know what the
netmask is on the system whose IP address is
192.168.0.6. (Route information on that
system would also be interesting.) If that
netmask is different from this one, then that
system may not know how to get a reply back
to 192.168.3.62.