Re: [toaster] Spamassassin per-user rules

2005-05-13 Thread Allen Taylor
It's a piece of cake to design your own by tweaking the templates.
Nick Gilbert wrote:
It's a shame SquirrelMail is so damn UGLY compared to Horde/Imp. Are
there any skins out there which are free?
 



Re: [toaster] Spamassassin per-user rules

2005-05-13 Thread Nick Gilbert
>> Thanks very much for your help but I'm throwing in the towel...
> 
> That's probably for the best at this point.  Good luck!

I'm very stubborn and I couldn't let this beat me...

I've got IMAP authentication working now! :)

I did a "yum install pam-devel", then recompiled courier-imap, deleted a
few config files, ran make-install again, and now it seems to work :)

I think I'm more a less sorted! I now have vpopmail and normal linux
users authenticating and I think mailfilter files now work, which is all
I need.

It's a shame SquirrelMail is so damn UGLY compared to Horde/Imp. Are
there any skins out there which are free?

Thanks for all your help guys! :)

Nick...



Re: [toaster] Spamassassin per-user rules

2005-05-12 Thread Bill Shupp
Nick Gilbert wrote:
Yeah, you did not do what I suggested in my last email.  Change the
authmodule list to include only the authpwd one.  Then restart
authdaemon.  You're not setup for any of those other modules.

But there's no such thing as "authpwd".
In /usr/lib/courier-imap/etc/authdaemonrc it says:
# The available modules you
# can use are: authcustom authcram authuserdb authvchkpw authldap
(which does not include authpwd).
If I add authpwd anyway, I get the following errors:
Strange, it is turned off for some reason.  Try the PAM modules instead.
Bill


Re: [toaster] Spamassassin per-user rules

2005-05-12 Thread Nick Gilbert
> Yeah, you did not do what I suggested in my last email.  Change the
> authmodule list to include only the authpwd one.  Then restart
> authdaemon.  You're not setup for any of those other modules.

But there's no such thing as "authpwd".

In /usr/lib/courier-imap/etc/authdaemonrc it says:

# The available modules you
# can use are: authcustom authcram authuserdb authvchkpw authldap

(which does not include authpwd).

If I add authpwd anyway, I get the following errors:

May 12 14:31:53 blue authdaemond.ldap: Unknown module 'authpwd' skipped
May 12 14:31:53 blue authdaemond.ldap: FAIL, all modules rejected
May 12 14:31:53 blue imapd: authdaemon: REJECT
May 12 14:31:58 blue imapd: LOGIN FAILED, ip=[:::195.166.37.20]

Nick...



Re: [toaster] Spamassassin per-user rules

2005-05-12 Thread Bill Shupp
Nick Gilbert wrote:
Yes, during the toaster install, /usr/lib/courier-imap/authdaemonrc is
edited to remove all but authvchkpw.

I had already changed that back, but I'm getting some errors in
/var/log/maillog:
[EMAIL PROTECTED] log]# cat maillog
May 12 09:46:01 blue authdaemond: stopping authdaemond children
May 12 09:46:01 blue authdaemond: restarting authdaemond children
May 12 09:46:01 blue authdaemond: modules="authuserdb authpam authpgsql
authldap authmysql authcustom", daemons=5
May 12 09:46:01 blue authdaemond: Uninstalling authpam
May 12 09:46:01 blue authdaemond: Uninstalling authcustom
May 12 09:46:01 blue authdaemond: Installing libauthuserdb
May 12 09:46:01 blue authdaemond: libauthuserdb.so: cannot open shared
object file: No such file or directory
May 12 09:46:01 blue authdaemond: Installing libauthpam
May 12 09:46:01 blue authdaemond: Installation complete: authpam
May 12 09:46:01 blue authdaemond: Installing libauthpgsql
May 12 09:46:01 blue authdaemond: libauthpgsql.so: cannot open shared
object file: No such file or directory
May 12 09:46:01 blue authdaemond: Installing libauthldap
May 12 09:46:01 blue authdaemond: libauthldap.so: cannot open shared
object file: No such file or directory
May 12 09:46:01 blue authdaemond: Installing libauthmysql
May 12 09:46:01 blue authdaemond: libauthmysql.so: cannot open shared
object file: No such file or directory
May 12 09:46:01 blue authdaemond: Installing libauthcustom
May 12 09:46:01 blue authdaemond: Installation complete: authcustom
I have a feeling that something's gone horribly wrong :(
Yeah, you did not do what I suggested in my last email.  Change the 
authmodule list to include only the authpwd one.  Then restart 
authdaemon.  You're not setup for any of those other modules.

