User Tools

Site Tools


dev:email

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
dev:email [2022/10/24 11:10] – created -- Thanks to Bill Erickson, Jason Stephenson, and Chris Sharp for this info! sandbergjadev:email [2023/04/28 14:24] – [Option 3: postfix] stompro
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 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's email address to opensrf@localhost)   - Set the recipient email address to opensrf@localhost (for example, if you are testing a message sent to patrons, set your test patron's email address to opensrf@localhost)
   - Run the process that you'd like to check the email output of.   - Run the process that you'd like to check the email output of.
Line 20: Line 21:
  
 If you have access to your postfix production configuration, you can tweak it for your development environment. If you have access to your postfix production configuration, you can tweak it for your development environment.
 +
 +For those running a test server with live data that want to test email without worrying about accidentally emailing real people, one method is to force all email delivery to one local account.  A guide to do this in postfix is at [[https://www.euperia.com/wrote/how-to-configure-postfix-to-deliver-all-mail-to-one-mailbox]]
  
dev/email.txt · Last modified: 2023/10/19 09:47 by sandbergja

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.