Re: [toaster] spam mails

2008-11-18 Thread kiew
How do I teach spamassassin what actually is spam and what's not
by using sa-learn?

 Hi,

 [EMAIL PROTECTED] pisze:
 How can i completely stop spam mails from going through my mail server.
 I
 followed Bill's Linux Qmail Toaster instructions of installing qmail but
 spam mails are still coming in!




 Hmm, debug your spamassassin.
 Check out /var/log/spamd/currunt for things like access denied, error,
 fail, permissions
 and try to fix those. spamassassin usually runs on vpopmail user that's
 a hint for permissions.

 Also do a:

 spamassassin --lint -D  sa.log 21

 and then inspect the sa.log file and look for things like: missing perl
 modules, wrong paths, permissions, whatever.

 Have you tought your spamassassin what actually IS spam and what's not
 by using sa-learn?

 Hope this helps,
 Maciej






[toaster] cleaning queue

2008-11-18 Thread Zoltan Lippai
Hi,

Today I accidentally sent myself a few thousand e-mails to my gmail address,
and it can't accept them at a time, so now I have a lot of e-mails in the
queue. Is there a way to remove e-mails with a specific from address from
the queue?

Thanks,
Zoltan Lippai


Re: [toaster] cleaning queue

2008-11-18 Thread Alejandro Perretta
use
http://sourceforge.net/projects/qmhandle

or

http://jeremy.kister.net/code/qmqtool/



cheers

Alejandro


On Tue, Nov 18, 2008 at 5:46 PM, Zoltan Lippai [EMAIL PROTECTED] wrote:

 Hi,

 Today I accidentally sent myself a few thousand e-mails to my gmail
 address, and it can't accept them at a time, so now I have a lot of e-mails
 in the queue. Is there a way to remove e-mails with a specific from address
 from the queue?

 Thanks,
 Zoltan Lippai



Re: [toaster] cleaning queue

2008-11-18 Thread Rick Macdougall

Alejandro Perretta wrote:


use
http://sourceforge.net/projects/qmhandle

or

http://jeremy.kister.net/code/qmqtool/





Or my personal favorite, qmail-remove

http://www.linuxmagic.com/opensource/qmail/qmail-remove

Regards,

Rick



Re: [toaster] cleaning queue

2008-11-18 Thread Zoltan Lippai
On Tue, Nov 18, 2008 at 9:33 PM, Rick Macdougall [EMAIL PROTECTED]wrote:

 Alejandro Perretta wrote:


 use
 http://sourceforge.net/projects/qmhandle

 or

 http://jeremy.kister.net/code/qmqtool/




 Or my personal favorite, qmail-remove

 http://www.linuxmagic.com/opensource/qmail/qmail-remove


Thanks, this did the trick (qmHandle stopped after some time, I don't know
why)
Now the mailing system works again, but daemontool still shows an error,
when I do a ps axf|grep qmail :

 readproctitle service errors: ...ut of disk space?multilog: warning: unable
to write to /var/log/qmail/smtpd/current, pausing: out of disk
space?multilog: warning: unable to write to /var/log/qmail/smtpd/current,
pausing: out of disk space?multilog: warning: unable to write to
/var/log/qmail/smtpd/current, pausing: out of disk space?multilog: warning:
unable to write to /var/log/qmail/smtpd/current, pausing: out of disk space?

I did restart qmail-smtpd with
svc -d /service/qmail-smtpd
svc -u /service/qmail-smtpd
but it still shows the error (but now the disk is not full, I guess this
message is stuck there for some reason)
How can I clear it?

Thank you,
Zoltan Lippai


Re: [toaster] cleaning queue

2008-11-18 Thread Rick Macdougall

Zoltan Lippai wrote:


svc -u /service/qmail-smtpd
but it still shows the error (but now the disk is not full, I guess this 
message is stuck there for some reason)

How can I clear it?


Add a new /service in clear

mkdir -p /service/clear
vi /service/clear/run

add this

#!/bin/sh
yes '' | head -4000 | tr '\n' .

# When you want to clear the service errors, just run this:
# svc -o /service/clear


Save and svc -o /service/clear

Regards,

Rick



Re: [toaster] cleaning queue

2008-11-18 Thread Zoltan Lippai
On Tue, Nov 18, 2008 at 11:18 PM, Rick Macdougall [EMAIL PROTECTED]wrote:

 Zoltan Lippai wrote:


 svc -u /service/qmail-smtpd
 but it still shows the error (but now the disk is not full, I guess this
 message is stuck there for some reason)
 How can I clear it?


 Add a new /service in clear

 mkdir -p /service/clear
 vi /service/clear/run

 add this

 #!/bin/sh
 yes '' | head -4000 | tr '\n' .

 # When you want to clear the service errors, just run this:
 # svc -o /service/clear


 Save and svc -o /service/clear


Thanks a lot, again, it worked.

Best,
Zoltan Lippai