Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
PostOffice is a mock SMTP/POP3 server to accept mails sent from your Rails application when it's running in development. The messages can be retrieved using a standard POP3 client, such as mail.app. Just connect to localhost with any username and password.
Note: Received messages are not sent to their final recipient and will remain available until deleted or when the process is quit.
sudo gem install post_office
sudo post_office [options]
-v, --verbose Output more information
-l, --logfile FILE Write log to FILE. Outputs to STDOUT (or /var/log/post_office.log when daemonized) by default.
-s, --smtp PORT Specify SMTP port to use
-p, --pop3 PORT Specify POP3 port to use
-h, --help Display this screen
This starts the service and listens on the specified ports (or 25 for SMTP and 110 for POP3 by default). Configure your POP3 client with any username and password.
Post Office will try to find a configuration file (post_office/config.json) in the user dir ($HOME), and then in /etc. It will load the first one it finds.
The arguments passed on the command line will always override the ones specified in the config file.
It's possible to start PostOffice as a daemon using post_officed:
Usage: post_officed <command> <options> -- <application options>
* where <command> is one of:
start start an instance of the application
stop stop all instances of the application
restart stop all instances and restart them afterwards
reload send a SIGHUP to all instances of the application
run start the application and stay on top
zap set the application to a stopped state
status show status (PID) of application instances
* and where <options> may contain several of the following:
-t, --ontop Stay on top (does not daemonize)
-f, --force Force operation
-n, --no_wait Do not wait for processes to stop
Common options:
-h, --help Show this message
--version Show version
PostOffice daemon can be started on Mac OS X system startup.
sudo post_office [options]
--install-osx-startup-item Installs Post Office as OS X Startup Item
--remove-osx-startup-item Removes Post Office as OS X Startup Item
The Startup Item is stored in /Library/StartupItems/PostOffice
Contributions are welcome! Feel free to fork and send a pull request through Github.
Broken build
FAQs
Unknown package
We found that post_office demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.