Re: [toaster] Rejecting invalid mail addresses at the RCPT TO stage

2006-04-04 Thread Nikki Locke
Bill Shupp wrote:
 Nikki Locke wrote: 
  Is there an easy way of getting qmail's SMTP server to reject invalid 

  addresses at the RCPT TO stage? 
  
  
  It would save a lot of disk space and processing power when I'm hit with 
  thousands of spams a day. 
  
 This is already setup by default with my toaster patch.  It includes the 
 chkuser patch, which handles this.  Note that it does not bounce mail if: 
  
 1) user account or alias/mailing list exists 
 2) the smtp client has RELAYCLIENT set 
 3) the domain does not contain bounce-no-mailbox in .qmail-default for 
 the domain. 

Thanks, Bill.

Mine (set up according to the instructions, I believe) contained

| /home/vpopmail/bin/vdelivermail '' delete

I changed it to bounce-no-mailbox, and that works fine.

Where is the best documentation for all this stuff to be found? I tried man 
vpopmail for example, and got nothing. Your toaster is excellent for getting 
something working quickly, but I now feel a bit lost, as I don't really 
understand how most of it works!

-- 
Nikki Locke, Trumphurst Ltd.  PC  Unix consultancy  programming
http://www.trumphurst.com/




Re: [toaster] Just installed the toaster, got a suggestion which may improve it

