Forum OpenACS Development: Re: ANN: Reply to a forum msg via email is ready

Collapse
Posted by Mark Aufflick on
Mounir,

I got your document with screenshots via email thanks. The reason why the email is different every time (eg. mailto:notificaiton-1234@yourhost.com) is because the forums are threaded. You want to recieve a reply to a particular _message_ not just to the whole forum - otherwise how do you know what message the reply is for and therefore where in the thread of discussion to place the new post.

To allow the notifications package mail handling to work, you need a "catch all" email account for your domain where all the notification-??? addresses will end up - then notifications correctly handles them.

With qmail a catch all account is easy. If you use sendmail however, nothing is easy!

The notiofications package documentation really should reflect this stuff - I'm sure I remember reading it somewhere?

Nick Carrol wrote a tutorial about allow the notifications package mail handling with postfix on MacOs X here

http://www.weg.ee.usyd.edu.au/people/ncarroll/ref/postfix-howto

The original thread is here

https://openacs.org/forums/message-view?message_id=203904

As Mark said configuring qmail to handling incoming mail from forums reply is very easy and it works on default install of forums package.

I have a "catch all" account for my domain and create a file

/var/qmail/alias/.qmail-notification-default

with this one line content:

&service0@mydomain

i am supposing here catch all account for mydomain is service0@mydomain, there is a /home/service0/Maildir readable by the aolserver user and notifications package parameters are configured as in Nicks' tutorial