# instructions.md

# Vexib Mail System - Adding Users and Configuring Mail Clients

## Overview

The Vexib mail system uses:

* Postfix for SMTP
* Dovecot for IMAP
* SMTP2GO for outbound mail relay
* mail.vexib.co.uk as the mail server

---

# Adding a New User

Example:

```
george@vexib.co.uk
```

Create the Linux user:

```bash
sudo adduser george
```

Set the password when prompted.

Verify the mailbox:

```bash
sudo ls /home/george
```

A Maildir directory should be created automatically when mail is first delivered.

---

# Sending a Test Email

From the server:

```bash
echo "Test message" | mail -s "Mailbox test" george@vexib.co.uk
```

Confirm that the message arrives.

---

# Thunderbird Configuration

## Incoming Mail (IMAP)

| Setting        | Value            |
| -------------- | ---------------- |
| Server         | mail.vexib.co.uk |
| Port           | 993              |
| Security       | SSL/TLS          |
| Authentication | Normal Password  |
| Username       | george           |

---

## Outgoing Mail (SMTP)

| Setting        | Value            |
| -------------- | ---------------- |
| Server         | mail.vexib.co.uk |
| Port           | 587              |
| Security       | STARTTLS         |
| Authentication | Normal Password  |
| Username       | george           |

---

# Outlook Configuration

Incoming server:

```
mail.vexib.co.uk
```

Port:

```
993
```

Encryption:

```
SSL/TLS
```

Outgoing server:

```
mail.vexib.co.uk
```

Port:

```
587
```

Encryption:

```
STARTTLS
```

Authentication:

```
Required
```

Username:

```
george
```

---

# Mobile Phones

Use the same settings as Thunderbird.

---

# Notes

Users connect only to:

```
mail.vexib.co.uk
```

Users do not need SMTP2GO credentials.

SMTP2GO is used internally by the server to relay outgoing mail.
