Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey all. I wrote a short script that sends an email to a list of addresses defined in a text file. It works great with gmail and a few other private email accounts, but for some reason all my users on hotmail don't get it. Any ideas? Has anyone heard of a problem with hotmail or anything? any help or comments would be appreciated. TIA.
PS, heres the script, for your enjoyment, education, or if you wish to flame me for it. :P
Thanks again.
#!/bin/bash
for email in $(cat emails.txt); do
echo "Sending mail to $email"
mail < message.txt $email -s "<subject goes here>" -- -f events@<company name>.com
done
exit 0
I can only speculate on how the hotmail folks have their MTA's configured, but I am able to send to hotmail. A couple of things to verify at your end...
1) SPF records added to DNS zone.
2) Both forward and reverse lookup names match for your MTA.
3) Your MTA's IP address is not listed on any RBL lists.
If all else fails, configure your MTA to send hotmail.com through your ISP's MTA.
Also, when reviewing my daily logfiles - I have noticed that the hotmail servers seem to reject the initial attempt at delivery. But the second (queued) attempt always works. Usually this means the remote MTA is configured with "greylisting". But you never know.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.