Re: SmartSieve and Squirrelmail integration?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> I've upgraded to the new version of Squirrelmail 1.4.7.
>> Now I've installed SmartSieve - Sieve Script Manager
>> (http://smartsieve.sourceforge.net/) - This is a WebGUI for users to
>> manage their vacation messages/forwards/spam filters by the means of
>> sieve lang.
>>
>> My system running Cyrus IMAP + Postfix + Amavisd (Spamassasign+ClamAV)
>> and I have 2 virtual domains.
>>
>> Squirrelmail is great for webmail use, but now I want to integrate
>> SmartSieve WebGUI with Squirrelmail.
>>
>> This way users would click on SmartSieve link from their account (logged
>> in Squirrelmail) and go straight to edit their SmartSieve scripts,
>> instead of logging again to another WebGUI.
>>
>> Is there someone who already did it or know how to do it?
>> I'm not a PHP coder so I can't figure it out by myself (I believe there
>> is
>> something about making 2 Web-interfaces to authenticate and have the
>> same
>> session).
>
>
> This isn't really an answer to your question, but did you check out the
> SquirrelMail plugins that are already working well together with
> SquirrelMail[1]?
>
> Since SmartSieve is written in PHP, so it shouldn't be impossible to have
> it as a SquirrelMail plugin. Unfortunately, that would take some
> development (at least the login part). If you don't know PHP I'd really
> recommend using another filter manager.

>
> The things you're saying are obvious.
> And yes I've checked the plugins section. There are no plugins working
> nicely with Cyrus (I mean Sieve scripts here).

http://www.squirrelmail.org/plugin_view.php?id=73

> Any other suggestions please?

1. Please keep same style as the one that is used in first reply. It is
hard to follow conversation when you top post.

2. You can create form that asks for password and post form data to your
smartsieve login.php script.

3. check smartsieve login.php.

---
// create new session if login form submitted
if (isset($HTTP_POST_VARS['sieveuid']) && isset($HTTP_POST_VARS['passwd'])) {
---

SquirrelMail stores username in session. Password information is stored
cookie and session. Code can reuse SquirrelMail login information instead
of getting it from POST.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux