[retriever]
type = MultidropPOP3Retriever
server = pop3.example.com
username = yourUserName
password = secret
envelope_recipient = x-envelope-to:1

[destination]
type = MultiDestination
destinations = ("[maildir]", "[rails]")

[maildir]
type = Maildir
path = /users/home/yourUserName/Maildir/

[rails]
type = MDA_external
path = /usr/bin/env
arguments = ("RAILS_ENV=production", 
 "sh", "-c", 
 "cd /path/to/your/app; /usr/local/bin/ruby 
 script/runner 'Importer.receive(STDIN.read)'")

[options]
# delete messages on server
delete = On