Forum: Ruby-Forum.com Linking a forum to a mailing list

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2828f28fb012308a7786eee83b8293c5?d=identicon&s=25 Mitchell Hashimoto (Guest)
on 2006-01-21 02:05
Hi,

Basically: How do I do it?

Thanks,
Mitch
3322257138cd3ccf344e701b99bf3411?d=identicon&s=25 wambat (Guest)
on 2006-02-07 16:36
I'd like to know is there any HOWTO or smth too.
3c237ea48d7a350d22312dece335a71c?d=identicon&s=25 Mischa (Guest)
on 2006-02-11 22:34
wambat wrote:
> I'd like to know is there any HOWTO or smth too.

As far as I can see this is what you need to do:

* Add the email address of the mailinglist to the forums table.
You have to do this manualy in your database. So either start mysql or
sqlite.
For example:

UPDATE forums SET list_address = 'emailaddress@ofthelist.tld' WHERE
id='1';

id in this case is the id of the forum that you want to use for this.

* Then you have to start process_mails.
Point it to the Maildir you want it to read with the interval (in
minutes).

./script/process_mails pathto/Maildir/cur 5

This will then read all the emails addressed to the mailinglist you
defined in the forums table.
And will sleep for 5 minutes before checking again.

If you have left your site.rb untouched. You are good to go.

Otherwise you have to make sure that you have something like:

  # Should the forum send posts to the mailing list
  # (only if a forum has a list_address)
  :deliver_mail => true,
  :bounce_address => 'your_email@address.tld',

Have phun!

Mischa
This topic is locked and can not be replied to.