Outgoing Mail VPS
-
What command could I use to send myself a test message?
-
Sending a mail to someone...
mail -s "This is an email" [email protected] < mail_message.txt
Where mail_message.txt is a text message containing the body of the email that you want to send.
-
My wordpress form isn't working, but I don't know if it's the form or the server =P
-
@anonymous said:
My wordpress form isn't working, but I don't know if it's the form or the server =P
Test the mail command. If it works, it's the Wordpress setup. If not, it's at least partially the server.
-
To where are you trying to send? Keep in mind that you are setting up your own email server here so you likely need to whitelist with wherever you are sending to.
-
@scottalanmiller My gmail account.
-
@anonymous said:
@scottalanmiller My gmail account.
Did you whitelist the IP address that you are trying to send from? Gmail will likely see it as a spam location since you didn't set up SPF, reverse DNS, etc., right?
-
IT IS IN MY SPAM FOLDER!
-
@anonymous said:
IT IS IN MY SPAM FOLDER!
Ta da!
-
Now, how do I set this up so it's not in my spam folder? I am going to be sending mail on this server from 3 or more different domains. How hard is that to do?
-
Postfix on Linux is super easy to set up for outgoing mail. It's all set on CentOS to just work out of the box. About as easy as email systems get.
-
@anonymous said:
Now, how do I set this up so it's not in my spam folder? I am going to be sending mail on this server from 3 or more different domains. How hard is that to do?
That's all about GMail, not Postfix
-
@scottalanmiller True, but wouldn't most providers do that? Office365, etc?
-
@anonymous said:
@scottalanmiller True, but wouldn't most providers do that? Office365, etc?
Yes, but it is unique to each - convincing them to accept traffic from that source.
-
My personal Wordpress site is on my own CentOS7 box just because.
It sends email without a proble, and I do not recall configuring any specific stuff in postfix.What I have at one client that switched from SBS to O365 for email is a local CentOS 7 box that sends out their bulk email notification stuff, but I added their office IP to the SPF record for them.
They had to have this because they have a price notification system that sends out a few thousand emails a few times a day and they were running into the built in Office365 SMTP restrictions.
-
@JaredBusch, exactly - adding the IP to the SPF record is what fixed your Wordpress site as well as the bulk email system (assuming they both look like they are coming from the same IP). No change the Postfix needed.
@anonymous assuming you have an email domain, you should also be able to setup a SPF record including not only your real email server, but also the IP in front of your Wordpress box.
-
@Dashrender said:
@JaredBusch, exactly - adding the IP to the SPF record is what fixed your Wordpress site as well as the bulk email system (assuming they both look like they are coming from the same IP). No change the Postfix needed.
There is no SPF record for the domain on my WordPress site, you misread that.
-
@JaredBusch said:
@Dashrender said:
@JaredBusch, exactly - adding the IP to the SPF record is what fixed your Wordpress site as well as the bulk email system (assuming they both look like they are coming from the same IP). No change the Postfix needed.
There is no SPF record for the domain on my WordPress site, you misread that.
ohh... you were talking about two different setups.. yup.. missed it.
Weird that you don't have your messages marked as spam.