Linking a forum to a mailing list

Hi,

Basically: How do I do it?

Thanks,
Mitch

I’d like to know is there any HOWTO or smth too.

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 = ‘[email protected]’ 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 => ‘[email protected]’,

Have phun!

Mischa