Operating System - HP-UX
1833328 Members
2732 Online
110051 Solutions
New Discussion

Re: Sendmail not able to send mails to yahoo,gmail accounts..

 
SOLVED
Go to solution
boomer_2
Super Advisor

Sendmail not able to send mails to yahoo,gmail accounts..

Hi guys,
m not able to send mails from my HP serevr 11iv2 to yahoo,gmail accounts...
whereas i can successfully send messages to my domain cedge.in...........

attached herewith is d output...........

root #/ >sendmail -v teja402000@gmail.com.
hiiiiiiiiiiiteja402000@gmail.com.... Connecting to [64.xx.xx.xx] via relay...
220 tm.t.net
>>> EHLO smtp.cedge.in
250-tm Hello [203.xx.xx.xx]
250-SIZE 10485760
250-AUTH LOGIN CRAM-MD5
250 OK
>>> MAIL From: SIZE=12 AUTH=tejas@smtp.cedge.in
250 OK Sender ok
>>> RCPT To:
550 No such user here
>>> RSET
250 OK
/home/tejas/dead.letter... Saved message in /home/tejas/dead.letter
Closing connection to [64.xx.xx.xx]
>>> QUIT
221 Service closing transmission channel



and when i send it to my domain ..it goes fine.......as follows..
root #/ >sendmail -v tejas.chaudhari@cedge.in.
hi m tejas test mail
tejas.chaudhari@cedge.in.... Connecting to [64.xx.xx.xx] via relay...
220 tm.t.net
>>> EHLO smtp.cedge.in
250-tm Hello [203.xx.xx.xx]
250-SIZE 10485760
250-AUTH LOGIN CRAM-MD5
250 OK
>>> MAIL From: SIZE=21 AUTH=tejas@smtp.cedge.in
250 OK Sender ok
>>> RCPT To:
250 OK Recipient ok
>>> DATA
354 Start mail input; end with .
>>> .
250 OK
tejas.chaudhari@cedge.in.... Sent (OK)
Closing connection to [64.37.118.141]
>>> QUIT
221 Service closing transmission channel

sendmail.cf attached herewith.....
9 REPLIES 9
whiteknight
Honored Contributor

Re: Sendmail not able to send mails to yahoo,gmail accounts..


Boomer

I think your gmail id is incorrect.

Can you try to send to me?

sendmail -v yewtay@gmail.com

I tested mine it is working account


WK
please assign points
Problem never ends, you must know how to fix it
boomer_2
Super Advisor

Re: Sendmail not able to send mails to yahoo,gmail accounts..

Hi Whiteknight,
No its absolutely perfect mailid......
Even i tried it 4 ur mail id d same result comes...
i think when i do
nslookup smtp.cedge.in

Using /etc/hosts on: cedge2

looking up FILES
Name: smtp.cedge.in
Address: 64.xx.xx.xx

its fine right....also did u hv a look at the sendmail.cf file,probably some changes need to be done....
plzz kindly let me know hw to proceed.....



whiteknight
Honored Contributor

Re: Sendmail not able to send mails to yahoo,gmail accounts..

Boomer,

# "Smart" relay host (may be null)
DS[64.37.118.141]

=> You do not need [ ]

DS64.37.118.141 => do you have domain name instead of IP address


WK
please assign points
Problem never ends, you must know how to fix it
Steven E. Protter
Exalted Contributor

Re: Sendmail not able to send mails to yahoo,gmail accounts..

Shalom,

These are the requirements to deliver mail to a domain using modern anti-spam techniques:

1) The sending domain must be resolvable.
2) The domain of the mail server must match the sending domain.

Some optional:

3) There must be a valid reverse lookup for the sending ip address.
4) The reserve lookup information must be consistent with the domain information.


In summary, the sending location must be verifiable and consistent. Out of the box sendmail on an HP-UX system does not meet these criteria. The default domain probably is internal to your corporate network and doesn't resolve on the public Internet.

Most of this stuff is handled by your network group providing you a smtp relay for mail and making sure all the IP/DNS/reverse lookup information is consistent.

Then you need to use the DJ directive in sendmail.cf or set your domain in sendmail.mc (followed by m4 compile of sendmail tables).

Djyourdomain.com

Again yourdomain.com must be resolvable on the public internet and meet at least the top two criteria above.

Note yahoo merely accepts the mail and never delivers it. google sometimes objects but you really aren't given an indication of what the problem is. I've applied th above standards to my personal domains to decrease disk space use by spam on the servers. They are becoming much more widely used outside of big domains.

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
boomer_2
Super Advisor

Re: Sendmail not able to send mails to yahoo,gmail accounts..

Hi Steven,
Thanx for ur wonderful explaination ....
But my problem is that m getting
550 No such user here...

May i know what might be d issue here???
Steven E. Protter
Exalted Contributor
Solution

Re: Sendmail not able to send mails to yahoo,gmail accounts..

Shalom again,

Here is a test from a properly configured mail server with consistent DNS and reverse lookup.

Last login: Tue Sep 11 04:17:46 2007 from baghdad
[root@shalom1 ~]# telnet gmail-smtp-in.l.google.com 25
Trying 64.233.167.114...
Connected to gmail-smtp-in.l.google.com (64.233.167.114).
Escape character is '^]'.
220 mx.google.com ESMTP p57si7355314pyb
helo isnamerica.com
250 mx.google.com at your service
mail from:invest@investmenttool.com
555 5.5.2 Syntax error p57si7355314pyb
mail from:
250 2.1.0 OK
rcpt to:
250 2.1.5 OK
data
354 Go ahead
test from shmuel SEP protter
.
250 2.0.0 OK 1189582442 p57si7355314pyb


To prevent spam, I've changed my mail from: address because real email addresses posted here get harvested by spammers.

google accepted the mail. The user was validated on the way in.

Will you get it? If it passes through the spam filters.

550 is an error that can be configured for any reason the mail administrator wants in the /etc/mail/access file. After newaliases and an m4 compile, its a rule and the mail is rejected.

Since google accepted my mail to that user, I can only surmise that one of the four rules I posted earier is being violated and that is why they are rejecting the mail.

When I attempt to send mail to google from a Linux box in my home, is part of my investmenttool.com domain but does not have reverse lookup and is actually coming from Israel's bezeqint.net ISP, google rejects it.

Why? Because the server says its part of investmenttool.com (its my Jerusalem test lab), but the mail is actually coming from bezeqint.net

So. If you have complete control of your environment, including DNS, I can provide you with step by step on how to comply with google's guidelines. Even after doing this, yahoo may still default you to the bulk mail folder.

I've only got a few hours left before the new year begins, but I'll watch the thread and help you as you request between now and 5768.

Shana Tova to all.

:-)

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
boomer_2
Super Advisor

Re: Sendmail not able to send mails to yahoo,gmail accounts..

Hi Steven,
Thanx nw i m able to send mails to my gmail account.........the problem was in my sendmail.cf file..the gmail relay entry was not proper....the one u mentioned in that test worked charmingly..........

One more thing can i put multiple entries of DS macro.....in my sendmail.cf file...
And thnks for ur test mail..it feels great to receive atleast a TEST MAIL from an OLYMPIAN...

Thank u again......
Steven E. Protter
Exalted Contributor

Re: Sendmail not able to send mails to yahoo,gmail accounts..

Shalom,

Much simpler from your standpoint than I thought.

Please zero point this post.

Post here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1157827
Ask them to alter youremail address in this thread to avoid spam receipt.

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
boomer_2
Super Advisor

Re: Sendmail not able to send mails to yahoo,gmail accounts..

Ok Steven ,
Thanx again i will do the needful..........