Phorummail for Phorum 5
Posted by Brian Moon
Re: Phorummail for Phorum 5 February 23, 2005 10:48PM |
Registered: 20 years ago Posts: 3 |
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).
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).
February 24, 2005 01:51AM |
Admin Registered: 24 years ago Posts: 4,495 |
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.
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 02:05AM |
Registered: 20 years ago Posts: 3 |
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...
-------------------------------------------------------
> 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...
February 24, 2005 08:02AM |
Admin Registered: 24 years ago Posts: 4,495 |
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 05:13PM |
Registered: 20 years ago Posts: 3 |
February 24, 2005 05:58PM |
Admin Registered: 24 years ago Posts: 4,495 |
I guess it could also check the Message-ID header.
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Phorummail for Phorum 5 March 02, 2005 06:16PM |
Registered: 20 years ago Posts: 5 |
Re: Phorummail for Phorum 5 March 02, 2005 06:25PM |
Registered: 20 years ago Posts: 14 |
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
-------------------------------------------------------
> 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 02, 2005 06:42PM |
Registered: 20 years ago Posts: 5 |
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
- 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
March 02, 2005 06:55PM |
Admin Registered: 24 years ago Posts: 4,495 |
Sorry, only registered users may post in this forum.