Regards,
Bill


Re: [toaster] Spamassassin per-user rules

2005-05-12 Thread Nick Gilbert
> Yes, during the toaster install, /usr/lib/courier-imap/authdaemonrc is
> edited to remove all but authvchkpw.

I had already changed that back, but I'm getting some errors in
/var/log/maillog:

[EMAIL PROTECTED] log]# cat maillog
May 12 09:46:01 blue authdaemond: stopping authdaemond children
May 12 09:46:01 blue authdaemond: restarting authdaemond children
May 12 09:46:01 blue authdaemond: modules="authuserdb authpam authpgsql
authldap authmysql authcustom", daemons=5
May 12 09:46:01 blue authdaemond: Uninstalling authpam
May 12 09:46:01 blue authdaemond: Uninstalling authcustom
May 12 09:46:01 blue authdaemond: Installing libauthuserdb
May 12 09:46:01 blue authdaemond: libauthuserdb.so: cannot open shared
object file: No such file or directory
May 12 09:46:01 blue authdaemond: Installing libauthpam
May 12 09:46:01 blue authdaemond: Installation complete: authpam
May 12 09:46:01 blue authdaemond: Installing libauthpgsql
May 12 09:46:01 blue authdaemond: libauthpgsql.so: cannot open shared
object file: No such file or directory
May 12 09:46:01 blue authdaemond: Installing libauthldap
May 12 09:46:01 blue authdaemond: libauthldap.so: cannot open shared
object file: No such file or directory
May 12 09:46:01 blue authdaemond: Installing libauthmysql
May 12 09:46:01 blue authdaemond: libauthmysql.so: cannot open shared
object file: No such file or directory
May 12 09:46:01 blue authdaemond: Installing libauthcustom
May 12 09:46:01 blue authdaemond: Installation complete: authcustom

I have a feeling that something's gone horribly wrong :(

Nick...



Re: [toaster] Spamassassin per-user rules

2005-05-11 Thread Bill Shupp
Nick Gilbert wrote:
Has authentication of local users been disabled in this setup somehow?
Yes, during the toaster install, /usr/lib/courier-imap/authdaemonrc is 
edited to remove all but authvchkpw.

I've tried editing /usr/lib/courier-imap/etc/authdaemonrc and putting 
back the default list and then restarting, but that doesn't seem to help.

Also, is it normal that when you restart courier-imap, it generates 
another SSL certificate?:

[EMAIL PROTECTED] init.d]# ./courier-imap restart
Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
Starting Courier-IMAP server: imap generating-SSL-certificate... imap-ssl
I think when this is working - I'll be pretty much there :)
The one you probably need in authmodulelist is "authpwd" if you are 
using /etc/passwd accounts now.

Regards,
Bill


Re: [toaster] Spamassassin per-user rules

2005-05-11 Thread Nick Gilbert
I wrote:
Is there a way I can bypass the vpopmail system for a single domain and
control it using normal .qmail files and mailfilter?
I found some new enthusiasm to persevere with a qmail toaster and I've
got further towards the setup I want but have run into another problem.
I've got mail delivery working (bypassing vpopmail) with .qmail files so 
I can use maildrop/mailfilter. I can  send myself a test message and it 
seems to go into the correct Maildir folder. HOWEVER I can't seem to 
connect to this "normal user" account (non vpopmail) with IMAP.

