---
title: "auth/auth_bridge - Authenticate users against an external service"
description: "Haraka auth/auth_bridge plugin - Authenticate users against an external service"
canonical_url: "https://haraka.github.io/plugins/auth/auth_bridge"
---
# auth/auth_bridge - Authenticate users against an external service

> Haraka auth/auth_bridge plugin - Authenticate users against an external service

This plugin allows you to authenticate users to remote SMTP servers
bridging the original user and password to the remote server,
and proxy the result back to authenticate the client.

This plugin is meant to be used with the plugin `queue/smtp_bridge`.

It is different than `auth/auth_proxy` because it doesn't require
the AUTH user in [user@domain.com](mailto:user@domain.com) format, and it doesn't check that
the domain is the configuration file. This plugins simply takes
the original user and password and tries to authenticate it in the
remote SMTP server.

## Configuration

Configuration is stored in `config/smtp_bridge.ini` and uses the INI
style formatting.

The configuration of this plugin is simple:

```text
host=localhost
#port=
#auth_type=
#priority=10
```

- host: the host where you will be authenticating and posting,
for example `smtp.host.tld`. This is the only setting required.

If needed you can also set

- port: default to empty and Haraka will use 25.

The options `auth_type` and `priority` will be used by `queue/smtp_bridge`


## Sitemap

See the full [sitemap](https://haraka.github.io/sitemap.md) for all pages.
