TurnKey Linux Virtual Appliance Library
Liraz Siri's picture

You'll need to configure Postfix relayhost option

Postfix is installed by default on the Drupal 5/6 appliances and should handle sending Drupal messages (e.g., password recovery) without further configuration.

To configure postfix to relay mail to another mail server (e.g., Exchange), set the value for "relayhost" in /etc/postfix/main.cf like this:

sed -i '/relayhost/ s/=.*/= [my.exchangeserver.net]/' /etc/postfix/main.cf
Alternative you can just edit the configuration file with a text editor (e.g., vim).

Unfortunately, there doesn't seem to be an easy way of doing this from the webmin interface.

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)