shiva-spampot / shiva

Spam Honeypot with Intelligent Virtual Analyzer
MIT License
131 stars 36 forks source link

Shiva does not have spam logs in neither in shiva database nor in queue directory #27

Open naina-emmanuel opened 6 years ago

naina-emmanuel commented 6 years ago

I have deployed shiva on my ubuntu server (16.04), receiver and analyzer both are running fine using lamson start command, even exim is running fine. Mysql and shiva both are running on same machine and email is being sent from the same machine. I have sent the spam on server running shiva using python script:


import smtplib

sender = 'naina1@fromdomain.com'
receivers = ['shiva@todomain.com']

message = """From: From Person <from@fromdomain.com>
To: To Person <to@todomain.com>
Subject: SMTP e-mail test

This is a test e-mail message.
"""
try:
   smtpObj = smtplib.SMTP('localhost')
   smtpObj.sendmail(sender, receivers, message)
   print "Successfully sent email"
except SMTPException:
   print "Error: unable to send email"

and email sent successfully. Even I have made an intense scan on shiva SMTP port 25 using: sudo nmap -A -p 25 127.0.0.1, as shiva is running locally. I do not get any log in ~/shiva-installer/shiva/queue directory or in its database i.e. Shiva and ShivaTemp. Just getting log in ~/shiva-installer/shiva/shivaReceiver/receiver/logs/lamson.log of having email from certain email and not additional information about the subject or content or attachment of the mail.

kont45 commented 6 years ago

I have the same issue. My test message has been sent and saved to database. But another ~70 000 messages from spamer is still in path shiva/queue/new and nothing are doing next. The analyzer lamsor is running all the time. The Received is stopped manually, it is too many messages in queue? The database is empty, with an exception my test message.

adjaa commented 3 years ago

Hello all! The posts are pretty old, but I faced the same issue. (all processes are running, but no logs!) Any idea?