Re: [spamdyke-users] statistical data

2007-11-26 Thread Otto Berger

Thanks for your answer. I understand the problem - there is at the
moment no better solution as using syslogd...

the good thing on using syslog is: You can use syslog-ng to filter the
SYSLOG by application, facility etc...

One other nice ability of syslog-ng is also that a simple custom script
can handle the syslog-entries - and syslog-ng takes care that nothing
will be lost...

conclusion: i write my own statistics script using syslog-ng :-)

Otto


--
www.bergerdata.de



Sam Clippinger schrieb:
> With a solution like that, the concurrency problems would quickly render 
> the data worthless.  As you mentioned, each instance of spamdyke would 
> have to read the statistics file, increment the counters and rewrite the 
> file.
> 
> However, imagine if two instances of spamdyke tried to do this 
> simultaneously.  If they both read the file at the same time, they would 
> both load the same numbers into memory.  They would both increment one 
> of the counters and try to rewrite the file.  It would be a classic 
> "race condition", where the last process to write the file would produce 
> the numbers that were saved.  The other process' numbers would be lost. 
>   On a busy server, you would lose so much data that the file would be 
> meaningless.
> 
> Incidentally, this is exactly why the syslogd daemon exists.  If every 
> daemon on the server tried to write its own entries to the system logs, 
> many entries would be lost.  The syslogd daemon accepts the log messages 
> through a system call (not subject to this type of race condition) and 
> writes the file itself.
> 
> Once spamdyke runs as a daemon, these concerns will disappear.  spamdyke 
> could write to a statistics file periodically, log to a database 
> periodically or whatever.  I'll put this suggestion on my TODO list.
> 
> -- Sam Clippinger
> 
> Otto Berger wrote:
>> Hi Sam,
>>
>> first of all i would like to thank you for providing this great software
>> - it saved on our spam-gateway much cpu-time regarding spamassassin...
>>
>> I have one request regarding spamdyke statistics:
>>
>> I'd dont like very much that log-file-scanning method (run by 5 minutes)
>> to get statistical data.
>>
>> What about the idea that spamdyke writes a small statistics file with
>> simple counters (32bit-overflow?) for example.
>>
>> Then it should be very easy an performance-friendly to generate
>> rrdtool-related graphs (MRTG, cacti).
>>
>> Example:
>>
>> DENIED_RBL_MATCH 985485
>> DENIED_RHSBL_MATCH 56
>> DENIED_SENDER_NO_MX 856
>>
>>
>> i know - spamdyke isnt a deamon, so on every run the stats-file must be
>> parsed and updated - but i think its a more clean solution as scanning
>> big logfiles...
>>
>> what do you think about it?
>>
>> many regards,
>>
>> Otto
>>
>> --
>> www.bergerdata.de
>>
>>
>>
>> night duke schrieb:
>>> It's possible to make stats of spam with maillog.
>>> It's easy to do with mrtg?
>>>
>>> Thanks
>>>
>>> Nightduke
>>>
>>>
>>>
>>>
>>> __ 
>>> ¿Chef por primera vez?
>>> Sé un mejor Cocinillas. 
>>> http://es.answers.yahoo.com/info/welcome
>>> ___
>>> spamdyke-users mailing list
>>> spamdyke-users@spamdyke.org
>>> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>> ___
>> spamdyke-users mailing list
>> spamdyke-users@spamdyke.org
>> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
> ___
> spamdyke-users mailing list
> spamdyke-users@spamdyke.org
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


[spamdyke-users] spamdyke hangs at restart

2007-11-26 Thread night duke
Hi i have a problem when i do a restart of xinetd and qmail for a strange 
reason spamdyke dosen't start again.I have added a new ip at my whilelist ip 
file then i do a restart of qmail and xinetd... but...
   
  /etc/init.d/xinetd restart
  Stopping internet superserver: xinetd.
Starting internet superserver: xinetd.
   
  cat smtp_psa
  service smtp
{
socket_type = stream
protocol= tcp
wait= no
disable = no
user= root
instances   = UNLIMITED
server  = /var/qmail/bin/tcp-env
server_args = -Rt0 /usr/local/bin/spamdyke -f 
/var/qmail/spamdyke/spamdyke.conf /var/qmail/bin/relaylock 
/var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true 
/var/qmail/bin/cmd5checkpw /var/qmail/bin/true
   
   
  Doe anyone how can i fix this problem? Spamdyke dosen't appears again at 
maillog...
  
Thanks
   
  Nightduke
   

   
-

¿Chef por primera vez? - Sé un mejor Cocinillas.
Entra en Yahoo! Respuestas.
___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] spamdyke hangs at restart