In Thunderbird it just says "Unable to connect to your IMAP server".
SquirrelMail says "Unknown user or password incorrect.".
If I telnet in manually from localhost I get this:
> a001 login nick 
< a001 NO Login failed.
Has authentication of local users been disabled in this setup somehow?
I've tried editing /usr/lib/courier-imap/etc/authdaemonrc and putting 
back the default list and then restarting, but that doesn't seem to help.

Also, is it normal that when you restart courier-imap, it generates 
another SSL certificate?:

[EMAIL PROTECTED] init.d]# ./courier-imap restart
Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
Starting Courier-IMAP server: imap generating-SSL-certificate... imap-ssl
I think when this is working - I'll be pretty much there :)
Thanks,
Nick...



Re: [toaster] Spamassassin per-user rules

2005-05-11 Thread Nick Gilbert
Thanks for your replies.

Is there a way I can bypass the vpopmail system for a single domain and
control it using normal .qmail files and mailfilter?

What tells qmail that a particular domain is handled by vpopmail?

Nick...



Re: [toaster] Spamassassin per-user rules

2005-05-11 Thread Alex
I agree. I guess I should have worded my previos reply differently:
The link I provided gives an option to have almost hands-off approach to
qmial-toaster.
And I have to say that I do like Bill's toaster setup mainly for the
reason that I have to actually works through it and hopefully learn in
process. Also it gives me option to customize my install.



> Bill's Toaster is hands down the best and easiest to use of all the
> Qmail toasters available (and I've
> tried them all, the ones worth trying anyway).  Bill's version does
> require an individual to pay
> attention to detail, I know because I haven't and had to post
> embarrassing newbie questions on
> this list even though I've been "doing" Linux since Redhat 4.0 ;)
>
> Basic Fedora Core 3 + Shorewall (Shoreline) Firewall + Bill's Toaster =
> A stable, secure, robust
> e-mail system that I am replacing MS Exchange with in commercial
> settings.  I'll take stability,
> security and robustness (and so will my customers) over bells & whistles
> EVERYTIME.
>
> Thanks again Bill for taking the time to maintain the Toaster!
>
> Allen Taylor
> Indianapolis




Re: [toaster] Spamassassin per-user rules

2005-05-11 Thread Allen Taylor
Bill's Toaster is hands down the best and easiest to use of all the 
Qmail toasters available (and I've
tried them all, the ones worth trying anyway).  Bill's version does 
require an individual to pay
attention to detail, I know because I haven't and had to post 
embarrassing newbie questions on
this list even though I've been "doing" Linux since Redhat 4.0 ;)

Basic Fedora Core 3 + Shorewall (Shoreline) Firewall + Bill's Toaster = 
A stable, secure, robust
e-mail system that I am replacing MS Exchange with in commercial 
settings.  I'll take stability,
security and robustness (and so will my customers) over bells & whistles 
EVERYTIME.

Thanks again Bill for taking the time to maintain the Toaster!
Allen Taylor
Indianapolis
Alex wrote:

 

I REALLY wish someone made a Qmail Toaster distribution that has all the
common stuff already installed to start with such that almost nobody
will need to patch it. That way you would effectively have a 'standard'
install that was very well supported and not different because
everyone's used a different distribution/patches etc. I'd pay for it.
   


Nick, you don't have to pay for it. And there is a product that is easy to
install and use: http://www.qmailtoaster.com/ . I have used it for a
couple of years and never had an issue. I have switched to Bill's toaster
just because it gives me all the options. I sugest to try the toaster I
mentioned above if you want the easy setup and maintenance. It doesn't
include the ClamAV but there is a link showing how to add it. Give it a
try.
Alex
 



Re: [toaster] Spamassassin per-user rules

2005-05-11 Thread Alex



> I REALLY wish someone made a Qmail Toaster distribution that has all the
> common stuff already installed to start with such that almost nobody
> will need to patch it. That way you would effectively have a 'standard'
> install that was very well supported and not different because
> everyone's used a different distribution/patches etc. I'd pay for it.


Nick, you don't have to pay for it. And there is a product that is easy to
install and use: http://www.qmailtoaster.com/ . I have used it for a
couple of years and never had an issue. I have switched to Bill's toaster
just because it gives me all the options. I sugest to try the toaster I
mentioned above if you want the easy setup and maintenance. It doesn't
include the ClamAV but there is a link showing how to add it. Give it a
try.

