dev:email
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dev:email [2023/04/28 14:24] – [Option 3: postfix] stompro | dev:email [2023/10/19 09:47] (current) – [The easiest option: using a localhost email address and mutt] add mutt troubleshooting tip sandbergja | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| - As the root user (or with sudo): install mutt (apt-get install mutt) | - As the root user (or with sudo): install mutt (apt-get install mutt) | ||
| + | - As opensrf, run the `mutt` command, and make sure you get an inbox without a warning. | ||
| - As root, make sure that sendmail is running (`service sendmail start` and `service sendmail status`) | - As root, make sure that sendmail is running (`service sendmail start` and `service sendmail status`) | ||
| - Set the recipient email address to opensrf@localhost (for example, if you are testing a message sent to patrons, set your test patron' | - Set the recipient email address to opensrf@localhost (for example, if you are testing a message sent to patrons, set your test patron' | ||
| Line 17: | Line 18: | ||
| [[https:// | [[https:// | ||
| + | |||
| + | For testing with live data, exim makes it easy to rewrite recipients, so you can prevent test emails from being sent to real email addresses. | ||
| + | |||
| + | Look for the " | ||
| + | |||
| + | Docs are at : https:// | ||
| + | |||
| + | Something like this sends all mail to a local address. | ||
| + | ##Send all messages to root@localhost | ||
| + | *@* root@localhost Tbct | ||
| ===== Option 3: postfix ===== | ===== Option 3: postfix ===== | ||
dev/email.1682706287.txt.gz · Last modified: 2023/04/28 14:24 by stompro