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

    XenServer - SSMTP - Define Account

    IT Discussion
    smtp xenserver define email
    5
    17
    2.2k
    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.
    • DustinB3403D
      DustinB3403
      last edited by scottalanmiller

      So this is a general question, is anyone aware of where I have to define a user account within /etc/ssmtp/ssmtp.conf (or thereabouts) to be able to send email from XenServer.

      Just looking for a way to confirm MDADM alerts, as well as usage alerts.

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

        No idea, I only use Postfix 🙂

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

          Why do you need a user account? Have you tested the mail command?

          travisdh1T 1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            Well that ain't much help lol.

            1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403
              last edited by

              mail: command not found

              1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403
                last edited by DustinB3403

                Plus wouldn't using what's already built into XS be better than having to customize the installation?

                1 Reply Last reply Reply Quote 0
                • travisdh1T
                  travisdh1 @scottalanmiller
                  last edited by

                  @scottalanmiller said:

                  Why do you need a user account? Have you tested the mail command?

                  Great point. Have you tried sending yourself an email from the command line yet?

                  echo "Test Email" | mail -s 'test' [email protected]
                  
                  1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403
                    last edited by DustinB3403

                    Mail isn't found.

                    I could install it.

                    yum install -y mailx
                    

                    Edit: actually mailx and mail aren't found as available for installation...

                    1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403
                      last edited by

                      Of course I have to enable the repo under

                      /etc/yum.repos.d/CentOS-Base.repo
                      enabled=1

                      1 Reply Last reply Reply Quote 0
                      • DanpD
                        Danp
                        last edited by

                        Does this article help at all?

                        DustinB3403D 1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403
                          last edited by

                          Which with it installed.

                          0_1453998095651_XenCenterMain_2016-01-28_11-20-59.png

                          1 Reply Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403 @Danp
                            last edited by

                            @Danp said:

                            Does this article help at all?

                            Somewhat but it has something to do with the SMTP settings...

                            I can successfully connect with SSL on port 587

                            but can't open smtp.office365.com

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

                              Ah, the issue is that you want to use a relay. might want to try skipping the relay.

                              JaredBuschJ 1 Reply Last reply Reply Quote 1
                              • DustinB3403D
                                DustinB3403
                                last edited by

                                Got it sorted with a good old gmail account.

                                🙂

                                0_1454000442709_OUTLOOK_2016-01-28_12-00-36.png

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

                                  @scottalanmiller said:

                                  Ah, the issue is that you want to use a relay. might want to try skipping the relay.

                                  Yes, using a relay is a much different thing than sending mail directly.

                                  @DustinB3403 You just worked around an issue without even know what your issue was.

                                  DustinB3403D 1 Reply Last reply Reply Quote 1
                                  • DustinB3403D
                                    DustinB3403 @JaredBusch
                                    last edited by

                                    @JaredBusch said:

                                    @scottalanmiller said:

                                    Ah, the issue is that you want to use a relay. might want to try skipping the relay.

                                    Yes, using a relay is a much different thing than sending mail directly.

                                    @DustinB3403 You just worked around an issue without even know what your issue was.

                                    I know,

                                    I also figured out the Unicorn problem that North Korea has all by myself.

                                    YAY!

                                    ✨ ✨ ✨

                                    travisdh1T 1 Reply Last reply Reply Quote 1
                                    • travisdh1T
                                      travisdh1 @DustinB3403
                                      last edited by

                                      @DustinB3403 said:

                                      @JaredBusch said:

                                      @scottalanmiller said:

                                      Ah, the issue is that you want to use a relay. might want to try skipping the relay.

                                      Yes, using a relay is a much different thing than sending mail directly.

                                      @DustinB3403 You just worked around an issue without even know what your issue was.

                                      I know,

                                      I also figured out the Unicorn problem that North Korea has all by myself.

                                      YAY!

                                      ✨ ✨ ✨

                                      So long as we're not going to candy mountain here....

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