[toaster] Updating expired certs

2005-10-03 Thread Marcus Williams

Hi -

How do I update the certificates in the toaster? All of mine expired the 
other day. Do I just run mk(imapd|pop3d)cert for clients and rerun make 
cert for smtp? I've tried make cert and it doesnt seem to update the 
certificate - I'd remove the old ones and try but I dont want to break 
anything!


Ta,

Marcus

--
Marcus Williams -- http://www.cad-schroer.co.uk
CAD Schroer UK, 39 Newnham Road, Cambridge, UK


Re: [toaster] Updating expired certs

2005-10-03 Thread Rick Macdougall

Marcus Williams wrote:


Hi -

How do I update the certificates in the toaster? All of mine expired 
the other day. Do I just run mk(imapd|pop3d)cert for clients and rerun 
make cert for smtp? I've tried make cert and it doesnt seem to update 
the certificate - I'd remove the old ones and try but I dont want to 
break anything!


Hi,

Move the old ones and re-run the make cert (and update_tmprsdha) and 
mkomapdcert


Regards,

Rick



Re: [toaster] Updating expired certs

2005-10-03 Thread Marcus Williams

On 03/10/2005 15:12, Rick Macdougall wrote:
Move the old ones and re-run the make cert (and update_tmprsdha) and 
mkomapdcert


Do I only need to mv/rm the servercert and clientcert.pem files (ones a 
sym link anyway)? Or should I mv/rm all the pem files in 
/var/qmail/control. imap/pop certs updated correctly in place.


Thanks

Marcus

--
Marcus Williams -- http://www.cad-schroer.co.uk
CAD Schroer UK, 39 Newnham Road, Cambridge, UK


Re: [toaster] Updating expired certs

2005-10-03 Thread Rick Macdougall

Marcus Williams wrote:


On 03/10/2005 15:12, Rick Macdougall wrote:

Move the old ones and re-run the make cert (and update_tmprsdha) and 
mkomapdcert



Do I only need to mv/rm the servercert and clientcert.pem files (ones 
a sym link anyway)? Or should I mv/rm all the pem files in 
/var/qmail/control. imap/pop certs updated correctly in place.


Hi,

I'd mv them all, they will be re-created by the make cert and update_tmp...

Rick



Re: [toaster] validate from in local domains

2005-10-03 Thread qmail
> Hello list.
>
> How can I do that with smtp auth qmail validates that the from must be the
> same that the auth user?
>
> the idea is to avoid some user  [EMAIL PROTECTED]  can impersonate another
> user and send mails with another from:  [EMAIL PROTECTED], I only want to
> admit him to send emails with from: [EMAIL PROTECTED]
>
> is that possible?
>
>
> regards,
> Ingo
>

I also want to know the answer.  Would anyone please help?  Thanks a lot.

Regards,
qing



[toaster] SpamAssassin's Autolearn feature

2005-10-03 Thread Mo Mule

Hi all,

I have been noticing that a few 'medication' messages have been making into 
my inbox with no header re-writes about it being spam.  Autolearn=no is 
showing up on all of the message details.


I created a subfolder in squirrelmail and labeled it 'Spam' and threw all of 
these spam messages in there.


I then _tried_ to run sa-learn -D --spam  but it kept 
telling me that:


bayes: DB_File module not installed, cannot use bayes

Not wanting to give up, I configured squirrelmail's 'spam_buttons' plugin 
this morning.  When I tried to click on the new  'Spam' button, it would 
also throw an error out about the funtion.php file - which I believe had 
something to do with the header, not working properly.


So here are my questions:

1) does SpamAssassin ever use autolearn when installed exactly from the 
toaster?


2) what is the easiest way to set up squirrelmail (per this toaster) to 
allow users to either create their own spam folders, or have a default 
folder that spam can be sent to and then later registered with SpamAssassin 
as spam?


Thanks,

Mule




Re: [toaster] SpamAssassin's Autolearn feature

2005-10-03 Thread Hank
> I then _tried_ to run sa-learn -D --spam  but it kept
> telling me that: bayes: DB_File module not installed, cannot use bayes

Here's what I had to do to get it working:

sa-learn --spam /home/vpopmail/domains///Maildir/.Spam/cur

Try adding the "/cur".

Here's an error I was also getting, and Bill S sent the fix:

> Cannot open bayes databases
> /etc/mail/spamassassin/.spamassassin/bayes_* R/O: tie failed:
> Permission denied

chown -R vpopmail:vchkpw /etc/mail/spamassassin/.spamassassin

Make sure that's done after running sa-learn, or run sa-learn as vpopmail.

> 2) what is the easiest way to set up squirrelmail (per this toaster) to
> allow users to either create their own spam folders, or have a default
> folder that spam can be sent to and then later registered with SpamAssassin
> as spam?

Well, just creating a "Spam" folder is simple.. have your users put
spam into that folder for later analysis.  If you want spamassassin to
move spam into that folder, you'll need to use maildrop.

-Hank