2007-11-26 Thread Sam Clippinger
Are you looking in the correct file?  Plesk moves the maillog messages 
to /usr/local/psa/var/log/maillog.

If that doesn't help, are you seeing any errors logged anywhere?  What 
do you see if you telnet to your server's SMTP port?  Is any mail being 
delivered at all?

-- Sam Clippinger

night duke wrote:
> Hi i have a problem when i do a restart of xinetd and qmail for a 
> strange reason spamdyke dosen't start again.I have added a new ip at my 
> whilelist ip file then i do a restart of qmail and xinetd... but...
>  
> /etc/init.d/xinetd restart
> Stopping internet superserver: xinetd.
> Starting internet superserver: xinetd.
>  
> cat smtp_psa
> service smtp
> {
> socket_type = stream
> protocol= tcp
> wait= no
> disable = no
> user= root
> instances   = UNLIMITED
> server  = /var/qmail/bin/tcp-env
> server_args = -Rt0 /usr/local/bin/spamdyke -f 
> /var/qmail/spamdyke/spamdyke.conf /var/qmail/bin/relaylock 
> /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true 
> /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
>  
>  
> Doe anyone how can i fix this problem? Spamdyke dosen't appears again at 
> maillog...
> 
> Thanks
>  
> Nightduke
>  
> 
> 
> 
> ¿Chef por primera vez? - Sé un mejor Cocinillas.
> Entra en Yahoo! Respuestas 
> .
> 
> 
> 
> 
> ___
> spamdyke-users mailing list
> spamdyke-users@spamdyke.org
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] spamdyke hangs at restart

2007-11-26 Thread Ton van Rosmalen




Hi,

I can't think of a reason why it wouldn't use spamdyke again.

But adding an IP to the whitelist file doesn't require a restart.
Spamdyke reads the (changed) config when started through xinetd.
If you want ot refresh xinetd as well, you might be able to use:
/etc/init.d/xinetd reload 
or 
service xinetd reload

Depending on you Linux distro.

Regards,

Ton

night duke schreef:

  Hi i have a problem when i do a restart of xinetd and qmail for
a strange reason spamdyke dosen't start again.I have added a new ip at
my whilelist ip file then i do a restart of qmail and xinetd... but...
   
  /etc/init.d/xinetd restart
  Stopping internet superserver: xinetd.
Starting internet superserver: xinetd.
   
  cat smtp_psa
  service smtp
{
    socket_type = stream
    protocol    = tcp
    wait    = no
    disable = no
    user    = root
    instances   = UNLIMITED
    server  = /var/qmail/bin/tcp-env
    server_args = -Rt0 /usr/local/bin/spamdyke -f
/var/qmail/spamdyke/spamdyke.conf /var/qmail/bin/relaylock
/var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true
/var/qmail/bin/cmd5checkpw /var/qmail/bin/true
   
   
  Doe anyone how can i fix this problem? Spamdyke dosen't appears
again at maillog...
  
Thanks
   
  Nightduke
   
   
  
  ¿Chef por primera vez? - Sé un mejor
Cocinillas.
  Entra
en Yahoo! Respuestas.
  
  

___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users
  



___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] spamdyke hangs at restart

2007-11-26 Thread night duke
Yes i'm looking at 
  /usr/local/psa/var/log# ls -lah
total 22M
drwxr-xr-x 3 root   root   4,0K 2007-11-26 06:26 .
drwxr-xr-x 9 psaadm psaadm 4,0K 2007-08-07 16:25 ..
drwxr-xr-x 2 root   root   4,0K 2007-11-22 16:49 3
-rw-r- 1 root   adm 18M 2007-11-26 16:57 maillog

  I dosen't see spamdyke running at maillog, i can connect to smtp port 
sucessfully and answer correctly.
   
  I have tried to restart /etc/init.d/xinetd restart and /etc/init.d/qmail 
restart but spamdyke dosen't start.Also i have mail waiting at my queue.
   
  ./qmail-qstat
