1833846 Members
2025 Online
110063 Solutions
New Discussion

i cant send mail

 
SOLVED
Go to solution
Dereckfun
New Member

i cant send mail

hi i have a hp-ux B.11.11 U which i connect from telnet.

i want to use mailx command to send mail. I configured /etc/hosts and add the ip of an mail server computer. Sendmail is installed and when i try to send mail, cursor waits for a long time but nothing happens.
A few times it returns to my mailbox as returned mail. This (returned) mail says the problem is unknown host.
How can i solve this problem.
if you want more details i try to explain...

thnx

this is my command

mailx -s "try" halil@mymail.com
7 REPLIES 7
Dennis Handly
Acclaimed Contributor

Re: i cant send mail

I assume after that mailx command you then type your message? And end with a "."?
Dereckfun
New Member

Re: i cant send mail

ok after i write message i seems as sent...
i doesnt give any error.
but still my mail isnt delivered to recipients.
Ivan Krastev
Honored Contributor

Re: i cant send mail

Use sendmail to obtain more information:

# echo test | sendmail -v your@mail.com

regards,
ivan
Steven E. Protter
Exalted Contributor
Solution

Re: i cant send mail

Shalom

mailq

# Checks if the message is queued or not.

tail /var/adm/syslog/mail.log

# Checks for error messages.

sendmail -v -d8.99 -d38.99 halil@mymail.com

type some text

.


Full diagnostics.

Run the diagnostics above and post the results please.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Yogeeraj_1
Honored Contributor

Re: i cant send mail

hi,

Make sure that your sendmail has been properly configured.

In your /etc/mail/sendmail.cf
1. Configure the macro DS to DS
and also configure the macro Dj$w. to Dj$w.

2. make sure that the name is properly resolved either by the /etc/hosts or the DNS


kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Jeeshan
Honored Contributor

Re: i cant send mail

BTW where you want to send mail?
is it HP-UX to MS Exchange?

Please chek your configuration

a warrior never quits
Dereckfun
New Member

Re: i cant send mail

thank you all...

the problem was in sendmail.cf i changed my domain, QueueLA and RefuseLA parameters there.
i deleted $w from Dj$w.Mydomain
and it worked.