Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qmail vpopmail spamassassin and squirrelmail plugins
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sabrex
n00b
n00b


Joined: 28 Nov 2003
Posts: 45

PostPosted: Fri Nov 28, 2003 12:56 am    Post subject: qmail vpopmail spamassassin and squirrelmail plugins Reply with quote

I have a working email server with the following:

qmail
qmail-scanner
vpopmail
courier-imap (for imap4 and pop3)
spamassassin (+razor2 +pyzor)
clamav
squirrelmail

Everything works fine, and incoming mail is scanned for both viruses and spam. However, I would like to allow squirrelmail users to do two things:

1. change their password using a plugin
2. change their spamassassin settings

I have tried everything I can think of, but have not been able to accomplish the above. With the first goal, my problem is that the squirrelmail plugins don't seem to understand the encryption system vpopmail uses. It isn't mysql, crypt, or md5 as far as I've gathered. Are there any squirrelmail plugins that work with vpopmail?

With the second problem, I installed the spamassassin plugin for squirrelmail, and users can certainly change settings (modify threshold, change spam tag, etc) but unfortunatley those settings don't take effect. The plugin places a user@domain.com.spam in the $quirrelmail/data directory for each user that changes settings. but those settings are not used by spamassassin. while digging around, I noticed by running 'man spamd' that spamassassin does seem to have support for vpopmail (using the -v option). However, that settings doesn't actually seem to do anything. Anybody know of any way of letting uses change their spamassassin preferences via squirrelmail?

Thanks
Back to top
View user's profile Send private message
sabrex
n00b
n00b


Joined: 28 Nov 2003
Posts: 45

PostPosted: Fri Nov 28, 2003 6:05 pm    Post subject: Solved first problem Reply with quote

I managed to solve my first problem. Users can now change their password using the squirrelmail plugin called "VPOPMail Account Administration." I had to make sure apache2 was running as vpopmail:vpopmail, which raises some security concerns, but I guess it's the best I can do at the moment.

The vpopmail account administration plugin is located at http://www.squirrelmail.org/plugin_view.php?id=103

Now I just need to figure out how to let users change their spamassassin preferences using a squirrelmail plugin on vpopmail/qmail.
Back to top
View user's profile Send private message
Naspe
Guru
Guru


Joined: 10 Dec 2003
Posts: 321
Location: Genova - Italy

PostPosted: Fri Apr 23, 2004 10:57 am    Post subject: Reply with quote

About your first problem... why don't u let users to use qmailadmin? This way u can solve the security problem of running apache with vpopmail user...

Now i'd like to make a question :)

I followed your guide to set up qmail-spamassasin-clamAV-razor-pryzor... and all seems to work. The only problem is that i didn't know what i have to do after the setup to configure razor, pryzor, dcc and spamassasin...
I mean i followed all the steps in your guide. Than? What to do to setup antispam rules?
_________________
God Is Real... Unless Declared As Integer...

Provoca Il Più Bravo... Morirai Come Uno Schiavo!!!

Hai Evocato Il Tuono!!! Ora Raccogli Tempesta!!!
Back to top
View user's profile Send private message
astano
n00b
n00b


Joined: 04 Jul 2004
Posts: 39

PostPosted: Thu Sep 23, 2004 7:12 pm    Post subject: Reply with quote

About your first problem (change password):

you can use the squirrelmail plugin change_mysqlpass

Just be sure to configure the encryption to UNIX encription (if I´m not wrong it´s the default for the plugin), chenge the mysql tables and fields according and set the multiple database field setup according...

Code:
$split_username_query = 1;
$split_usename_expression = '@';
$split_username_domain_field = 'what is in your mysql table';


in the plugin config.php

That should do the trick!!
_________________
Ast@nO
Back to top
View user's profile Send private message
pachanga
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2004
Posts: 123
Location: Russia, Penza

PostPosted: Fri Jul 29, 2005 4:32 pm    Post subject: Re: qmail vpopmail spamassassin and squirrelmail plugins Reply with quote

sabrex wrote:

2. change their spamassassin settings


What about this one? Did you manage to find the solution eventually?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum