Exim4 is installed as part of the distro (so that it can send vmail/faxes via email). Part of the instructions I'm reading tell me to enter the following command and an email should arrive in my inbox.
Code: Select all
send_test_email doni49@mydomain.comThe ONLY email messages the RasPi will be sending will be destined for my own email address. I have a web host account which includes a mail server. I've configured exim to send email via the hosted mail server.
The recipient email address (mine) is on the same server. After running dpkg-reconfigure exim4-config, this is the contents of /etc/exim4/update-exim4.conf.conf
Code: Select all
dc_eximconfig_configtype='smarthost'
dc_other_hostnames='RasPBX'
dc_local_interfaces='127.0.0.1'
dc_readhost='mydomain.com'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.mydomain.com::26'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'