Skip to content

jasonjackson/mail-sauce-em

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Usage:

Start the mapper:

jjackson@sfqload01  /systems/mail_injection
$ ./start_mapper.rb


Start RabbitMQ:

root@sfqload01  ~
# rabbitmq-server


Start Redis:

jjackson@sfqload01  /systems/mail_injection
$ redis-server


Start an agent or ten:

jjackson@sfqload01  /systems/mail_injection
$ ../../bin/nanite-agent --token a -l debug -h sfqload01 --single-threaded --prefetch 1


Start Alice and Wonderland:

rabbitmq@sfqload01  /alice
$ ./start.sh -alice rabbithost "rabbit@sfqload01" -setcookie `cat /var/lib/rabbitmq/.erlang.cookie`

* Note that alice must run as the user rabbitmq.


Send a list:

jjackson@sfqload01  /systems/mail_injection
$ ./send.rb -l edu_spouse_v_half2a

At the moment sending a list is specific to my employers environment.  You can see what is going on in send.rb, but basically it is pulling a list down from mysql and then splitting that into a determined size which is issued to push.


About

An EventMachine based, distributed email newsletter system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published