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 
 http://es.rd.yahoo.com/evt:51361/*http://es.answers.yahoo.com/dir/index;_ylc=X3oDMTE4ZWhyZjU0BF9TAzIxMTQ3MTQzMjIEc2VjA0Jhbm5lcgRzbGsDQWNxdWlzaXRpb24-?link=oversid=396545367.
 
 
 
 
 ___
 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
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 
 http://es.rd.yahoo.com/evt:51361/*http://es.answers.yahoo.com/dir/index;_ylc=X3oDMTE4ZWhyZjU0BF9TAzIxMTQ3MTQzMjIEc2VjA0Jhbm5lcgRzbGsDQWNxdWlzaXRpb24-?link=oversid=396545367.
 
 
 
 
 ___
 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 spamdyke-users@spamdyke.org
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 spamdyke-users@spamdyke.org
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 spamdyke-users@spamdyke.org
 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] mailto:[EMAIL