Submitted by infojunkie on Thu, 2006-02-23 01:41.
We want to setup SMTP relay for Drupal home server using Postfix.
PREREQS:
Drupal
Postfix (through Ubuntu's apt-get)
A verifiable domain name for your IP (dyndns address will do)
PROCEDURE:
* Change /etc/mailname to your domain name, in my case karimratib.dyndns.org.
* Enable SMTP relay for Postfix. The name of your relay is assumed to be foobar.com.
* Set the email name of your Drupal site in administer > settings
TESTING
Try creating a new login on your Drupal system, preferably supplying an email address that you can check.