I followed this tutorial on Linode to setup a send only mail server:
It works but with some oddities. Sending email with PHP works as long as only 1 email address is supplied. If I use a comma separated list in the to field it seems to not fully work. Or not all the addresses get the email.
My config looks like;
dc_eximconfig_configtype='internet' dc_other_hostnames='isthatbeergood.com; themoviepostersite.com; parkereatery.com; stratford.parkereatery.com; trumbull.parkereatery.com; richtestani.com; localhost;' dc_local_interfaces='127.0.0.1' dc_readhost='' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='' CFILEMODE='644' dc_use_split_config='false' dc_hide_mailname='' dc_mailname_in_oh='true' dc_localdelivery='maildir_home'
While most emails wont even come to the hostnames since it send only, will it send to any address?
Here is the end of /var/log/exim4/mainlog
2014-06-20 10:37:29 1WxzwV-0008DP-Vi => firstname.lastname@example.org R=dnslookup T=remote_smtp H=mx3.mac.com.akadns.net [126.96.36.199] 2014-06-20 10:37:29 1WxzwV-0008DP-Vi Completed 2014-06-20 10:41:04 1Wy000-0008Do-SH <= email@example.com U=www-data P=local S=531 2014-06-20 10:41:05 1Wy000-0008Do-SH => firstname.lastname@example.org R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [188.8.131.52] X=TLS1.2:RSA_ARCFOUR_SHA1:128 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com" 2014-06-20 10:41:05 1Wy000-0008Do-SH => email@example.com R=dnslookup T=remote_smtp H=mx2.mac.com.akadns.net [184.108.40.206] 2014-06-20 10:41:05 1Wy000-0008Do-SH Completed
Interesting it says my mac.com address is complete, but I never got the email. Gmail made it but no completed message.
Any help here would be great! Rich