I have CSF on my server and just recently noticed the new warning about pop before smtp / Antirelayd. I had this enabled for whatever reason in the past. I did some research and found out what it was and does and went ahead and disabled it. This got me looking into some other settings with my email.
Here is an example setup for an email account on the server right now.
server : server.servername.com
email address : [email protected]
pop mail server : mail.example.com on port 110
smtp server : mail.example.com on port 25
smtp auth is enabled as antirelayd is disabled.
To be honest I have always had my accounts setup like this as long as I have had a server. Would it be advised to use ssl for both sending and receiving on 995 and 465? I actually tested this with smtp and received a certificate popup (just have the self signed on the server now), but was able to send it.
With that comes a few other questions :
- If a buy an ssl cert for mail then can I still use the same mailserver setup mail.example.com for each domain or will I need to use my servername for all domains?
- Is it possible to force ssl for all mail connections? I assume this would prevent attempts on hacking any mail accounts a little more.
- Will this have any affect on script email? For example, a php script on a website that sends mail to myself (contact form) comes from [email protected] (suphp running).
- I only host my own sites on this server - is an ssl cert for mail even necessary really?
- I recently noticed emails from any of my server domains to gmail accounts are being sent to the gmail spam folder. Yes, I have DKIM and SPF working properly. PTR and RDNS is setup properly as well. SMTP auth is also in effect. Would sending with ssl have any affect on this or 'help' at all?
Thanks for any information, this is just one of those things I knew was available, but never really cared over the years as it worked the way it was.
Here is an example setup for an email account on the server right now.
server : server.servername.com
email address : [email protected]
pop mail server : mail.example.com on port 110
smtp server : mail.example.com on port 25
smtp auth is enabled as antirelayd is disabled.
To be honest I have always had my accounts setup like this as long as I have had a server. Would it be advised to use ssl for both sending and receiving on 995 and 465? I actually tested this with smtp and received a certificate popup (just have the self signed on the server now), but was able to send it.
With that comes a few other questions :
- If a buy an ssl cert for mail then can I still use the same mailserver setup mail.example.com for each domain or will I need to use my servername for all domains?
- Is it possible to force ssl for all mail connections? I assume this would prevent attempts on hacking any mail accounts a little more.
- Will this have any affect on script email? For example, a php script on a website that sends mail to myself (contact form) comes from [email protected] (suphp running).
- I only host my own sites on this server - is an ssl cert for mail even necessary really?
- I recently noticed emails from any of my server domains to gmail accounts are being sent to the gmail spam folder. Yes, I have DKIM and SPF working properly. PTR and RDNS is setup properly as well. SMTP auth is also in effect. Would sending with ssl have any affect on this or 'help' at all?
Thanks for any information, this is just one of those things I knew was available, but never really cared over the years as it worked the way it was.