FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Mailing LIst integration
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Mailing LIst integration [message #26189] Fri, 08 July 2005 19:45 Go to next message
ligesh is currently offline  ligesh   India
Messages: 63
Registered: July 2005
Karma: 0
Member


I am running fudforum in conjunction with mailman. I have a small problem at this time. Fudforum sends mail to the list on behalf of the user who has made the post, and normally this user will not be a member of the mailing list, which would mean that i have to configure mailman to accept mails for non-subscribers, which in turn is a very dangerous thing.

Now i don't want to add the fudforum users directly to the mailing list since, these users will not want to be part of a list. The best way to proceed to configure the mailing list to accept non-subscribers only if the mail originates from 'localhost'.

That is: we need a 'host' based acl for Mailman. But i don't think mailman supports this. So has anyone come across this problem in the past, and knows how to configure mailman in this manner or does anyone have a better idea?

In general, what is a secure but effective way to combine mailing list and fudforum?

Thanks a lot in advance.
Re: Mailing LIst integration [message #26190 is a reply to message #26189] Fri, 08 July 2005 19:46 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You could modify the mailing list syncronization code to send for a subscribed address so this is a non-issue.

FUDforum Core Developer
Re: Mailing LIst integration [message #26191 is a reply to message #26190] Fri, 08 July 2005 19:50 Go to previous messageGo to next message
ligesh is currently offline  ligesh   India
Messages: 63
Registered: July 2005
Karma: 0
Member

YOu mean i have to dirty my hands with code? Smile. I don't mind modifying code, but once i do that, how do i keep my version in sync with your releases. If i modify it once, every upgrade, i have to make sure that i patch my code into it.. right?
Re: Mailing LIst integration [message #26192 is a reply to message #26191] Fri, 08 July 2005 19:58 Go to previous messageGo to next message
ligesh is currently offline  ligesh   India
Messages: 63
Registered: July 2005
Karma: 0
Member

Btw, wouldn't it be a great idea if mailman had a host based accept system, so that we can configure it to accept mails from localhost no matter what?

Is there anything wrong with the above? Maybe i should modify mailman to do this?
Re: Mailing LIst integration [message #26193 is a reply to message #26191] Fri, 08 July 2005 20:10 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
ligesh wrote on Fri, 08 July 2005 15:50


YOu mean i have to dirty my hands with code? Smile. I don't mind modifying code, but once i do that, how do i keep my version in sync with your releases. If i modify it once, every upgrade, i have to make sure that i patch my code into it.. right?


Well the change would be a 1 line hack (literaly), so you can generate a "diff" and then apply the patch after every upgrade that changes that code. Certainly not a great deal of effort.

As far as mailman you can certainly modify it with a host based system, another solution would be to prefix every sync e-mail with some "secret" identifying header. If this header is present make mailman import the message even if the author is not on the list of subscribers.


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: International characters in forum name..
Next Topic: Message order in the reply page
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 15:49:34 GMT 2024

Total time taken to generate the page: 0.02632 seconds