class ApplicationMailbox < ActionMailbox::Base # Any of the recipients of the mail (whether to, cc, bcc) are matched against the regexp. routing /^replies@/i => :replies # Any of the recipients of the mail (whether to, cc, bcc) needs to be an exact match for the string. routing "help@example.com" => :help # Any inbound_email that has not been already matched will be sent to the BackstopMailbox. routing :all => :backstop end