Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-22 Thread Michael Monnerie
On Montag 20 Juli 2009 Jonathan Feally wrote: Perhaps we should have a status column on dbmail_users like we have on messages. 0 = disabled 1 = enabled 2 = deleted 3 = purge ok Then on the dbmail-util run it will moved deleted to purge  - then really delete the purge like we do with

Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-21 Thread Robert C. Sheets
On 7/20/2009 5:40 PM, Jonathan Feally wrote: Perhaps we should have a status column on dbmail_users like we have on messages. 0 = disabled 1 = enabled 2 = deleted 3 = purge ok Then on the dbmail-util run it will moved deleted to purge - then really delete the purge like we do with

Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-21 Thread Jorge Bastos
On 7/20/2009 5:40 PM, Jonathan Feally wrote: Perhaps we should have a status column on dbmail_users like we have on messages. 0 = disabled 1 = enabled 2 = deleted 3 = purge ok Then on the dbmail-util run it will moved deleted to purge - then really delete the purge like we

Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-21 Thread Daniel Mejia
://www.nabble.com/URGENT%3A-Accidentally-delete-mail-user-with-dbmail-users--d-tp24568228p24599349.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

[Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-20 Thread Daniel Mejia
!! Sincerely, Daniel -- View this message in context: http://www.nabble.com/URGENT%3A-Accidentally-delete-mail-user-with-dbmail-users--d-tp24568228p24568228.html Sent from the dbmail users mailing list archive at Nabble.com. ___ DBmail mailing list DBmail

Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-20 Thread Daniel Urstöger
Hi Daniel, as long as you do not run dbmail-util the messages are still in the database. I guess you can restore them by connecting them to a new/existing user, but that will require fidling in the database directly. afaik there is no undelete in dbmail, so, you have to do the dirty work

Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-20 Thread Daniel Mejia
. afaik there is no undelete in dbmail, so, you have to do the dirty work yourself. btw: what version of dbmail are you running? 2.2 or 2.3? greetings, Daniel -- View this message in context: http://www.nabble.com/URGENT%3A-Accidentally-delete-mail-user-with-dbmail-users--d

Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-20 Thread Daniel Urstöger
Hi Daniel, well, let´s take a look, do you know which user id the user had you deleted? mailbox_idnr would actually be even better, but I guess you have no clue about that, right? greetings, Daniel ___ DBmail mailing list DBmail@dbmail.org

Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-20 Thread Daniel Mejia
, well, let´s take a look, do you know which user id the user had you deleted? mailbox_idnr would actually be even better, but I guess you have no clue about that, right? greetings, Daniel -- View this message in context: http://www.nabble.com/URGENT%3A-Accidentally-delete-mail-user

Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-20 Thread Daniel Urstöger
Hi Daniel, well the mailboxes also got deleted, I guess, so you can look in the table messgages for entries with deleted_flag set to 1 and those should be the messages. greetings, Daniel ___ DBmail mailing list DBmail@dbmail.org

Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-20 Thread Daniel Mejia
for entries with deleted_flag set to 1 and those should be the messages. greetings, Daniel -- View this message in context: http://www.nabble.com/URGENT%3A-Accidentally-delete-mail-user-with-dbmail-users--d-tp24568228p24569771.html Sent from the dbmail users mailing list archive

Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-20 Thread Daniel Urstöger
Hi there, well you create a new user, see what mailbox_idnr his INBOX has, and then you connect the messages with deleted_flag to that mailbox. After that you set the deleted_flag to 0 and well, there should be your messages. greetings, Daniel ___

Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-20 Thread Paul Stevens
Daniel Mejia wrote: Hi all, I have a VERY HUGE problem.. I have accidentally deleted a user with the command # dbmail-users -d x...@xxx.xxx Is there any way to restore the user back with all his emails? Please help, I am in big trouble if this is an irreversible action! Oops.

Re: [Dbmail] URGENT: Accidentally delete mail user with dbmail-users -d

2009-07-20 Thread Jonathan Feally
Perhaps we should have a status column on dbmail_users like we have on messages. 0 = disabled 1 = enabled 2 = deleted 3 = purge ok Then on the dbmail-util run it will moved deleted to purge - then really delete the purge like we do with messages. -Jon -- Scanned for viruses and dangerous