# postfix

## Configure server to use a Gmail account
[This article](https://www.linode.com/docs/guides/configure-postfix-to-send-mail-using-gmail-and-google-workspace-on-debian-or-ubuntu/) covers it pretty well.

## View mail queue
```
mailq
```

or

```
postqueue -p
```

## Flush the queue

```
postqueue -f
```

## Sent test message to yourself
```
echo "Test email from Proxmox Backup Server" | mail -s "Test Email" test@me.me
```