2006-04-04 Thread Nikki Locke
Bill Shupp wrote:
 Nikki Locke wrote: 
  Just a note for Bill... 
  
  In my CentOS 4 default configuration, when you attempt to copy or move a 
  file over one that already exists, the O/S asks you if it is OK for each 
  file. This makes some of the instructions tedious (e.g. mv ezmlm-idx- 
  0.443/* ezmlm-0.53/), and means you had better not just use copy and paste 
  to the shell with a whole list of instructions! 
  
  Would it be a good idea to add -f options to all the mv and cp commands? 
  
  
 Actually the way I addressed this was to put a note in prerequisites: 
  
 http://shupp.org/toaster/#prerequisites 
  
 It recommends you unalias the mv, cp, and rm commands.  I think this is 
 a better option than -f. 

Quite right. Being particularly stupid that day, I wasn't aware that they were 
aliased. Sorry for bothering you.

-- 
Nikki Locke, Trumphurst Ltd.  PC  Unix consultancy  programming
http://www.trumphurst.com/




[toaster] Security updates to toaster programs

2006-04-04 Thread Nikki Locke
I'm a CentOS user, and I'm used to getting security patches for all the 
programs I installed using yum or up2date.

Now I've compiled so much stuff fropm source, with numerous patches, how do 
I stand as far as security updates are concerned? Are any security-related 
updates announced on this list? Or do I find them somewhere else?

I must admit I would feel a bit lost if I had to apply a security update to 
(say) qmail by myself, because I would probably lose the necessary patches.

Oh, and the usual note of thanks to Bill for creating the toaster 
instructions in the first place.

-- 
Nikki Locke, Trumphurst Ltd.  PC  Unix consultancy  programming
http://www.trumphurst.com/




[toaster] Submitting spam to Bayesian filter from SquirrelMail

2006-04-04 Thread Nikki Locke
I would like to use the Bayesian spam filter. To that end, I need all the 
users here to be able to mark mail as spam, so it can be sent through sa-
learn. Ideally I think I need to be able to submit non-spam mail too.

How do people achieve this? I have seen suggestions that I implement a 
shared folder for spam, and persuade people to move mail to that folder. 
However, I haven't managed to find any clear instructions on how to do 
that. Also, this wouldn't help users who want to use their own email 
client, like Outlook.

What suggestions do the team have, and is there any good documentation 
explaining how to achieve them?

Thanks in advance,

Nikki

-- 
Nikki Locke, Trumphurst Ltd.  PC  Unix consultancy  programming
http://www.trumphurst.com/




Re: [toaster] Security updates to toaster programs

2006-04-04 Thread Bill Shupp
Nikki Locke wrote:
 I'm a CentOS user, and I'm used to getting security patches for all the 
 programs I installed using yum or up2date.
 
 Now I've compiled so much stuff fropm source, with numerous patches, how do 
 I stand as far as security updates are concerned? Are any security-related 
 updates announced on this list? Or do I find them somewhere else?
 
 I must admit I would feel a bit lost if I had to apply a security update to 
 (say) qmail by myself, because I would probably lose the necessary patches.
 
 Oh, and the usual note of thanks to Bill for creating the toaster 
 instructions in the first place.

Keep an eye on the toaster, and the ChangeLog in particular.  That's
best way at the moment.

Regards,

Bill


Re: [toaster] Rejecting invalid mail addresses at the RCPT TO stage

2006-04-04 Thread Bill Shupp
Nikki Locke wrote:
 Bill Shupp wrote:
 Nikki Locke wrote: 
 Is there an easy way of getting qmail's SMTP server to reject invalid 
   
 addresses at the RCPT TO stage? 


 It would save a lot of disk space and processing power when I'm hit with 
 thousands of spams a day. 
  
 This is already setup by default with my toaster patch.  It includes the 
 chkuser patch, which handles this.  Note that it does not bounce mail if: 
  
 1) user account or alias/mailing list exists 
 2) the smtp client has RELAYCLIENT set 
 3) the domain does not contain bounce-no-mailbox in .qmail-default for 
 the domain. 
 
 Thanks, Bill.
 
 Mine (set up according to the instructions, I believe) contained
 
 | /home/vpopmail/bin/vdelivermail '' delete

You must have changed this in QmailAdmin.  vadddomain uses
bounce-no-mailbox by default.

 I changed it to bounce-no-mailbox, and that works fine.
 
 Where is the best documentation for all this stuff to be found? I tried man 
 vpopmail for example, and got nothing. Your toaster is excellent for getting 
 something working quickly, but I now feel a bit lost, as I don't really 
 understand how most of it works!

In the vpopmail source, there is is README, and INSTALL.  There are
additional README files you should check out as well.

Regards,

Bill


[toaster] changing bounce msg

2006-04-04 Thread Qmail List

Hi,

How can i simplified the bounce message? I would like the bounce message to 
tell the reason why it bounce only. i do not want to know anymore details 
and the attachment if it has one.


regards 



Re: [toaster] Submitting spam to Bayesian filter from SquirrelMail

2006-04-04 Thread Ken Schweigert
On 4/4/06, Nikki Locke [EMAIL PROTECTED] wrote:
 I would like to use the Bayesian spam filter. To that end, I need all the
 users here to be able to mark mail as spam, so it can be sent through sa-
 learn. Ideally I think I need to be able to submit non-spam mail too.


Squirrelmail has a lot of plugins that you can use.  Though I haven't
used any of these, here is where the spam related plugins are:

http://www.squirrelmail.org/plugins_category.php?category_id=3

Spam Buttons sounds promising.

-ken


Re: [toaster] Submitting spam to Bayesian filter from SquirrelMail

2006-04-04 Thread Bill Shupp
Nikki Locke wrote:

 Thanks for that - I'm playing with it now. I notice that SquirrelMail 1.4 is 
 now up to version 1.4.6, which contains some important-looking security 
 fixes. 
 Hmm, I wonder if it is safe to install it over what I have from the toaster?

Yes, it is.

Bill


Re: [toaster] Submitting spam to Bayesian filter from SquirrelMail

2006-04-04 Thread Bob Hutchinson
On Tuesday 04 Apr 2006 19:16, Nikki Locke wrote:
 Ken Schweigert wrote:
  On 4/4/06, Nikki Locke [EMAIL PROTECTED] wrote:
   I would like to use the Bayesian spam filter. To that end, I need all
   the users here to be able to mark mail as spam, so it can be sent
   through sa- learn. Ideally I think I need to be able to submit non-spam
   mail too.
 
  Squirrelmail has a lot of plugins that you can use.  Though I haven't
  used any of these, here is where the spam related plugins are:
 
  http://www.squirrelmail.org/plugins_category.php?category_id=3
 
  Spam Buttons sounds promising.

The squirrelmail spam-button plugin works for me.
Create two email accounts on the same box as squirrelmail or where you have 
spamassassin running

Here are the salient settings for spam-button's config.php:

$is_spam_resend_destination = '[EMAIL PROTECTED]';
$is_not_spam_resend_destination = '[EMAIL PROTECTED]';

$spam_report_email_method = 'bounce';

$is_spam_note_success = _(Successfully queued for spam report);
$is_not_spam_note_success = _(Successfully queued for ham report);

set up a cron to run sa-learn, something like

sa-learn --spam $spamdir
sa-learn --ham $hamdir

where $spamdir is /home/vpopmail/domains/adomain.com/learn-spam/Maildir/new 
for the above learn-spam account
do the same for ham
move the mail to cur or delete afterwards

see man sa-learn for details

This will allow your customers to train spamassassin.

Wether they will or not is another matter ;-(

good luck.


 Thanks for that - I'm playing with it now. I notice that SquirrelMail 1.4
 is now up to version 1.4.6, which contains some important-looking security
 fixes. Hmm, I wonder if it is safe to install it over what I have from the
 toaster?

 Nikki

-- 
-
Bob Hutchinson
Midwales dot com
-