I found a way to capture emails sent from my Drupal installation
, and Fakemail
seems simple enough.
I can follow the tutorial. Since the application Fakemail needs to be running to capture the outgoing emails, it seems like a good candidate for xinetd, yes?
I've found a simple config tutorial
describing starting the service and what the parameters are for the service-specific configuration files. This got me this far,
# default: on
# description: This is a script to start the Sandbox app "fakemail"
#disable = no
#flags = IPv6
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/fakemail.py
server_args = --host=localhost --port=10025 --path=/var/www/fakemail
log_on_failure += USERID
But the service is not starting up. Will someone help me with this config file?
Or, recommend another application which uses a similar configuration like Sendmail so I can copy this
The Fakemail application/service is started from command line like so,
# fakemail.py --host=localhost --port=10025 --path=[path_to_email_textfile]