Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Merge Inboxes?

Discussion in 'General Discussion' started by Devil Inside, May 13, 2004.

  1. Devil Inside

    Devil Inside Well-Known Member

    Joined:
    Apr 4, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    166
    I have 2 problems -

    The first being that in neomail - the default folder is the INBOX

    However, the INBOX is not displaying the received messages that are located in the inbox. Which is should do.

    The next problem - well not a problem but.....

    Does anyonek now of a way to merge 2 inboxes together.

    Example -
    account A has an inbox with 5 messages.
    account B has an inbox with 5 messages.

    I'd like to take B's inbox and MERGE it with A's inbox.

    Output--
    account A has an inbox with 10 messages.
    account B - I don't really care what happens to it as long as A has the messages.

    Is this possible?
    TIA
     
  2. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    7
    Trophy Points:
    318
    Location:
    back woods of NC, USA
    should be possible. what you need is a command line for combining files. The inbox files are just flat text files. There should be a way to add the contents of one file to another. I don't know the syntax but would be nice to know what it is. Anyway ..that's what you need to do.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    7
    Trophy Points:
    318
    Location:
    back woods of NC, USA
    this might work.

    # cat /home/user/mail/domain/emailsuer1/inbox /home/user/mail/domain/emailuser2/inbox > /home/user/mail/domain/emailsuer1/inbox


    That should combine both inbox files to the emailuser1 file.

    # cat file1 file2 > total_file_name_here
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Devil Inside

    Devil Inside Well-Known Member

    Joined:
    Apr 4, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    166
    Thanks!

    - I'll give this a shot later and let you know how it goes.

    TDI
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice