# 外部轉信主機設定

##### Tutorials

- [Exim4](https://lifegoo.pluskid.org/wiki/Exim4.html)
- [Setup Exim to Send Email Using Gmail in Debian](https://www.vultr.com/docs/setup-exim-to-send-email-using-gmail-in-debian/)

##### Sendinblue

Home: [https://www.sendinblue.com/](https://www.sendinblue.com/)

SMTP Server Info

- smtp\_server: smtp-relay.sendinblue.com
- smtp\_port: 587
- smtp\_user: &lt;user-name&gt;
- smtp\_pass: &lt;password&gt;

update-exim4.conf.conf :

```bash
# Change dc_readhost, dc_other_hostnames to yours
dc_eximconfig_configtype='smarthost'
dc_other_hostnames='<your-hostname>'
dc_local_interfaces='127.0.0.1'
dc_readhost='<your-sender-FQDN:e.g xxx.my.com>'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp-relay.sendinblue.com::587'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
```

passwd.client :

```
*:<smtp_user>:<smtp_pass>
```