Hostname / php emails Setup
Hi
On my server I have 3 vBulletin forums:
forum-one.com
forum-two.com
forum-three.com
I and currently using the default setting (internal PHP mail() function.) to send notification, signup and other forum generated emails.
My problem is the hostname of the server is not setup to send / receive emails.
Instead any email sent from one of my 3 forums is displayed as sent from:
"mypersonal@address.com via "the-current-hostname"
or
"mypersonal@address.com" and gmail for example says it cannot confirm it was sent from by "@address.com" ... as it was not...
The current Hostname of the server has no SPF or DKIM records etc to help ensure my emails get delivered to the in box and not the spam folder / blocked.
How can i fix this ?
Do i need to register a new domain, then assign it as the host name eg: "forums.new-domain.com" then add SPF and DKIM records to the "new-domain.com" domain name and have the sent email from my forums as something like rory@new-domain.com ?
any suggestions would be a great help.
Thanks - Rory
-
Preferably, you should be using the SMTP settings in your vB options. SMTP Email - Yes SMTP Host - mail.yourdomain.com SMTP Port - 587 SMTP Username - noreply @ yourdomain.com (for example) SMTP password - SMTP Secure Connection - TLS 0 -
Thanks, The issue was the emails were not being sent as "Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak)" was set to enable... Once i disabled this the setup you mention works. Is there any other way to secure this now that this tweak is disabled ? 0 -
Do you have CSF installed? If yes, find the SMTP Settings section there. 0 -
I currently don't have CSF installed... is it the best option ? 0 -
CSF is a really good option if security matters to you. 0
Please sign in to leave a comment.
Comments
5 comments