Ad Widget

Collapse

Media types - SMTP authentication error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MaelV
    Junior Member
    • Jan 2024
    • 5

    #1

    Media types - SMTP authentication error

    Hi everyone,

    I am facing issues with SMTP authentication on Zabbix : 7.0.0alpha9
    Installed on a Debian 12 VM on VirtualBox

    I am currently using a Exchange server for my compagny (ex-mail.biz)


    My media types settings are as below;

    Type = email
    Email provider = Generic SMTP

    SMTP server = ex-mail.biz
    SMTP server port = 587
    SMTP email = [email protected]
    SMTP helo = i am not sure about this one ( private-xx.fr / or / ex-mail.biz )

    Connection security = STARTTLS
    SSL verify peer = unchecked
    SSL verify host = checked

    Authentication = normal password
    User = [email protected]
    Password = xxxxxxxxxxx​


    ===============​=================================

    Debug logs = 5

    cat /var/log/zabbix/zabbix_server.log

    1094:20240111:080313.126 Starting Zabbix Server. Zabbix 7.0.0alpha9 (revision 6c4616adff7).
    1094:20240111:080313.127 ****** Enabled features ******
    1094:20240111:080313.127 SNMP monitoring: YES
    1094:20240111:080313.127 IPMI monitoring: YES
    1094:20240111:080313.127 Web monitoring: YES
    1094:20240111:080313.127 VMware monitoring: YES
    1094:20240111:080313.127 SMTP authentication: YES
    1094:20240111:080313.127 ODBC: YES
    1094:20240111:080313.127 SSH support: YES
    1094:20240111:080313.127 IPv6 support: YES
    1094:20240111:080313.127 TLS support: YES
    1094:20240111:080313.127 ******************************
    ​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////
    ​​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////​/////
    1196:20240111:090800.263 failed to send email: An authentication function returned an error
    1195:20240111:092524.894 failed to send email: An authentication function returned an error









    ===============​=================================

    I tested those settings with thunderbird installed in the Zabbix VM and it worked perfectly.
    I can't figure out whats the issue and if its from the VM or Zabbix.

    The only things i am not sure about is the SMTP helo and the SSL verify peer / host
    I Already try to check / uncheck those settings and different SMTP helo.


    I hope someone will have an idea of whats going on.
    Thanks in advance for helping me.





  • MaelV
    Junior Member
    • Jan 2024
    • 5

    #2
    I did some wireshark to see where the problem could be, from what i understand it looks like the connexion is ok but then nothing ??
    The other packets after that seems to be a another try from Zabbix

    Click image for larger version

Name:	wireshark.png
Views:	1385
Size:	765.3 KB
ID:	477000

    Comment

    • MaelV
      Junior Member
      • Jan 2024
      • 5

      #3

      I got some news, the issue seems to be that i use a "@" in the user authentification.
      When i try without it the error became "login denied" which is normal because i can't write my full username.

      Is there a way to write the username without getting the error ?

      Comment

      • MaelV
        Junior Member
        • Jan 2024
        • 5

        #4
        I still have the same problem, i need to have a "@" in my username to connect to the server, i tried many things like quote but i still get the error.
        Any ideas of how to get around it.

        Comment

        • AleAmadoC
          Junior Member
          • Jun 2024
          • 1

          #5
          Hello, I'm having the exact same Issue, I tried to use my username without @ using domain\username, but got the same error, did you found a solution for this? I'm in full Release version 7.0

          Best Regards

          Comment

          • sai.barker
            Junior Member
            • Sep 2024
            • 15

            #6
            Hello,
            I too am having the same problem.. Does anyone know a work around for this?

            Comment

            • sai.barker
              Junior Member
              • Sep 2024
              • 15

              #7
              Does anyone know if this is a know bug?

              Comment

              • PavelSC
                Junior Member
                • Apr 2025
                • 1

                #8
                Originally posted by sai.barker
                Hello,
                I too am having the same problem.. Does anyone know a work around for this?
                Hi, I replaced the "@" symbol with "%" in the user authentification and it worked.
                User = pavelsc@google.com changed pavelsc%google.com​​​

                Comment

                Working...