Thursday, February 12, 2009

qmail-toaster + spamdyke: test behaviour

If you want to test or check the spamdyke behaviour you only need to activate the debug:

Edit /etc/spamdyke/spamdyke.conf

  1. log-level=debug  


Then run the following command

  1. $ /usr/local/bin/spamdyke --config-file /etc/spamdyke/spamdyke.conf /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true  


To send an email enter the SMTP commands:

  1. mail from: youremail@mail.com  
  2. rcpt to: to_address@mail.com  
  3. data  
  4. subject: TEST MESSAGE  
  5. data  
  6. Put some content here...  
  7. .  


You will see debug lines that shows you all the steps of spamdyke.

No comments: