Using fedora 17 commandline 'mail' program cannot send to hotmail

Posted by Eric Leschinski on Super User See other posts from Super User or by Eric Leschinski
Published on 2012-11-13T22:54:11Z Indexed on 2012/11/13 23:06 UTC
Read the original article Hit count: 272

Filed under:
|
|
|
|

I am trying to use the console in Fedora 17 to send an automated email to myself.

I run this:

echo "email content" | mail -s "blah" [email protected]

It works fine, google treats it as a spam email, but when you mark it not spam everything is cool. For Hotmail there are policies to prevent the email from being sent.

I do this:

echo "email content" | mail -s "blah" [email protected]

And the email returns as undeliverable, the email does not even appear in the spam folder and I get this as a response:

----- Transcript of session follows -----
... while talking to mx3.hotmail.com.:
>>> MAIL From:<[email protected]> SIZE=685
<<< 550 DY-001 (BAY0-MC3-F8) Unfortunately, messages from 184.90.101.28 
weren't sent. Please contact your
+Internet service provider. You can tell them that Hotmail does not relay 
dynamically-assigned IP ranges.
+You can also refer your provider to 
http://mail.live.com/mail/troubleshooting.aspx#errors.
554 5.0.0 Service unavailable

So apparently hotmail doesn't like spammers so much, they they are blocking anything with a dynamically assigned IP range. Google does not do this. What is the easiest way to just get around this and send an email to hotmail and end up in their spam folder to be unblocked later by the user?

© Super User or respective owner

Related posts about linux

Related posts about command-line