Note that there are some explanatory texts on larger screens.

plurals
  1. POUbuntu exim4 - Config setup and spam filters
    primarykey
    data
    text
    <p>I've recently setup my Ubuntu web server with exim4 so my PHP website applications can send email such as "thank you" and "confirmation" notices.</p> <p>I've got it setup and working such that I can send email to gmail, Yahoo! and my work address. However, my work email gets caught up in our spam filter. I'm new to setting up mail servers so I'm not sure what I might need to look for in making this mail server more trusted, while keeping is secure.</p> <p>Here are some details:</p> <ul> <li>Server is NATed behind a firewall.</li> <li>Firewall has port 25 open for outgoing SMTP traffic (from server to anywhere).</li> <li>Server is virtual hosting a couple different of our websites</li> <li>The server is running the following exim4 config: </li> </ul> <blockquote> <p>dc_eximconfig_configtype='internet'<br> dc_other_hostnames='web-serv.example1.com;example2.com'<br> dc_local_interfacees='127.0.0.1'<br> dc_readhost=''<br> dc_relay_domains=''<br> dc_minimaldns='false'<br> dc_relay_nets='' dc_smarthost=''<br> CFILEMODE='644'<br> dc_use_split_config='false' </p> </blockquote> <p>Questions:</p> <p>Do I need to open port 25 to incoming SMTP mail (anywhere to server)? I wonder if other mail servers need to talk to my mail server to verify itself, in a sort of handshake attempt.</p> <p>I have not created any MX records primarily because the server has different websites on it the mail server should send mail for all the websites. Do I need to pick/create a domain address and create MX records for it?</p> <p>One thing of note is that the mail headers look like this:</p> <pre><code>Return-Path: &lt;www-data@example2.com&gt; Received: from web-serv.example1.com ([Firewall public IP Address]) Received-SPF: neutral (google.com: [Firewall public IP Address] is neither permitted nor denied by best guess record for domain of www-data@example2.com) </code></pre> <p>"web-serv" is the host name of the server, such that you get this if you type it into the command line: </p> <pre><code>$ hostname web-serv </code></pre> <p>and "www-data" is the account name for the Apache2 server that Ubuntu gave it as default.</p> <p>Any other general advice would be appreciated. It's all new to me.</p> <p>Cheers!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload