I just install postfix and configure it for local email only as a way to have a sendmail program and test my PHP scripts. My question is, how can I use an HTML capable email client like Thunderbird to read local (root email, etc.) emails?
(When I am discussing the setup below, I am using desktop Ubuntu 12.04)
Now that you have installed
First, as recommended in this discussion what worked for me was to use
As also noted in the above link, you need to create a
and then run
to place your user: e.g.
In addition, I found it was necessary to add your user to the mail group so that
and then logout and login for the changes to take effect. There is no need to
Now for the
Now, go to your new account in account settings and select server settings and select the local directory as
As per the instructions in this article you will need to configure the smtp server if you want to test the account by sending a mail to
Go to account settings > outgoing server and choose to add a new one. The settings should be as in the screenshot below:
Now, finally test your account by composing a mail to
Some programs or logs will need to be configured so that they send mail to root, but that can be decided as you find the need. This article should hopefully be useful as it is not always straightforward to set up
Try Edit-> Account Settings and under Account Actions choose "Add Other Account."
Choose "Unix Mailspool (Movemail)" from the list and continue the configuration with your name, account, other settings.
When you "Get Mail" it should look in /var/spool/mail on your system (localhost) for your mail file.