Receiving mail with ActionMailer and Postfix


#1

I’m trying to use ActionMailer to manage mailing lists. When an email
comes into ActionMailer, it looks up the subscribers, adds them to the
email object as BCCs, and then redelivers the email.

This works when I call script/runner from the command line, as suggested
on the wiki[1]. When I follow the instructions about configuring
Postfix to handle the whole domain (using pipes in master.cf), Postfix
says it’s relaying the mail to the pipe, but Rails never sees it.

Has anyone been successful at getting Postfix and ActionMailer to work
together? If so, did you have to do anything different than suggested
in the wiki?


Marshall Roch

[1]
http://wiki.rubyonrails.com/rails/pages/HowToReceiveEmailsWithActionMailer