Re: [Dbmail-dev] Errors after nightly dbmail-util
Jon, No good, Still happens, on g_free(D-data) Well, I'm at a loss on this. For now just comment out the changes and be aware of the memory leak so you can use it. To reproduce the problem, you are just having a client login, select mailbox, send idle command, then send DONE correct? I'm connection with rouncube msoutlook. But if you want I can do a manual login. A1 login user passwd A2 select inbox A3 IDLE A4 DONE Just correct point A3 and A4, I'm not sure if it has the correct sintax ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
[Dbmail-dev] [DBMail 0000789]: dbmail-imapd crash with invalid pointer reason
A NOTE has been added to this issue. == http://www.dbmail.org/mantis/view.php?id=789 == Reported By:jasb Assigned To: == Project:DBMail Issue ID: 789 Category: IMAP daemon Reproducibility:have not tried Severity: crash Priority: normal Status: new target: == Date Submitted: 21-Jul-09 23:51 CEST Last Modified: 23-Jul-09 12:55 CEST == Summary:dbmail-imapd crash with invalid pointer reason Description: Hi, After this commit on GIT HEAD: http://git.dbmail.eu/cgit/cgit.cgi/paul/dbmail/commit/?id=02b0fe06c4947fb50bdcbe3ac39661006f78aa07 imapd crashes with invalid pointer on this. Attached there's the GDB trace for this. == -- (0002837) waza123 (reporter) - 22-Jul-09 14:02 http://www.dbmail.org/mantis/view.php?id=789#c2837 -- i have many crashes in all sectors. dbmail-imapd dbmail-pop3d dbmail-lmtpd v2.3.6 -- (0002838) pschmiel (reporter) - 23-Jul-09 12:55 http://www.dbmail.org/mantis/view.php?id=789#c2838 -- I have the same problem with a crashing imapd. Backtrace is attached. Issue History Date ModifiedUsername FieldChange == 21-Jul-09 23:51 jasb New Issue 21-Jul-09 23:51 jasb File Added: imapd_invalid_pointer.txt 22-Jul-09 14:02 waza123Note Added: 0002837 23-Jul-09 12:55 pschmiel File Added: backtrace.txt 23-Jul-09 12:55 pschmiel Note Added: 0002838 == ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
[Dbmail-dev] [DBMail 0000790]: dbmail-lmtpd crash
The following issue has been SUBMITTED. == http://dbmail.org/mantis/view.php?id=790 == Reported By:waza123 Assigned To: == Project:DBMail Issue ID: 790 Category: LMTP daemon Reproducibility:always Severity: crash Priority: normal Status: new target: == Date Submitted: 23-Jul-09 16:09 CEST Last Modified: 23-Jul-09 16:09 CEST == Summary:dbmail-lmtpd crash Description: Very unstable dbmail-lmtpd (and pop3d and imapd) 0xb7fb89c6 in client_session_set_timeout (session=0x80c2e10, timeout=60) at clientsession.c:143 143 if (session (session-state CLIENTSTATE_ANY) session-ci session-ci-timeout) { == Issue History Date ModifiedUsername FieldChange == 23-Jul-09 16:09 waza123New Issue 23-Jul-09 16:09 waza123File Added: crash_report_lmtpd.txt == ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
[Dbmail-dev] [DBMail 0000789]: dbmail-imapd crash with invalid pointer reason
A NOTE has been added to this issue. == http://www.dbmail.org/mantis/view.php?id=789 == Reported By:jasb Assigned To: == Project:DBMail Issue ID: 789 Category: IMAP daemon Reproducibility:have not tried Severity: crash Priority: normal Status: new target: == Date Submitted: 21-Jul-09 23:51 CEST Last Modified: 23-Jul-09 16:30 CEST == Summary:dbmail-imapd crash with invalid pointer reason Description: Hi, After this commit on GIT HEAD: http://git.dbmail.eu/cgit/cgit.cgi/paul/dbmail/commit/?id=02b0fe06c4947fb50bdcbe3ac39661006f78aa07 imapd crashes with invalid pointer on this. Attached there's the GDB trace for this. == -- (0002837) waza123 (reporter) - 22-Jul-09 14:02 http://www.dbmail.org/mantis/view.php?id=789#c2837 -- i have many crashes in all sectors. dbmail-imapd dbmail-pop3d dbmail-lmtpd v2.3.6 -- (0002838) pschmiel (reporter) - 23-Jul-09 12:55 http://www.dbmail.org/mantis/view.php?id=789#c2838 -- I have the same problem with a crashing imapd. Backtrace is attached. -- (0002839) pschmiel (reporter) - 23-Jul-09 16:30 http://www.dbmail.org/mantis/view.php?id=789#c2839 -- I think the following changes did the trick. No more crashes since this modification: if(D-data != NULL) g_free(D-data); if(D != NULL) g_free(D); Issue History Date ModifiedUsername FieldChange == 21-Jul-09 23:51 jasb New Issue 21-Jul-09 23:51 jasb File Added: imapd_invalid_pointer.txt 22-Jul-09 14:02 waza123Note Added: 0002837 23-Jul-09 12:55 pschmiel File Added: backtrace.txt 23-Jul-09 12:55 pschmiel Note Added: 0002838 23-Jul-09 13:22 pschmiel Issue Monitored: pschmiel 23-Jul-09 16:30 pschmiel Note Added: 0002839 == ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
[Dbmail-dev] [DBMail 0000789]: dbmail-imapd crash with invalid pointer reason
A NOTE has been added to this issue. == http://dbmail.org/mantis/view.php?id=789 == Reported By:jasb Assigned To: == Project:DBMail Issue ID: 789 Category: IMAP daemon Reproducibility:have not tried Severity: crash Priority: normal Status: new target: == Date Submitted: 21-Jul-09 23:51 CEST Last Modified: 23-Jul-09 16:36 CEST == Summary:dbmail-imapd crash with invalid pointer reason Description: Hi, After this commit on GIT HEAD: http://git.dbmail.eu/cgit/cgit.cgi/paul/dbmail/commit/?id=02b0fe06c4947fb50bdcbe3ac39661006f78aa07 imapd crashes with invalid pointer on this. Attached there's the GDB trace for this. == -- (0002837) waza123 (reporter) - 22-Jul-09 14:02 http://dbmail.org/mantis/view.php?id=789#c2837 -- i have many crashes in all sectors. dbmail-imapd dbmail-pop3d dbmail-lmtpd v2.3.6 -- (0002838) pschmiel (reporter) - 23-Jul-09 12:55 http://dbmail.org/mantis/view.php?id=789#c2838 -- I have the same problem with a crashing imapd. Backtrace is attached. -- (0002839) pschmiel (reporter) - 23-Jul-09 16:30 http://dbmail.org/mantis/view.php?id=789#c2839 -- I think the following changes did the trick. No more crashes since this modification: if(D-data != NULL) g_free(D-data); if(D != NULL) g_free(D); -- (0002840) waza123 (reporter) - 23-Jul-09 16:36 http://dbmail.org/mantis/view.php?id=789#c2840 -- yes that make a sens. Issue History Date ModifiedUsername FieldChange == 21-Jul-09 23:51 jasb New Issue 21-Jul-09 23:51 jasb File Added: imapd_invalid_pointer.txt 22-Jul-09 14:02 waza123Note Added: 0002837 23-Jul-09 12:55 pschmiel File Added: backtrace.txt 23-Jul-09 12:55 pschmiel Note Added: 0002838 23-Jul-09 13:22 pschmiel Issue Monitored: pschmiel 23-Jul-09 16:30 pschmiel Note Added: 0002839 23-Jul-09 16:36 waza123Note Added: 0002840 == ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
[Dbmail-dev] [DBMail 0000791]: Several LMTPD problems on delevery
The following issue has been SUBMITTED. == http://dbmail.org/mantis/view.php?id=791 == Reported By:jasb Assigned To: == Project:DBMail Issue ID: 791 Category: LMTP daemon Reproducibility:have not tried Severity: minor Priority: normal Status: new target: == Date Submitted: 23-Jul-09 16:45 CEST Last Modified: 23-Jul-09 16:45 CEST == Summary:Several LMTPD problems on delevery Description: I'm chasing now LMTPD for some problems that is has. Below there's some of them, i believe it's some of folowing that is causing the problem of missing rfcsize/envelope/un-cached values that are corrected by dbmail-util, i say this 'cause at the moment this happened i had some problematic messages. Jul 23 15:25:35 lira dbmail/lmtpd[19475]: [0x8f53b08] Warning:[message] dbmail_message_store(+1318): Failed to store mimeparts Jul 23 15:25:35 lira dbmail/lmtpd[19475]: [0x8f53b08] Error:[db] db_copymsg(+2678): error getting size for message [6073908] Jul 23 15:25:35 lira dbmail/lmtpd[19475]: [0x8f53b08] Error:[message] sort_deliver_to_mailbox(+2132): error copying message to user [657] Jul 23 15:25:36 lira dbmail/lmtpd[19475]: [0x8f53b08] Error:[message] insert_messages(+2437): unknown temporary failure in sort_and_deliver for useridnr [657] Jul 23 15:27:32 lira dbmail/lmtpd[19475]: [0x8f53b08] Warning:[message] dbmail_message_store(+1318): Failed to store mimeparts Jul 23 15:27:32 lira dbmail/lmtpd[19475]: [0x8f53b08] Error:[db] db_copymsg(+2678): error getting size for message [6073922] Jul 23 15:27:32 lira dbmail/lmtpd[19475]: [0x8f53b08] Error:[message] sort_deliver_to_mailbox(+2132): error copying message to user [657] Jul 23 15:27:32 lira dbmail/lmtpd[19475]: [0x8f53b08] Error:[message] insert_messages(+2437): unknown temporary failure in sort_and_deliver for useridnr [657] == Issue History Date ModifiedUsername FieldChange == 23-Jul-09 16:45 jasb New Issue == ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
[Dbmail-dev] [DBMail 0000789]: dbmail-imapd crash with invalid pointer reason
A NOTE has been added to this issue. == http://www.dbmail.org/mantis/view.php?id=789 == Reported By:jasb Assigned To: == Project:DBMail Issue ID: 789 Category: IMAP daemon Reproducibility:have not tried Severity: crash Priority: normal Status: new target: == Date Submitted: 21-Jul-09 23:51 CEST Last Modified: 23-Jul-09 18:02 CEST == Summary:dbmail-imapd crash with invalid pointer reason Description: Hi, After this commit on GIT HEAD: http://git.dbmail.eu/cgit/cgit.cgi/paul/dbmail/commit/?id=02b0fe06c4947fb50bdcbe3ac39661006f78aa07 imapd crashes with invalid pointer on this. Attached there's the GDB trace for this. == -- (0002837) waza123 (reporter) - 22-Jul-09 14:02 http://www.dbmail.org/mantis/view.php?id=789#c2837 -- i have many crashes in all sectors. dbmail-imapd dbmail-pop3d dbmail-lmtpd v2.3.6 -- (0002838) pschmiel (reporter) - 23-Jul-09 12:55 http://www.dbmail.org/mantis/view.php?id=789#c2838 -- I have the same problem with a crashing imapd. Backtrace is attached. -- (0002839) pschmiel (reporter) - 23-Jul-09 16:30 http://www.dbmail.org/mantis/view.php?id=789#c2839 -- I think the following changes did the trick. No more crashes since this modification: if(D-data != NULL) g_free(D-data); if(D != NULL) g_free(D); -- (0002840) waza123 (reporter) - 23-Jul-09 16:37 http://www.dbmail.org/mantis/view.php?id=789#c2840 -- yes, you have to check if it exists before free it -- (0002841) pschmiel (reporter) - 23-Jul-09 18:02 http://www.dbmail.org/mantis/view.php?id=789#c2841 -- got another crash a few minutes ago. looks like the pointer points to an invalid address location so it is not NULL but nevertheless it can't be freed... Issue History Date ModifiedUsername FieldChange == 21-Jul-09 23:51 jasb New Issue 21-Jul-09 23:51 jasb File Added: imapd_invalid_pointer.txt 22-Jul-09 14:02 waza123Note Added: 0002837 23-Jul-09 12:55 pschmiel File Added: backtrace.txt 23-Jul-09 12:55 pschmiel Note Added: 0002838 23-Jul-09 13:22 pschmiel Issue Monitored: pschmiel 23-Jul-09 16:30 pschmiel Note Added: 0002839 23-Jul-09 16:36 waza123Note Added: 0002840 23-Jul-09 16:37 waza123Note Edited: 0002840 23-Jul-09 18:02 pschmiel Note Added: 0002841 == ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
[Dbmail] Annoying DONT DELETE THIS MESSAGE with previously used imap inbox folder
Hello, When administrator migrates mbox folders to dbmail, in some of them is a imap message, common pop3/imap ignores it, but when migrated, this message appears on the list, and frightened users call support, to ask what is this and what shall I do with this. And yes, this is no joke. Any quick sql query to delete from database all messages for all users (envelopes and bodies) with particular SUBJECT header? or for particular user? I'd rather to delete the messages, than delete envelope and let dbmail-util do the rest (it has enough to do with really deleted messages). Probably Net::POP3 perl script would do the same, but removing from tables would be much simplier. Regards, DT -- View this message in context: http://www.nabble.com/Annoying-%22DONT-DELETE-THIS-MESSAGE%22-with-previously-used-imap-inbox-folder-tp24619758p24619758.html Sent from the dbmail users mailing list archive at Nabble.com. ___ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
[Dbmail] auto replies / vacation messages
Hi All, What is the correct way to implement out of office replies for dbmail 2.2? I see people on this list using sieve (vacation), but I've used an entry in dbmail_auto_replies, and I think (but am not sure) that I've seen that one work before. Anyway: It seems broken in the dbmail debian package version 2.2.10-1 +b1. Would upgrading to the 2.2.11-1etch0 package solve my problem? Greetz, Casper ___ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Re: [Dbmail] Annoying DONT DELETE THIS MESSAGE with previously used imap inbox folder
See dbmail-export man page. You want -D and -s with an imap search matching your subject. See the Exmaples section, and if you need help with the search string, either run it in your imap client and see what it uses, or ask back on the list. And you might use -u to restrict your tests to a specific user until you have it right. On Wed, 2009-07-22 at 23:01 -0700, Piotr Wadas wrote: Hello, When administrator migrates mbox folders to dbmail, in some of them is a imap message, common pop3/imap ignores it, but when migrated, this message appears on the list, and frightened users call support, to ask what is this and what shall I do with this. And yes, this is no joke. Any quick sql query to delete from database all messages for all users (envelopes and bodies) with particular SUBJECT header? or for particular user? I'd rather to delete the messages, than delete envelope and let dbmail-util do the rest (it has enough to do with really deleted messages). Probably Net::POP3 perl script would do the same, but removing from tables would be much simplier. Regards, DT -- Jesse Norell Kentec Communications, Inc. je...@kci.net ___ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Re: [Dbmail] Annoying DONT DELETE THIS MESSAGE with previously used imap inbox folder
On Donnerstag 23 Juli 2009 Piotr Wadas wrote: When administrator migrates mbox folders to dbmail, in some of them is a imap message, common pop3/imap ignores it, but when migrated, this message appears on the list, and frightened users call support, to ask what is this and what shall I do with this. And yes, this is no joke. Any quick sql query to delete from database all messages for all users (envelopes and bodies) with particular SUBJECT header? or for particular user? I'd rather to delete the messages, than delete envelope and let dbmail-util do the rest (it has enough to do with really deleted messages). Probably Net::POP3 perl script would do the same, but removing from tables would be much simplier. select * from dbmail_messages where physmessage_id IN (select physmessage_id from dbmail_subjectfield where subjectfield like 'Annoying%DELETE THIS MESSAGE%'); Instead of select * simply write DELETE and those messages are gone. mfg zmi -- // Michael Monnerie, Ing.BSc- http://it-management.at // Tel: 0660 / 415 65 31 .network.your.ideas. // PGP Key: curl -s http://zmi.at/zmi.asc | gpg --import // Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4 // Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4 ___ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Re: [Dbmail] auto replies / vacation messages
Casper Langemeijer wrote: Hi All, What is the correct way to implement out of office replies for dbmail 2.2? I see people on this list using sieve (vacation), but I've used an entry in dbmail_auto_replies, and I think (but am not sure) that I've seen that one work before. auto-reply and auto-notify has been removed from 2.3.x. The only way to do it is with sieve. You would need to use the vacation or notify method. Examples Below. Note that the true can be replaced with other ways of matching messages specifically. Rules to sort mailing list messages into other mailboxes should be first and include the stop command so that the vacation doesn't go back to the mailing list. Sieve scripts do not get updated if the mailbox is renamed, so if you rename a mailbox, you need to update the script as well. if anyof (header :contains [to, cc] dbmail@dbmail.org, header :contains [to, cc] dbmail-...@dbmail.org) { fileinto Lists/DBMAIL; stop; } if true { vacation :days 7 :addresses [vult...@netvulture.com] :subject On Vacation Until Forever text: I will look at your email when I get back. .. ; } if true { keep; notify :method mailto :options otherem...@domain.com :low :message You have received a message from $from$ with subject $subject$; } -- Scanned for viruses and dangerous content by MailScanner ___ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Re: [Dbmail] Annoying DONT DELETE THIS MESSAGE with previously used imap inbox folder
Michael Monnerie wrote: select * from dbmail_messages where physmessage_id IN (select physmessage_id from dbmail_subjectfield where subjectfield like 'Annoying%DELETE THIS MESSAGE%'); Instead of select * simply write DELETE and those messages are gone. mfg zmi I'm glad you responded first. I forgot about those views and was going to give a very nasty query back to do it. That should work in both 2.2.x and 2.3.x -Jon -- Scanned for viruses and dangerous content by MailScanner ___ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
Re: [Dbmail] Annoying DONT DELETE THIS MESSAGE with previously used imap inbox folder
On Donnerstag 23 Juli 2009 Jonathan Feally wrote: select * from dbmail_messages where physmessage_id IN (select physmessage_id from dbmail_subjectfield where subjectfield like 'Annoying%DELETE THIS MESSAGE%'); Instead of select * simply write DELETE and those messages are gone. mfg zmi I'm glad you responded first. I forgot about those views and was going to give a very nasty query back to do it. That should work in both 2.2.x and 2.3.x :-) Please anybody doing above query be reminded to change the Subject you are searching for - otherwise you delete all mails belonging to this thread ;-) My advise is to make the select first to see if it works, and only afterwards change it to delete. mfg zmi -- // Michael Monnerie, Ing.BSc- http://it-management.at // Tel: 0660 / 415 65 31 .network.your.ideas. // PGP Key: curl -s http://zmi.at/zmi.asc | gpg --import // Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4 // Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4 signature.asc Description: This is a digitally signed message part. ___ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail