haraka/haraka-plugin-spf

View on GitHub

Showing 51 of 68 total issues

Avoid too many return statements within this function.
Open

      return this.SPF_PERMERROR
Severity: Major
Found in lib/spf.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return this.SPF_NONE
    Severity: Major
    Found in lib/spf.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return ch_cb(null, r, my_public_ip)
      Severity: Major
      Found in index.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return next(DENYSOFT, `${msgpre} SPF Temporary Error`)
        Severity: Major
        Found in index.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                if (result && result !== this.SPF_NONE) return result
          Severity: Major
          Found in lib/spf.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return ch_cb(new Error(`failed to discover public IP`))
            Severity: Major
            Found in index.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    return plugin.return_results(
                      next,
                      connection,
                      spf,
                      'helo',
              Severity: Major
              Found in index.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                  if (!host) return next() // null-sender
                Severity: Major
                Found in index.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      if (!connection.relaying) return ch_cb(null, result)
                  Severity: Major
                  Found in index.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return next()
                    Severity: Major
                    Found in index.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return this.SPF_NEUTRAL // default if no more mechanisms
                      Severity: Major
                      Found in lib/spf.js - About 30 mins to fix
                        Severity
                        Category
                        Status
                        Source
                        Language