Hi,
We are currently running version 7.x-1.0-beta9 on Drupal 7.17
We sent out our first Newsletter with success, we did however see a strange log in the recent log reports.
All the first newsletters that were sent have our internal IP address and our webpage as reference, but we have a strange log of 100 newsletters sent by a weird IP and as referenced from another website that has nothing to do with us. The people subscribed are receiving weird emails that we have not sent.
Also, we went through our mail server logs and see that emails are being sent to people that aren't even in our newsletter subscriber database! How is that even possible? We checked because we kept on getting mailer-daemons saying that some emails didn't exist and had no response. Once we looked for the email in our database they couldn't be found!
I have attached the image of the log.
Many thanks if we can get help asap.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Screen Shot 2012-12-05 at 1.59.02 PM.png | 86.82 KB | voodoodan245 |
| image001.png | 24.02 KB | voodoodan245 |
Comments
Comment #1
ParisLiakos commentedNewsletters are being sent through cron..that means that the log entries will have the IP of the person that triggered the cron..
If you have set cron to run every X hours, then most times an anonymous user triggers it. Thats why you see his/her IP there..It is normal and nothing to worry about.
Now about the mails being sent, that you have not queue them..maybe newsl;etter is stuck?
can you run
Also..what are those mails like? do they have any similarity at all with your templates?
Comment #2
voodoodan245 commentedI ran the command on the html folder and I got an : call to undefined function variable_del
Yes my cron is set at every hour.
What is also weird is we have around 320 emails in the database which are confirmed and the logs only say that 200 newsletters are sent...
Some users received the same newsletter 15 times and some received it only once. I have attached the log entries of the sent emails.
In our mail server logs emails were sent to emails that don't exist in our database.
Many thanks for the help!
Comment #3
ParisLiakos commentedyes, i am pretty sure it is stack..download devel module and enable it..then run this code in the
devel/phppageWhat is the limit to send per cron run, you configured newsletter with? i guess its 200 right? for some reason it is unable to set the stats after it runs the first time..
Make the limit back to 500 default..does the problem go away?
Comment #4
voodoodan245 commentedHi and thanks for your replies!
I had it set at 50 per cron run, I just set it back to 500.
The weird thing is, I keep on getting emails from people complaining about receiving the same emails 15 times!
In my mail server I can see the emails being sent automatically to a few users now, Drupal doesnt log this and I havent sent any new newsletters.
What does the module use to send the newsletters? Is there a cache saved somwhere that keeps the emails and keeps on trying to send them until it receives an "Ok" back from the mail servers?
Thanks again for your help!
Comment #5
ParisLiakos commentedNo, it just sents em..it doesnt except any answer from the mail server.
Though, it has an internal cache when it does not sends it to all subscriber..eg if you have 10 subscribers but configure it to send 5 per cron, then it will keep in a variable with the remaining suubscribers to send..if this variable fails being set for a weird reason, then in the next cron, it will start sending to the first 5 subscribers again
Comment #6
ParisLiakos commentedconsider it fixed