Alex



Re: [toaster] Spamassassin per-user rules

2005-05-10 Thread Nick Gilbert
Hmm.. this is all getting rather complicated for little me. Thanks 
very much for all your help but I'm coming to the conclusion that I'll 
probably have to use a commercial product.
Well, do whatever works for you.  But it has been my experience that 
while some of this stuff can be difficult to setup, once you get it 
working you'll have a far better understanding of how it works, and 
you'll be much more qualified to maintain it.
True. But the question is, will I *ever* understand it without spending 
more time than I would like to? I've only really just got into Linux and 
this isn't the most trivial of things to get working even with your 
excellent setup guide :)

Bare in mind that I'm used to using products like MDaemon which installs 
in about 10 minutes and tend to work reliably for years. I was just 
trying to save myself the cash as I need a mail server for only a 
handful of people.

As my colleague always says "Linux is only free if your time has no 
value"
That's a pretty loaded statement.  I strongly disagree, but will refrain 
from engaging it on this list.
I don't agree either to be honest and I shouldn't have said it - but I 
do think there's a *little* truth in it. Linux solutions to tend to take 
a lot more time to get working than the commerical ones (unless you're 
unlucky with the commercial products) and if your time would be better 
spent doing something else, then going with a 'free' solution doesn't 
always end up being 'free'.

Getting filtering working with the patches I described is trivial.  And 
you can bypass them if are ok with manually configuring .qmail files for 
any user that wants filtering.  I only use the patches because I want to 
use qmailadmin with the spam detection scheme.
Bare in mind that before last week - I've never patched or installed 
anything in my life :)

Maybe as I'll only have about 5 users, the vpopmail part of the install 
is more hassle than it's worth and I might have an easier time if I 
create 'normal' linux users and configure things with .qmail files like 
I used to on my old box (which someone else set up for me). Will that 
approach still work on a ShuppToaster(tm) or does the vpopmail stuff 
mangle the configuration too much?  I only really *need* the smtp-auth, 
SpamAssassin, Simscan/clamav and webmail support because I'm not really 
going to be dealing with more than a few users.

I *want* a linux install to work, but it scares me how much patching 
needs to be done to get VERY basic features into qmail that you'd think 
a lot of people would need (eg smtp-auth).

I REALLY wish someone made a Qmail Toaster distribution that has all the 
common stuff already installed to start with such that almost nobody 
will need to patch it. That way you would effectively have a 'standard' 
install that was very well supported and not different because 
everyone's used a different distribution/patches etc. I'd pay for it.

maildrop is pretty powerful, and well documented.  My recommendation is 
to hold out on a commercial product, and read more docs.
I'll take your advice and I'll persevere a little longer with qmail, but 
it might have to wait until the weekend as looking at the screen all day 
is doing my head in :)

Nick...


Re: [toaster] Spamassassin per-user rules

2005-05-10 Thread Bill Shupp
Bill Shupp wrote:
Woops.. that should read "... because I DON'T want to use qmailadmin's 
spam detection feature".  This is primarily because it defaults to off, 
which is now what I want.
Damn, I picked the wrong week to stop sniffing glue.  The above 
statement is also wrong... should read "...  it defaults to off, which 
is NOT what I want".

Sorry folks...
Bill


Re: [toaster] Spamassassin per-user rules

2005-05-10 Thread Bill Shupp
Bill Shupp wrote:
I only use the patches because I want to
use qmailadmin with the spam detection scheme.
Woops.. that should read "... because I DON'T want to use qmailadmin's 
spam detection feature".  This is primarily because it defaults to off, 
which is now what I want.

Regards,
Bill


Re: [toaster] Spamassassin per-user rules

2005-05-10 Thread Bill Shupp
Nick Gilbert wrote:
Hmm.. this is all getting rather complicated for little me. Thanks very 
much for all your help but I'm coming to the conclusion that I'll 
probably have to use a commercial product.
Well, do whatever works for you.  But it has been my experience that 
while some of this stuff can be difficult to setup, once you get it 
working you'll have a far better understanding of how it works, and 
you'll be much more qualified to maintain it.

