Find the answer to your Linux question:
Results 1 to 8 of 8
When the content of message is being #!/usr/bin/php <?php foreach($id as $val){ file_get_contents("https://www.example.com/admin/script.php?user_id=$val&date=today"); } ?> , emails can be successfully sent to hotmail accounts. However, when the content is being ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Posts
    3

    sendmail to hotmail.com


    When the content of message is being
    #!/usr/bin/php
    <?php
    foreach($id as $val){

    file_get_contents("https://www.example.com/admin/script.php?user_id=$val&date=today");
    }
    ?>

    , emails can be successfully sent to hotmail accounts. However, when the content is being
    #!/usr/bin/php
    <?php
    foreach($id as $val){

    file_get_contents("https://www.example.com/admin/script.php?user_id=$val");
    }
    ?>

    , no emails can be received by hotmail accounts. Both work on gmail accounts, any idea why it is the case to hotmail accounts?

    Verbose output is pasted below:
    --- unsuccessfully one
    mail -v -s "subject" user@hotmail.com < ~/message
    user@hotmail.com... Connecting to [127.0.0.1] via relay...
    220 www01.internal.example.org ESMTP Sendmail 8.13.1/8.13.1; Wed, 30 Aug 2006 02:00:55 -0700
    >>> EHLO www01.internal.example.org
    250-www01.internal.example.org Hello www.example.org [127.0.0.1], pleased to meet you
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-8BITMIME
    250-SIZE
    250-DSN
    250-ETRN
    250-AUTH DIGEST-MD5 CRAM-MD5
    250-DELIVERBY
    250 HELP
    >>> MAIL From:<root@www01.internal.example.org> SIZE=166 AUTH=root@www01.internal.example.org
    250 2.1.0 <root@www01.internal.example.org>... Sender ok
    >>> RCPT To:<user@hotmail.com>
    >>> DATA
    250 2.1.5 <user@hotmail.com>... Recipient ok
    354 Enter mail, end with "." on a line by itself
    >>> .
    250 2.0.0 k7U90t1n006266 Message accepted for delivery
    user@hotmail.com... Sent (k7U90t1n006266 Message accepted for delivery)
    Closing connection to [127.0.0.1]
    >>> QUIT
    221 2.0.0 www01.internal.example.org closing connection

    Aug 30 02:01:37 www01 sendmail[6310]: k7U91bhU006308: to=<user@hotmail.com>, ctladdr=<root@www01.internal.example.org> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120514, relay=mx1.hotmail.com. [65.54.244.136], dsn=2.0.0, stat=Sent ( <200608300901.k7U91bDN006307@www01.internal.exampl e.org> Queued mail for delivery)

    --- successfully one
    mail -v -s "subject" user@hotmail.com < ~/message
    user@hotmail.com... Connecting to [127.0.0.1] via relay...
    220 www01.internal.example.org ESMTP Sendmail 8.13.1/8.13.1; Wed, 30 Aug 2006 02:01:37 -0700
    >>> EHLO www01.internal.example.org
    250-www01.internal.example.org Hello www.example.org [127.0.0.1], pleased to meet you
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-8BITMIME
    250-SIZE
    250-DSN
    250-ETRN
    250-AUTH DIGEST-MD5 CRAM-MD5
    250-DELIVERBY
    250 HELP
    >>> MAIL From:<root@www01.internal.example.org> SIZE=177 AUTH=root@www01.internal.example.org
    250 2.1.0 <root@www01.internal.example.org>... Sender ok
    >>> RCPT To:<user@hotmail.com>
    >>> DATA
    250 2.1.5 <user@hotmail.com>... Recipient ok
    354 Enter mail, end with "." on a line by itself
    >>> .
    250 2.0.0 k7U91bhU006308 Message accepted for delivery
    user@hotmail.com... Sent (k7U91bhU006308 Message accepted for delivery)
    Closing connection to [127.0.0.1]
    >>> QUIT
    221 2.0.0 www01.internal.example.org closing connection

    Aug 30 02:01:56 www01 sendmail[6268]: k7U90t1n006266: to=<user@hotmail.com>, ctladdr=<root@www01.internal.example.org> (0/0), delay=00:01:01, xdelay=00:01:00, mailer=esmtp, pri=120503, relay=mx2.hotmail.com. [65.54.244.40], dsn=2.0.0, stat=Sent ( <200608300900.k7U90tNR006265@www01.internal.exampl e.org> Queued mail for delivery)

  2. #2
    Linux User
    Join Date
    Jan 2004
    Posts
    357
    I think it would have to do with Hotmail’s (Microsoft’s) policy on charging money for pop3 / SMTP access to the account where as it’s free with Goggle accounts.

    Do some google searches on “pop3 access to hotmail” to find out what other people are doing.

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Posts
    3
    I am a bit confused. Why the messages in longer length can be sent but the ones with shorter length can't?
    Actually, I have done another test on a college server and messages with only 7 characters can get to hotmail accounts. I am not sure if it's the problem from hotmail or the server I am using.

  4. #4
    Linux Enthusiast
    Join Date
    Dec 2004
    Posts
    637
    is your domain registered? If not, Hotmail may be blacklisting your domain as a Spam source. Something to consider...

  5. #5
    Just Joined!
    Join Date
    Aug 2006
    Posts
    3
    but that still doesn't answer why longer message works but not the shorter one

  6. #6
    Linux Enthusiast
    Join Date
    Dec 2004
    Posts
    637
    Spam is often times filtered by header and message length and that is what led me to question your domain registry. In addition, if your server is an open relay, it doesn't take very long for it to become black listed.

  7. #7
    Just Joined!
    Join Date
    Jun 2006
    Location
    (.)
    Posts
    69
    I am also receiving the same error while sending mail to hotmail users, whereas I could sent mail to gamil, yahoo or any other doamin from my Sendmail box

    Apr 13 04:27:36 vps sendmail[16233]: l3DBRZXv016231: to=<mosavani@hotmail.com>, ctladdr=<root@xxxxxx.com> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120317, relay=mx3.hotmail.com. [65.54.245.72], dsn=2.0.0, stat=Sent ( <200704131127.l3DBRYRi016230@xxxxxx.com> Queued mail for delivery)

    I have tried various configuration with sendamil with no success, any idea?

  8. #8
    Just Joined!
    Join Date
    Apr 2007
    Posts
    1
    I'm having the same problem also - anyone got any ideas? I've just emailed M$ support. My domain and mailservers are properly configured with forward and reverse lookups etc. Wondering if it was anything to do with the header flags set by sendmail...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •