ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Outgoing Mail VPS

    Scheduled Pinned Locked Moved IT Discussion
    28 Posts 4 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Alex Sage
      last edited by

      What command could I use to send myself a test message?

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • A
          Alex Sage
          last edited by

          My wordpress form isn't working, but I don't know if it's the form or the server =P

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @Alex Sage
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              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.

              A 1 Reply Last reply Reply Quote 0
              • A
                Alex Sage @scottalanmiller
                last edited by

                @scottalanmiller My gmail account.

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @Alex Sage
                  last edited by

                  @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?

                  1 Reply Last reply Reply Quote 0
                  • A
                    Alex Sage
                    last edited by Alex Sage

                    IT IS IN MY SPAM FOLDER! 😄

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @Alex Sage
                      last edited by

                      @anonymous said:

                      IT IS IN MY SPAM FOLDER! 😄

                      Ta da!

                      1 Reply Last reply Reply Quote 0
                      • A
                        Alex Sage
                        last edited by Alex Sage

                        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?

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          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.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Alex Sage
                            last edited by

                            @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 🙂

                            1 Reply Last reply Reply Quote 0
                            • A
                              Alex Sage
                              last edited by

                              @scottalanmiller True, but wouldn't most providers do that? Office365, etc?

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @Alex Sage
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch
                                  last edited by

                                  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.

                                  1 Reply Last reply Reply Quote 2
                                  • DashrenderD
                                    Dashrender
                                    last edited by

                                    @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.

                                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                                    • JaredBuschJ
                                      JaredBusch @Dashrender
                                      last edited by

                                      @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.

                                      DashrenderD 1 Reply Last reply Reply Quote 0
                                      • DashrenderD
                                        Dashrender @JaredBusch
                                        last edited by

                                        @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.

                                        1 Reply Last reply Reply Quote 0
                                        • 1
                                        • 2
                                        • 1 / 2
                                        • First post
                                          Last post