85degree / prosody-modules

Automatically exported from code.google.com/p/prosody-modules
MIT License
0 stars 0 forks source link

[mod_offline_email] Server crash #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable mod_offline_email with following options:
queue_offline_emails = "86400";
smtp_server = "relay.domain.com";
smtp_from = "prosody@domain.com";
2. Wait for 86400 seconds

What is the expected output? What do you see instead?
Prosody should be sending offline emails to users.

What version of the product are you using? On what operating system?
0.8.2 on Ubuntu 12.04 LTS

Please provide any additional information below.
Dec 27 08:47:00 general error   Top-level error, please report:
/usr/lib/prosody/modules/mod_offline_email.lua:101: attempt to compare string 
with number
Dec 27 08:47:00 general error   
stack traceback:
        /usr/lib/prosody/modules/mod_offline_email.lua:101: in function 'func'
        /usr/lib/prosody/util/timer.lua:69: in function </usr/lib/prosody/util/timer.lua:68>
        [C]: in function 'loop'
        /usr/lib/prosody/net/server_event.lua:804: in function </usr/lib/prosody/net/server_event.lua:803>
        [C]: in function 'xpcall'
        /usr/bin/prosody:427: in function 'loop'
        /usr/bin/prosody:494: in main chunk
        [C]: ?

Original issue reported on code.google.com by akrusmob...@gmail.com on 27 Dec 2012 at 7:30

GoogleCodeExporter commented 9 years ago
PS> looks like the problem is because of the quotation marks, but still this is 
not a good behaviour and should be correctly detected by the server.

Original comment by akrusmob...@gmail.com on 27 Dec 2012 at 7:33