messages in queue: 244
messages in queue but not yet preprocessed: 219
   
  I have tried to copy form my compiled source of spamdyke to /usr/loca/bin and 
told me it's been used...
   
  Nightduke

   
   
   
   
   
  

Sam Clippinger <[EMAIL PROTECTED]> escribió:
  Are you looking in the correct file? Plesk moves the maillog messages 
to /usr/local/psa/var/log/maillog.

If that doesn't help, are you seeing any errors logged anywhere? What 
do you see if you telnet to your server's SMTP port? Is any mail being 
delivered at all?

-- Sam Clippinger

night duke wrote:
> Hi i have a problem when i do a restart of xinetd and qmail for a 
> strange reason spamdyke dosen't start again.I have added a new ip at my 
> whilelist ip file then i do a restart of qmail and xinetd... but...
> 
> /etc/init.d/xinetd restart
> Stopping internet superserver: xinetd.
> Starting internet superserver: xinetd.
> 
> cat smtp_psa
> service smtp
> {
> socket_type = stream
> protocol = tcp
> wait = no
> disable = no
> user = root
> instances = UNLIMITED
> server = /var/qmail/bin/tcp-env
> server_args = -Rt0 /usr/local/bin/spamdyke -f 
> /var/qmail/spamdyke/spamdyke.conf /var/qmail/bin/relaylock 
> /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true 
> /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
> 
> 
> Doe anyone how can i fix this problem? Spamdyke dosen't appears again at 
> maillog...
> 
> Thanks
> 
> Nightduke
> 
> 
> 
> 
> ¿Chef por primera vez? - Sé un mejor Cocinillas.
> Entra en Yahoo! Respuestas 
> .
> 
> 
> 
> 
> ___
> spamdyke-users mailing list
> spamdyke-users@spamdyke.org
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


   
-

¿Chef por primera vez? - Sé un mejor Cocinillas.
Entra en Yahoo! Respuestas.
___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] spamdyke hangs at restart

2007-11-26 Thread night duke
It's very strange...
   
  I was thinking spamdyke will reload data from ipwhilist file but anyway if i 
want to restart for any reason why spamdyke dosen't work again???
   
  I have tried /etc/init.d/xinetd reload but dosen't work... but i have mail 
waiting at my queue, can this be the problem???
   
  Thanks anyway.
   
  Nightduke
   
   
  

Ton van Rosmalen <[EMAIL PROTECTED]> escribió:
  Hi,

I can't think of a reason why it wouldn't use spamdyke again.

But adding an IP to the whitelist file doesn't require a restart. Spamdyke 
reads the (changed) config when started through xinetd.
If you want ot refresh xinetd as well, you might be able to use:
/etc/init.d/xinetd reload 
or 
service xinetd reload

Depending on you Linux distro.

Regards,

Ton

night duke schreef: Hi i have a problem when i do a restart of xinetd and 
qmail for a strange reason spamdyke dosen't start again.I have added a new ip 
at my whilelist ip file then i do a restart of qmail and xinetd... but...
   
  /etc/init.d/xinetd restart
  Stopping internet superserver: xinetd.
Starting internet superserver: xinetd.
   
  cat smtp_psa
  service smtp
{
socket_type = stream
protocol= tcp
wait= no
disable = no
user= root
instances   = UNLIMITED
server  = /var/qmail/bin/tcp-env
server_args = -Rt0 /usr/local/bin/spamdyke -f 
/var/qmail/spamdyke/spamdyke.conf /var/qmail/bin/relaylock 
/var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true 
/var/qmail/bin/cmd5checkpw /var/qmail/bin/true
   
   
  Doe anyone how can i fix this problem? Spamdyke dosen't appears again at 
maillog...
  
Thanks
   
  Nightduke
   
  
  
-
  
¿Chef por primera vez? - Sé un mejor Cocinillas.
Entra en Yahoo! Respuestas.


-
  ___  spamdyke-users mailing list  
spamdyke-users@spamdyke.org  
http://www.spamdyke.org/mailman/listinfo/spamdyke-users
___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


   
-

¿Chef por primera vez? - Sé un mejor Cocinillas.
Entra en Yahoo! Respuestas.
___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] spamdyke hangs at restart

2007-11-26 Thread Sam Clippinger
I'm confused.  If mail is being delivered and the spamdyke binary is in 
use, why do you think it isn't running?  You should be able to see it in 
a process list.

