This class can be used to process e-mail messages sent to the Dradis server. It uses the ActionMailer module to parse incoming messages that it stores as Note objects in the back-end database.
It also supports attachments (which are parsed as Attachment objects).
An example .procmailrc configuration file could be:
LOGFILE=procmaillog VERBOSE=yes GEM_HOME=/usr/local/stow/rubygems/lib/site_ruby/ RUBYLIB=/usr/local/stow/rubygems/lib/:/usr/local/stow/rubygems/lib/site_ruby/ RUBY=/usr/bin/ruby DRADIS_DIR=/var/data/dradis/dradis-v2.x/server/ HANDLER='IncomingNoteHandler.receive(STDIN.read)' :0 c * ^Subject:.*dradis note.* | cd $DRADIS_DIR && $RUBY script/runner $HANDLER