aerogramme/doc/src/validate.md

41 lines
832 B
Markdown
Raw Normal View History

2022-08-01 08:35:29 +00:00
# Validate
Start a server as follow:
```bash
cargo run -- server
```
2022-08-03 14:00:44 +00:00
Inject emails:
2022-08-01 08:35:29 +00:00
2022-08-03 14:00:44 +00:00
```bash
./test/inject_emails.sh '<me@aerogramme.tld>' dxflrs
2022-08-01 08:50:21 +00:00
```
2022-08-03 14:00:44 +00:00
Now you can connect your mailbox with `mutt`.
Start by creating a config file, for example we used the following `~/.muttrc` file:
```ini
set imap_user = quentin
set imap_pass = p455w0rd
set folder = imap://localhost:1993
set spoolfile = +INBOX
set ssl_starttls = no
set ssl_force_tls = no
mailboxes = +INBOX
bind index G imap-fetch-mail
2022-08-01 08:50:21 +00:00
```
2022-08-03 14:00:44 +00:00
And then simply launch `mutt`.
The first time nothing will happen as Aerogramme must
process your incoming emails. Just ask `mutt` to refresh its
view by pressing `G` (for *Get*).
Now, you should see some emails:
![Screenshot of mutt mailbox](./mutt_mb.png)
And you can read them:
![Screenshot of mutt mail view](./mutt_mail.png)