Firefox PHP

Phorummail for Phorum 5

Posted by Brian Moon 
Re: Phorummail for Phorum 5
February 24, 2005 04:48AM
I just tried this module (together with emailallposts_blm) to connect Phorum and mailing list and it seems to work great, thanks.
It works, except for duplicates :-(.
- Email sent to the list gets posted to the phorum, not sending it back to the list. That's good. (although it's because it does not call pre_post and post_post hooks, which means other plugins will not work correctly - is that an issue?).
- When I post using phorum, the message gets mailed to the list, but as its From: is the author, not the phorum, I can't filter it on the list so it gets posted again from the phorummail plugin.

Any ideas how to break this (half-)circle?

Also, it would be great to be able to disable the modification of the subject when sending e-mails (my mailing list is doing that) and possibly strip list name from the subject on mail arrival (regexp would be great).
Re: Phorummail for Phorum 5
February 24, 2005 07:51AM
Can you tell me how you have it all working? The way I have always done it is:

subscribe my Phorummail address to the mailing list.
Have Phorum send posts to mailing list address.

If you try and have the mail list address also be the Phorummail address, you will have issues.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Phorummail for Phorum 5
February 24, 2005 08:05AM
brianlmoon Wrote:
-------------------------------------------------------
> Can you tell me how you have it all working? The
> way I have always done it is:
>
> subscribe my Phorummail address to the mailing
> list.
> Have Phorum send posts to mailing list address.
>
> If you try and have the mail list address also be
> the Phorummail address, you will have issues.
>

Of course not :-). I have it as you describe - one email for the list, another for phorum. The phorum one is subscribed to the list, phorum sends to the address of the list.
But the mail from phorum (when you post using web interface) goes to all subscribers of the list, including back to phorum. If the sender was phorum email, I could set list option that phorum user does not want to receive its own messages, but as it is sent with the email of the author, this is not possible...
Re: Phorummail for Phorum 5
February 24, 2005 02:02PM
Something is rewriting headers then. We set the X-Mailer header to Phorum5 and check that in Phorummail.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Phorummail for Phorum 5
February 24, 2005 11:13PM
brianlmoon Wrote:
-------------------------------------------------------
> Something is rewriting headers then. We set the
> X-Mailer header to Phorum5 and check that in
> Phorummail.

OK, then, I will check the headers, maybe it's my listserver, or antispam...

Thanks...
Re: Phorummail for Phorum 5
February 24, 2005 11:58PM
I guess it could also check the Message-ID header.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Phorummail for Phorum 5
March 03, 2005 12:16AM
How are you planning on getting the "years of mailing list archives" into Phorum?

I have about 30,000 emails that I am hoping to import into Phorum (some with attachements) but am not sure how to initiate the import...

Matt
Re: Phorummail for Phorum 5
March 03, 2005 12:25AM
mattio Wrote:
-------------------------------------------------------
> How are you planning on getting the "years of
> mailing list archives" into Phorum?
>
> I have about 30,000 emails that I am hoping to
> import into Phorum (some with attachements) but am
> not sure how to initiate the import...
>
> Matt

Actually, I already did. It took a while but I've imported over 17.000 messages. The more you have in *one* forum, the longer it takes. One group has almost 10.000 messages and it took over four hours to complete. This is on a fast machine, but since it is a 2,5" drive, that doesn't have the best performance. But still, the 'thread-update' takes long. For reference, importing 1.000 messages takes about 1 minute!

Anyway, I am using a simple commandline script on OS/2 which pipes the mail into the php script like this:

do while messages
php.exe phorummail.php x < message.count
end

x = the forum ID

I guess this can be done under Linux or Windows just as easy.

Regards,

Luka
Re: Phorummail for Phorum 5
March 03, 2005 12:42AM
great to know... a few questions:

- Was Phorum able to group emails with the same subject into the same thread?

- Was Phorum able to match the sender's email addresses with the users in Phorum?

The emails I am hoping to import into Phorum are archived locally in an outlook .PST file. Not sure if I can use the same method as you... Thoughts?

Matt
Re: Phorummail for Phorum 5
March 03, 2005 12:55AM
He has the emails in files. That is the key.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Sorry, only registered users may post in this forum.

Click here to login