As my colleague always says 
"Linux is only free if your time has no value"
That's a pretty loaded statement.  I strongly disagree, but will refrain 
from engaging it on this list.

- and I've already spent 
3 evenings trying to get the various parts to work properly and now I 
find it can't even filter mail into folders. 
Getting filtering working with the patches I described is trivial.  And 
you can bypass them if are ok with manually configuring .qmail files for 
any user that wants filtering.  I only use the patches because I want to 
use qmailadmin with the spam detection scheme.

maildrop is pretty powerful, and well documented.  My recommendation is 
to hold out on a commercial product, and read more docs.

Regards,
Bill


Re: [toaster] Spamassassin per-user rules

2005-05-10 Thread Jason 'XenoPhage' Frisvold
Nick Gilbert wrote:

> Hmm.. this is all getting rather complicated for little me. Thanks
> very much for all your help but I'm coming to the conclusion that I'll
> probably have to use a commercial product. As my colleague always says
> "Linux is only free if your time has no value" - and I've already
> spent 3 evenings trying to get the various parts to work properly and
> now I find it can't even filter mail into folders. 


While I disagree with your statement regarding Linux, I'll keep quiet
and not start a holy war..  :)

However, I think you'll find that unless you understand exactly what the
software is doing, how to configure it, and how to troubleshoot it,
you'll never have a decent mail server.  There are a lot of products out
there with pretty GUI interfaces and buttons to click, but when
everything hits the fan and the chips are down, are you sure you can
effectively troubleshoot it?  I've had our mailservers up and running
for over a year now, and except for the occassional update (which is
usually nothing more than a single command to install), I've had no
problems.  But, if there is a problem, I have the knowledge now to
troubleshoot it all the way down to the SMTP level.  That knowledge is
invaluable...

Just my opinion.  :)

> Nick...
>


-- 
---
Jason 'XenoPhage' Frisvold
Engine / Technology Programmer
[EMAIL PROTECTED]
RedHat Certified - RHCE # 803004140609871
MySQL Pro Certified - ID# 207171862
MySQL Core Certified - ID# 205982910
---
"Something mysterious is formed, born in the silent void. Waiting alone and 
unmoving, it is at once still and yet in constant motion. It is the source of 
all programs. I do not know its name, so I will call it the Tao of Programming."



Re: [toaster] Spamassassin per-user rules

2005-05-10 Thread Nick Gilbert
Is it possible to have per user rules with SpamAssassin in this
configuration (ie using vpopmail)? If so, how do I do this?
I use the vdelivermail - spamassassin + maildrop patches that I recently 
posted here on the list for vpopmail.  Then, I run spamassassin with 
preferences in MySQL.  Lastly, I add the sasql plugin to squirrelmail so 
that users can edit their preferences there.
Hmm.. this is all getting rather complicated for little me. Thanks very 
much for all your help but I'm coming to the conclusion that I'll 
probably have to use a commercial product. As my colleague always says 
"Linux is only free if your time has no value" - and I've already spent 
3 evenings trying to get the various parts to work properly and now I 
find it can't even filter mail into folders. 

Nick...


Re: [toaster] Spamassassin per-user rules

2005-05-10 Thread Bill Shupp
Nick Gilbert wrote:
Hi,
Is it possible to have per user rules with SpamAssassin in this
configuration (ie using vpopmail)? If so, how do I do this?
I use the vdelivermail - spamassassin + maildrop patches that I recently 
posted here on the list for vpopmail.  Then, I run spamassassin with 
preferences in MySQL.  Lastly, I add the sasql plugin to squirrelmail so 
that users can edit their preferences there.

Regards,
Bill


[toaster] Spamassassin per-user rules

2005-05-10 Thread Nick Gilbert
Hi,

Is it possible to have per user rules with SpamAssassin in this
configuration (ie using vpopmail)? If so, how do I do this?

Thanks,

Nick...