Results 1 to 4 of 4

Thread: Mail Queue Disappeared

  1. #1
    ksoviero is offline Intermediate Member
    Join Date
    Jun 2010
    Posts
    23
    Rep Power
    5

    Question Mail Queue Disappeared

    Code:
    System Info:
    
    Description: Ubuntu 10.04.4 LTS
    
    Linux mail 2.6.32-42-server #95-Ubuntu SMP Wed Jul 25 16:10:49 UTC 2012 x86_64 GNU/Linux
    
    H/W path          Device      Class      Description
    ====================================================
                                  system     Bochs
    /0                            bus        Motherboard
    /0/0                          memory     96KiB BIOS
    /0/401                        processor  QEMU Virtual CPU version 1.0.50
    /0/402                        processor  CPU
    /0/1000                       memory     2GiB System Memory
    /0/1000/0                     memory     2GiB DIMM RAM
    /0/100                        bridge     440FX - 82441FX PMC [Natoma]
    /0/100/1                      bridge     82371SB PIIX3 ISA [Natoma/Triton II]
    /0/100/1.1        scsi1       storage    82371SB PIIX3 IDE [Natoma/Triton II]
    /0/100/1.1/0.0.0  /dev/cdrom  disk       DVD reader
    /0/100/1.2                    bus        82371SB PIIX3 USB [Natoma/Triton II]
    /0/100/1.3                    bridge     82371AB/EB/MB PIIX4 ACPI
    /0/100/2                      display    GD 5446
    /0/100/a                      storage    Virtio block device
    /0/100/12                     network    Virtio network device
    /1                eth0        network    Ethernet interface
    I accidentally installed Postfix from APT onto our Zimbra email server virtual machine (Proxmox VE 2.1). I purged it instantly, however, it did not help. The following are the steps I took in a desperate attempt to fix it:

    • Reinstalled ("Upgraded") Zimbra in place.
    • Stopped Zimbra service
    • Code:
      chown -R zimbra:zimbra /opt/zimbra
    • Code:
      /opt/zimbra/libexec/zmfixperms -verbose -extended
    • Start Zimbra service
    • Code:
      su -l zimbra
    • Code:
      zmsshkeygen
    • Code:
      zmupdateauthkeys


    Following the steps above, Zimbra now works again, the problem is that all the emails that were in the mail queue from a whole day of broken Zimbra, are now GONE! And I don't just mean that you can't see them in the GUI, they're not even on the file system anymore.

    There were at least 75 emails that were in the queue when I attempted to fix Zimbra, and this is the state of the spool now:

    Code:
    # tree /opt/zimbra/data/postfix/spool/
    /opt/zimbra/data/postfix/spool/
    ├── active
    ├── bounce
    ├── corrupt
    ├── defer
    │** ├── 0
    │** ├── 1
    │** ├── 2
    │** │** └── 2E04FA07E0
    │** ├── 3
    │** │** └── 367B3A0849
    │** ├── 4
    │** ├── 5
    │** ├── 6
    │** ├── 7
    │** ├── 8
    │** ├── 9
    │** ├── A
    │** ├── B
    │** │** └── B9053A07F3
    │** ├── C
    │** ├── D
    │** │** └── DA669A07E9
    │** ├── E
    │** └── F
    ├── deferred
    │** ├── 0
    │** ├── 1
    │** ├── 2
    │** ├── 3
    │** ├── 4
    │** ├── 5
    │** ├── 6
    │** ├── 7
    │** ├── 8
    │** ├── 9
    │** ├── A
    │** ├── B
    │** ├── C
    │** ├── D
    │** ├── E
    │** └── F
    ├── flush
    ├── hold
    ├── incoming
    ├── maildrop
    ├── pid
    │** ├── inet.127.0.0.1:10025
    │** ├── inet.465
    │** ├── inet.smtp
    │** ├── inet.submission
    │** ├── master.pid
    │** ├── unix.bounce
    │** ├── unix.cleanup
    │** ├── unix.defer
    │** ├── unix.error
    │** ├── unix.lmtp
    │** ├── unix.retry
    │** ├── unix.showq
    │** ├── unix.smtp
    │** └── unix.smtp-amavis
    ├── private
    │** ├── anvil
    │** ├── bounce
    │** ├── bsmtp
    │** ├── cyrus
    │** ├── defer
    │** ├── discard
    │** ├── error
    │** ├── ifmail
    │** ├── lmtp
    │** ├── local
    │** ├── maildrop
    │** ├── old-cyrus
    │** ├── proxymap
    │** ├── relay
    │** ├── retry
    │** ├── rewrite
    │** ├── scache
    │** ├── smtp
    │** ├── smtp-amavis
    │** ├── tlsmgr
    │** ├── trace
    │** ├── uucp
    │** ├── verify
    │** └── virtual
    ├── public
    │** ├── cleanup
    │** ├── flush
    │** ├── pickup
    │** ├── qmgr
    │** └── showq
    ├── saved
    └── trace
    
    46 directories, 47 files
    Where the heck did all my emails go!?

  2. #2
    ksoviero is offline Intermediate Member
    Join Date
    Jun 2010
    Posts
    23
    Rep Power
    5

    Default

    Status Update:

    It appears that the missing email had made it into the mail store (/opt/zimbra/store), but not into the individual accounts. I have found all of my missing email in the mail store.

    The current problem is that I need a way to get them into their respective inboxes... Any ideas?

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,480
    Rep Power
    56

    Default

    Quote Originally Posted by ksoviero View Post
    The current problem is that I need a way to get them into their respective inboxes... Any ideas?
    Search the forums and wiki for "zmlmtpinject".
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    ksoviero is offline Intermediate Member
    Join Date
    Jun 2010
    Posts
    23
    Rep Power
    5

    Default

    Thank you!
    That worked perfectly.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Options tab (composing mail) disappeared
    By ewan in forum Administrators
    Replies: 4
    Last Post: 01-05-2012, 08:34 PM
  2. Options tab (composing mail) disappeared
    By ewan in forum Installation
    Replies: 0
    Last Post: 01-04-2012, 09:04 PM
  3. Replies: 7
    Last Post: 11-21-2011, 01:21 AM
  4. Mail Queue Down
    By ocbineesh in forum Installation
    Replies: 1
    Last Post: 03-06-2010, 05:06 AM
  5. some mail in the queue
    By hoangnam8484 in forum Administrators
    Replies: 2
    Last Post: 10-21-2009, 06:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •