> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.brevo.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.brevo.com/_mcp/server.

# Postfix integration

## Postfix configuration with Brevo SMTP

1. For Postfix, set up SASL authentication. Open the `/etc/postfix/sasl_passwd` file in the local postfix directory and add your SMTP credentials.

```
[smtp-relay.brevo.com]:587 USERNAME:master_password
```

2. Run `sudo postmap /etc/postfix/sasl_passwd` to update the credentials in `sasl_passwd`. For the password, use the master password from your Brevo account, available in the SMTP and API menu in the top-right. Next, update the `main.cf` file in Postfix.

```
relayhost = [smtp-relay.brevo.com]:587
```

If the relay does not allow IPv6 connections, set `inet_protocols` to IPv4 in the `main.cf` file.

3. Restart Postfix with `sudo service postfix restart` and send a test email with the command below.

```
date | mail -s "Test Email" YOUR_EMAIL@brevo.com
```

Note: if you encounter errors, check `mailq` or the Postfix log file. An authentication error means you entered incorrect credentials, or the changes to the `sasl_passwd` file were not saved.