TurnKey Linux Virtual Appliance Library

Moodle Tunkey Appliance


I have just deployed the Moodle Turnkey Appliance to the Amazon cloud. All is working perfectly except email. I just want to enable to built in php mail functions in Moodle. I have tried leaving the SMTP hosts field blank under email configuration in Moodle but this has not worked. I do want to receive any email on this server.

I have searched the documentation but so far have not found what i need.

Can anyone point me towards configuration instructions or have a step by step to get email working on this server.



Update, My apologies for


My apologies for not updating this post sooner but have been extremely busy at work.

It turns out that there was nothing wrong with my Turnkey Linux install after all.

Email was being sent out but not reaching clients because the Amazon E2C elastic IP is listed in Spamhaus.

I am trying additional elastic IPs and checking to see if they are listed in Spamhaus.

Does anyone have another solution?



Jeremy Davis's picture

Thanks for getting back with an update

Unfortunately I am of no use to you at all re this issue, but be great if you do find an alternate solution if you could post back again. :)

flexbean's picture

Spamhaus strikes again

I've encountered the same issue with a StatusNet instance generated by the TKL Hub. Emails fail to deliver to major providers (like GMail and Yahoo) for no readily apparent reason. The reason is the instance IP was poisened by prior spammer activity. That is the IP has been placed Spamhaus or another list. This could prove to be quite frustrating for people looking for a clean appliance install experience.

Any possibility of the appliance or Hub checking Spamhaus for appliance IP's? Maybe flag the instance in the Hub that the IP is on a spam list or maybe a Hub account option to automatically restart instances if they are discovered on Spamhaus.



Alon Swartz's picture

Tips and workarounds...

Take a look at this, it explains the issue and includes some workarounds/tips.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)