Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

Mailing List (Arc) plug-in

Quote Reply
Mailing List (Arc) plug-in
Hi,
Is there any way to have a specific username appear for any posts that are received using the arc mailing list plug-in. For example having 'Guest' instead of the persons reply-to address ?

Thanks, Jag
Significant Media
Quote Reply
Re: [Jag] Mailing List (Arc) plug-in In reply to
Perhaps you could trim the address on the "@" and create a username.

john@provider.com could be come just "john".
Quote Reply
Re: [ArmyAirForces] Mailing List (Arc) plug-in In reply to
Has anyone come up with an answer to this yet.? I've got the Plugin working by pulling out mails from our pop3 server but it's quite a concern that every users real email address is on display ready to be spammed by the masses.
Quote Reply
Re: [David_D] Mailing List (Arc) plug-in In reply to
Hi,

On our mail archive of modperl lists

http://gossamer-threads.com/archive/

we cleaned up the address using a global spam_protect:

sub { my $name = shift; $name =~ s/\@/ at /g; return $name; }

and then in the templates replace the username that is displayed with:

<%spam_protect($user_username)%>

You could have the function do something else if you didn't even want the email at all.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Mailing List (Arc) plug-in In reply to
Many thanks Alex. I'll give that go.
Quote Reply
Re: [David_D] Mailing List (Arc) plug-in In reply to
Got that working ok....Sorry to be pain but

1) How would you exclude the domain part after the @ ???

2) Would it be possible in a future addition to allow Forum replies to each mail to be sent to the sender or a message like the "You've received a private message" already present....?
Quote Reply
Re: [David_D] Mailing List (Arc) plug-in In reply to
What I want to do is to replace all of the email address of the incoming messages with a fixed address (i.e. listserv@whatever.com) and thus, a static user account. I looked at the MailArc.pm code and I see that if I could change the imported email address from the FROM: of the email then the script would handle the rest. Alex, Jason is this possible? I attempted this by adding the following just above the $self->create_disabled_user(); procedure call:

$self->{user}->{user_name} = "listserv@whatever.com";

Unfortunately it doesn't work. Is it a syntax issue? Wrong place? Anyone have any suggestions?

Thanks!

Dave
Quote Reply
Re: [bretzke] Mailing List (Arc) plug-in In reply to
I figured out my problem and got this working.



db