doni49
Posts: 94
Joined: Wed Jan 23, 2013 4:59 pm

Exim4 Issue

Wed Jan 29, 2014 12:34 am

I have RasPBX (http://www.raspberry-asterisk.org) loaded on a RasPi.

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.com
I don't want exim to contact recipient smtp servers directly because I'm on a dynamic IP address and I know such messages are likely to be dropped. I have a hosted web service with a mail server.

The 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'

doni49
Posts: 94
Joined: Wed Jan 23, 2013 4:59 pm

Re: Exim4 Issue

Fri Jan 31, 2014 11:07 pm

Bump.

doni49
Posts: 94
Joined: Wed Jan 23, 2013 4:59 pm

Re: Exim4 Issue

Sun Feb 02, 2014 3:16 am

Any ideas or advice?

User avatar
Richard-TX
Posts: 1549
Joined: Tue May 28, 2013 3:24 pm
Location: North Texas

Re: Exim4 Issue

Sun Feb 02, 2014 4:57 am

I would follow the directions at http://www.raspberrypi.org/phpBB3/viewt ... il#p497622

I would change gmail to your own smarthost and see what that does for you.
Richard
Doing Unix since 1985.
The 9-25-2013 image of Wheezy can be found at:
http://downloads.raspberrypi.org/raspbian/images/raspbian-2013-09-27/2013-09-25-wheezy-raspbian.zip

Return to “Networking and servers”