dmcollie's picture


How do I configure the appliance to allow Drupal to relay email via an internal Exchange server?



Liraz Siri's picture

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/ like this:

sed -i '/relayhost/ s/=.*/= []/' /etc/postfix/
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.

Add new comment