User Tools

This is an old revision of the document!


Simple Email Setup

At this time, i choose not to setup a full email server on my home setup, but i still need to provide email notifications for some services.

The Gentoo default mail-mta/nullmailer package is more than enough. It should be laready installed, otherwise emerge it.

Configuration

I assume you already have a mail domain somewhere linked to your @mydomain.com, and you have your own address as myself@mydomain.com and you created a specific mailbox called home@mydomain.com to manage any email sent from services.

All the following files need to be under /etc/nullmailer:

adminaddr
myself@mydomain.com
defaultdomain
mydomain.com
defaulthost
mail
me
mail
remotes
mail.mydomain.com smtp port=587 user=home@mydomain.com pass=**** starttls

Usage

Try it from the command line:

(echo "Subject: test email"; echo "Hi! my nullmailer works...") | sendmail -F "Me Myself" -f myself@mydomain.com destination@otherdomain.de

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information