Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| computers:truenas:mail [06-Nov-2021 14:00] – [Set up the Mail Delivery Agent] Steve Joynt | computers:truenas:mail [02-Feb-2025 16:14] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 29: | Line 29: | ||
| < | < | ||
| jexec " | jexec " | ||
| + | |||
| </ | </ | ||
| Line 64: | Line 65: | ||
| </ | </ | ||
| - | ====== Set up the Mail Delivery Agent ====== | + | ====== Set up the SMTP Mail Delivery Agent ====== |
| I will be using the simple // | I will be using the simple // | ||
| - | 1. Build the initial configuration | + | 1. Build the initial configuration. |
| < | < | ||
| jexec " | jexec " | ||
| Line 75: | Line 76: | ||
| 2. Tell sendmail where to deliver root's mail to. | 2. Tell sendmail where to deliver root's mail to. | ||
| - | |||
| - | Node: You can't log in as root to pick up your mail - that would be dangerous, because the mail system would have to run as root to access the files containing the mail. If there' | ||
| < | < | ||
| Line 94: | Line 93: | ||
| After that, insert a new line like this... | After that, insert a new line like this... | ||
| < | < | ||
| - | root: mailbox | + | root: administrator |
| </ | </ | ||
| - | --- | + | 3. Generate the aliases.db file and anything else that's required. |
| + | < | ||
| + | jexec "ioc-${JAIL_NAME:? | ||
| + | |||
| + | </ | ||
| + | |||
| + | 4. Enable sendmail features. | ||
| < | < | ||
| - | jexec " | + | jexec " |
| jexec " | jexec " | ||
| jexec " | jexec " | ||
| Line 107: | Line 112: | ||
| </ | </ | ||
| + | 5. Start the sendmail MTA service. | ||
| < | < | ||
| Line 117: | Line 123: | ||
| I need to be able to view messages on my workstation using a normal mail reader. The messages I receive will be actioned and then deleted. I don't need the clever folders that IMAP provides, so I'll just use the POP protocol to access the mailbox. | I need to be able to view messages on my workstation using a normal mail reader. The messages I receive will be actioned and then deleted. I don't need the clever folders that IMAP provides, so I'll just use the POP protocol to access the mailbox. | ||
| - | Initially | + | I will be using the //qpopper// service to provide simple POP mailbox |
| + | |||
| + | 1. Install | ||
| + | < | ||
| + | jexec " | ||
| + | |||
| + | </ | ||
| + | |||
| + | 2. Configure | ||
| + | < | ||
| + | jexec " | ||
| + | </ | ||
| + | |||
| + | Search for this section | ||
| + | < | ||
| + | # | ||
| + | # example entry for the optional pop3 server | ||
| + | # | ||
| + | #pop3 | ||
| + | pop3 stream | ||
| + | </ | ||
| + | |||
| + | 3. Activate | ||
| + | < | ||
| + | jexec " | ||
| + | jexec " | ||
| + | |||
| + | </ | ||
| ====== Set up Thunderbird to access the Mailbox ====== | ====== Set up Thunderbird to access the Mailbox ====== | ||
| + | |||
| + | Select " | ||
| + | |||
| + | Select "Add Mail Account" | ||
| + | |||
| + | < | ||
| + | Your full name: System Administrator | ||
| + | Email address: administrator@net.joynt.org.uk | ||
| + | Password: ***** | ||
| + | Remember passowrd: checked | ||
| + | </ | ||
| + | Configure manually... | ||
| + | |||
| + | Incomming Server... | ||
| + | < | ||
| + | Protocol: pop3 | ||
| + | Hostname: net.joynt.org.uk | ||
| + | Port: 110 | ||
| + | Connection security: none | ||
| + | Authentication method: Normal password | ||
| + | Username: administrator | ||
| + | </ | ||
| + | |||
| + | Outgoing Server... | ||
| + | < | ||
| + | Hostname: net.joynt.org.uk | ||
| + | Port: 25 | ||
| + | Connection security: none | ||
| + | Authentication method: No authentication | ||
| + | </ | ||
| + | |||
| + | Warning... I understand the risks | ||
| ====== Credits ====== | ====== Credits ====== | ||
| Line 128: | Line 194: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| - | * [[https://logs.paulooi.com/setup-sendmail-smart-relay-in-freebsd.php]] | + | * [[https://blog.andreev.it/?p=199]] |
| + | * [[http:// | ||