msimerson/Haraka

View on GitHub

Showing 655 of 655 total issues

Avoid too many return statements within this function.
Open

                return plugins.run_hooks('unrecognized_command',
                    this, [this.current_line]);
Severity: Major
Found in connection.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                                    return send_command(utils.base64(mx.auth_pass));
    Severity: Major
    Found in outbound/hmail.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                              return send_command('MAIL', `FROM:${self.todo.mail_from.format(!smtp_properties.smtp_utf8)}`);
      Severity: Major
      Found in outbound/hmail.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return send_command('MAIL', `FROM:${self.todo.mail_from.format(!smtp_properties.smtp_utf8)}`);
        Severity: Major
        Found in outbound/hmail.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      if (net_utils.ip_in_list(obtls.cfg.no_tls_hosts, self.todo.domain)) return auth_and_mail_phase();
          Severity: Major
          Found in outbound/hmail.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                            return this.respond(550, 'Message too big!');
            Severity: Major
            Found in connection.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      if (!Number.isInteger(delay[1])) return error(i, 'multiplier is not an integer');
              Severity: Major
              Found in outbound/config.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                    return send_command('HELO', mx.bind_helo);
                Severity: Major
                Found in outbound/hmail.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                      return self.temp_fail(`Upstream error: ${code} ${(extc) ? `${extc} ` : ''}${reason}`);
                  Severity: Major
                  Found in outbound/hmail.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                        return;
                    Severity: Major
                    Found in smtp_client.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                          return;
                      Severity: Major
                      Found in smtp_client.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return obtls.check_tls_nogo(host,
                                        () => { // Clear to GO
                                            self.logdebug(`Trying TLS for domain: ${self.todo.domain}, host: ${host}`);
                        
                                            socket.once('secure', () => {
                        Severity: Major
                        Found in outbound/hmail.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return this.respond(250, "Command sent for execution. Check Haraka logs for results.");
                          Severity: Major
                          Found in connection.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                                return client_pool.release_client(socket, port, host, mx.bind, true);
                            Severity: Major
                            Found in outbound/hmail.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                              return this._process_data();
                              Severity: Major
                              Found in connection.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return this.respond(555, 'Invalid command parameters');
                                Severity: Major
                                Found in connection.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      if (times.length === 0) return error(0, 'unexpected parsing result');
                                  Severity: Major
                                  Found in outbound/config.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return this.respond(555, 'Invalid command parameters');
                                    Severity: Major
                                    Found in connection.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                          return;
                                      Severity: Major
                                      Found in smtp_client.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                            return client_pool.release_client(socket, port, host, mx.bind, true);
                                        Severity: Major
                                        Found in outbound/hmail.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language