Is your log-level set to at least 2?  Is your log-target set to 1?

-- Sam Clippinger

night duke wrote:
> Yes i'm looking at
> /usr/local/psa/var/log# ls -lah
> total 22M
> drwxr-xr-x 3 root   root   4,0K 2007-11-26 06:26 .
> drwxr-xr-x 9 psaadm psaadm 4,0K 2007-08-07 16:25 ..
> drwxr-xr-x 2 root   root   4,0K 2007-11-22 16:49 3
> -rw-r- 1 root   adm 18M 2007-11-26 16:57 maillog
> I dosen't see spamdyke running at maillog, i can connect to smtp port 
> sucessfully and answer correctly.
>  
> I have tried to restart /etc/init.d/xinetd restart and /etc/init.d/qmail 
> restart but spamdyke dosen't start.Also i have mail waiting at my queue.
>  
> ./qmail-qstat
> messages in queue: 244
> messages in queue but not yet preprocessed: 219
>  
> I have tried to copy form my compiled source of spamdyke to 
> /usr/loca/bin and told me it's been used...
>  
> Nightduke
>  
>  
>  
>  
>  
> 
> 
> */Sam Clippinger <[EMAIL PROTECTED]>/* escribió:
> 
> Are you looking in the correct file? Plesk moves the maillog messages
> to /usr/local/psa/var/log/maillog.
> 
> If that doesn't help, are you seeing any errors logged anywhere? What
> do you see if you telnet to your server's SMTP port? Is any mail being
> delivered at all?
> 
> -- Sam Clippinger
> 
> night duke wrote:
>  > Hi i have a problem when i do a restart of xinetd and qmail for a
>  > strange reason spamdyke dosen't start again.I have added a new ip
> at my
>  > whilelist ip file then i do a restart of qmail and xinetd... but...
>  >
>  > /etc/init.d/xinetd restart
>  > Stopping internet superserver: xinetd.
>  > Starting internet superserver: xinetd.
>  >
>  > cat smtp_psa
>  > service smtp
>  > {
>  > socket_type = stream
>  > protocol = tcp
>  > wait = no
>  > disable = no
>  > user = root
>  > instances = UNLIMITED
>  > server = /var/qmail/bin/tcp-env
>  > server_args = -Rt0 /usr/local/bin/spamdyke -f
>  > /var/qmail/spamdyke/spamdyke.conf /var/qmail/bin/relaylock
>  > /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth
> /var/qmail/bin/true
>  > /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
>  >
>  >
>  > Doe anyone how can i fix this problem? Spamdyke dosen't appears
> again at
>  > maillog...
>  >
>  > Thanks
>  >
>  > Nightduke
>  >
>  >
>  >
> 
>  >
>  > ¿Chef por primera vez? - Sé un mejor Cocinillas.
>  > Entra en Yahoo! Respuestas
>  > .
>  >
>  >
>  >
> 
>  >
>  > ___
>  > spamdyke-users mailing list
>  > spamdyke-users@spamdyke.org
>  > http://www.spamdyke.org/mailman/listinfo/spamdyke-users
> ___
> spamdyke-users mailing list
> spamdyke-users@spamdyke.org
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
> 
> 
> 
> 
> ¿Chef por primera vez? - Sé un mejor Cocinillas.
> Entra en Yahoo! Respuestas 
> .
> 
> 
> 
> 
> ___
> spamdyke-users mailing list
> spamdyke-users@spamdyke.org
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] spamdyke hangs at restart

2007-11-26 Thread night duke
at the lost dosen't appears, i have log level 4
   
  Nightduke
  

Sam Clippinger <[EMAIL PROTECTED]> escribió:
  I'm confused. If mail is being delivered and the spamdyke binary is in 
use, why do you think it isn't running? You should be able to see it in 
a process list.

Is your log-level set to at least 2? Is your log-target set to 1?

-- Sam Clippinger

night duke wrote:
> Yes i'm looking at
> /usr/local/psa/var/log# ls -lah
> total 22M
> drwxr-xr-x 3 root root 4,0K 2007-11-26 06:26 .
> drwxr-xr-x 9 psaadm psaadm 4,0K 2007-08-07 16:25 ..
> drwxr-xr-x 2 root root 4,0K 2007-11-22 16:49 3
> -rw-r- 1 root adm 18M 2007-11-26 16:57 maillog
> I dosen't see spamdyke running at maillog, i can connect to smtp port 
> sucessfully and answer correctly.
> 
> I have tried to restart /etc/init.d/xinetd restart and /etc/init.d/qmail 
> restart but spamdyke dosen't start.Also i have mail waiting at my queue.
> 
> ./qmail-qstat
> messages in queue: 244
> messages in queue but not yet preprocessed: 219
> 
> I have tried to copy form my compiled source of spamdyke to 
> /usr/loca/bin and told me it's been used...
> 
> Nightduke
> 
> 
> 
> 
> 
> 
> 
> */Sam Clippinger /* escribió:
> 
> Are you looking in the correct file? Plesk moves the maillog messages
> to /usr/local/psa/var/log/maillog.
> 
> If that doesn't help, are you seeing any errors logged anywhere? What
> do you see if you telnet to your server's SMTP port? Is any mail being
> delivered at all?
> 
> -- Sam Clippinger
> 
> night duke wrote:
> > Hi i have a problem when i do a restart of xinetd and qmail for a
> > strange reason spamdyke dosen't start again.I have added a new ip
> at my
> > whilelist ip file then i do a restart of qmail and xinetd... but...
> >
> > /etc/init.d/xinetd restart
> > Stopping internet superserver: xinetd.
> > Starting internet superserver: xinetd.
> >
> > cat smtp_psa
> > service smtp
> > {
> > socket_type = stream
> > protocol = tcp
> > wait = no
> > disable = no
> > user = root
> > instances = UNLIMITED
> > server = /var/qmail/bin/tcp-env
> > server_args = -Rt0 /usr/local/bin/spamdyke -f
> > /var/qmail/spamdyke/spamdyke.conf /var/qmail/bin/relaylock
> > /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth
> /var/qmail/bin/true
> > /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
> >
> >
> > Doe anyone how can i fix this problem? Spamdyke dosen't appears
> again at
> > maillog...
> >
> > Thanks
> >
> > Nightduke
> >
> >
> >
> 
> >
> > ¿Chef por primera vez? - Sé un mejor Cocinillas.
> > Entra en Yahoo! Respuestas
> > .
> >
> >
> >
> 
> >
> > ___
> > spamdyke-users mailing list
> > spamdyke-users@spamdyke.org
> > http://www.spamdyke.org/mailman/listinfo/spamdyke-users
> ___
> spamdyke-users mailing list
> spamdyke-users@spamdyke.org
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
> 
> 
> 
> 
> ¿Chef por primera vez? - Sé un mejor Cocinillas.
> Entra en Yahoo! Respuestas 
> .
> 
> 
> 
> 
> ___
> spamdyke-users mailing list
> spamdyke-users@spamdyke.org
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


   
-

¿Chef por primera vez? - Sé un mejor Cocinillas.
Entra en Yahoo! Respuestas.
___
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users


Re: [spamdyke-users] Problem in v3.1.1 make it un-usable.

2007-11-26 Thread night duke
Hi i have followed this how to but i have a problem, spamdyke won't start.
   
  Can anyone help me ?
   
  Thanks
   
  Nightduke
  

david boh <[EMAIL PROTECTED]> escribió:
  Hi Ton,

Thanks for the tip. Have check both Plesk  and spamdyke whitelist, 127.0.0.1 is 
included.

If you read my test step properly. Without any changes to the configuration 
(Linux, Plesk, spamdyke config), spamdyke 3.0.1 will just work.
When replace with spamdyke 3.1.1, it just fail. It looks like a straight 
forward failure.

But it somehow do not have any error message at spamdyke level-2 log in maillog.

  - Original Message 
From: Ton van Rosmalen <[EMAIL PROTECTED]>
To: spamdyke users 
Sent: Friday, November 16, 2007 12:30:17 AM
Subject: Re: [spamdyke-users] Problem in v3.1.1 make it un-usable.

Hi David,

Just a quick note from a fellow Plesk-user.

I'm using spamdyke as well on several Plesk (Linux) versions and no complaints 
and no problems using webmail.

I'm just wondering whether you've got localhost (127.0.0.1) on your whitelist 
inside Plesk?
Settings can be found by logging in with admin credentials via: Server - Mail - 
tab White List

Ton

david boh schreef:   Hi Sam,

Test Step: 
1. Re-install spamdyke 3.1.1 in both server
2. Place the spamdyke before relaylock pipe in xinetd.d
3. Restart xinetd
4. Repeat 2 and 3 of the other server.
5. Did the test, using webmail and send from server A to server B. Did the same 
on the other end.

Both email did not leave the server just hang in qmail queue.

So I revert both spamdyke to 3.0.1. (position of spamdyke still before 
relaylock)
Force qmail to send qmail queue. All email goes without any problem.

So pipe spamdyke before relaylock works. But spamdyke 3.1.1 still have problem 
with mail send via webmail.

Through-out this test no configuration change for spamdyke.conf, whitelist, 
blacklist all configure file is the same.


  - Original Message 
From: Sam Clippinger <[EMAIL PROTECTED]>
To: spamdyke users 
Sent: Thursday, November 15, 2007 2:09:29 AM
Subject: Re: [spamdyke-users] Problem in v3.1.1 make it un-usable.

I got a tip a while back from another Plesk user that you have to run 
spamdyke before relaylock to avoid these errors.  So in your 
/etc/xinetd.d/smtp_psa file, try changing the "server_args" line to:
server_args= -Rt0 /usr/local/bin/spamdyke --config-file 
/var/qmail/spamdyke/spamdyke.conf /var/qmail/bin/relaylock 
/var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true 
/var/qmail/bin/cmd5checkpw /var/qmail/bin/true

I need to update the documentation to include this.

-- Sam Clippinger

david boh wrote:
> Sure my friend.
> 
> Both server has the same smtp_psa and configure ( both server have 3.0.1 
> and duplicate/mirror setting)
> 
> SMTP_PSA
> {
>socket_type= stream
>protocol= tcp
>wait= no
>disable= no
>user= root
>instances  = UNLIMITED
>server  = /var/qmail/bin/tcp-env
>server_args= -Rt0 /var/qmail/bin/relaylock 
> /usr/local/bin/spamdyke --config-file /var/qmail/spamdyke/spamdyke.conf 
> /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true 
> /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
> }
> 
> SPAMDYKE.CONF
> log-level=2
> local-domains-file=/var/qmail/control/rcpthosts
> max-recipients=30
> idle-timeout-secs=300
> graylist-dir=/var/qmail/spamdyke/graylist
> graylist-min-secs=120
> graylist-max-secs=1814400
> #greeting-delay-secs = 1
> sender-blacklist-file=/var/qmail/spamdyke/blacklist_senders
> recipient-blacklist-file=/var/qmail/spamdyke/blacklist_recipients
> # ip-in-rdns-keyword-file=/var/qmail/spamdyke/blacklist_keywords
> ip-blacklist-file=/var/qmail/spamdyke/blacklist_ip
> # rdns-blacklist-dir=/var/qmail/spamdyke/blacklist_rdns.d
> sender-whitelist-file=/var/qmail/spamdyke/whitelist_recipients
> # reject-empty-rdns
> # reject-unresolvable-rdns
> # reject-ip-in-cc-rdns
> # rdns-whitelist-file=/var/qmail/spamdyke/whitelist_rdns
> ip-whitelist-file=/var/qmail/spamdyke/whitelist_ip
> reject-missing-sender-mx
> check-dnsrbl=dul.dnsbl.sorbs.net
> #check-dnsrbl=sbl.spamhaus.org
> 
> - Original Message 
> From: Sam Clippinger <[EMAIL PROTECTED]>
> To: spamdyke users 
> Sent: Wednesday, November 14, 2007 12:13:44 AM
> Subject: Re: [spamdyke-users] Problem in v3.1.1 make it un-usable.
> 
> Can you send more information about your setup?  Could you send the
> contents of your /etc/xinetd.d/smtp_psa file and your spamdyke
> configuration file (if you have one)?
> 
> -- Sam Clippinger
> 
> david boh wrote:
>  > I would like to report that v3.1.0 also suffer from the same issue as
>  > described below.
>  >
>  > So now I am back to v3.0.1, I think many mail will be missing if I
>  > continue to test.
>  >
>  > I believei it should be able to resolve quickly.
>  >
>  > - Original Message 
>  > From: david boh <[EMAIL PROTECTED]