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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Force forwarding of old mail

Discussion in 'E-mail Discussions' started by krembo99, Jan 1, 2017.

  1. krembo99

    krembo99 Member

    Joined:
    May 30, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Due to a wrong and faulty migration process, We now have some accounts that presumably have old mails that were not correctly forwarded ( by existing forwarders ) ...

    Is there a way to force the forwarders to deliver mails that were received by the mailbox 2 or 3 months ago , but keep the original data ( like sent from , date ) ?

    What exactly is the time span in which the forwarder tried to push an incoming mail ?

    To better illustrate my question :

    Scenario I
    1. Assume a mail account mail@account.tld , with a functioning forwarder setup to mail@googleaccount.com.
    2. This account , during a migration process , is setup correctly , but the forwarder is faulty or not setup ....
    3. The account continue to receive and send mail correctly, but the forwarder is not working .
    4. After some time period ( 2 - 3 month ) the problem is detected .
    5. Now potentially ( not known ) we have a the mail@account.tld full with ( pseudo new ) mails that were not forwarded to mail@googleaccount.com.
    Scenario II
    1. Assume a mail account mail@account.tld, without forwarding.
    2. After a period of time the the client wants to set a forwarding and forward all the (new - unread ) mails to a new account mail@googleaccount.com .
    Both scenarios are similar and the question is -

    Is there a method ( script, function, feature ) to force the mailbox to forward the unread mail, as is , but in a much later date ??
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,765
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Assuming the mail is no longer in the mail queue, no. You'd have to resend them from the inbox they ended up in.
     
  3. krembo99

    krembo99 Member

    Joined:
    May 30, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ok.. Thanks for the quick reply .
    So now i have other 2 questions :
    1. How can i check / verify the queue ? Where is it stored ( file ? Db ? )
    2. Is it possible to manually ( or script ) modify the queue or force it ?
    I would rather forward the whole box again, even if it results in duplicates , than having some mails not forwarded..

    Those are client mailboxes .. Not mine - and there are maybe 70 of them - so manually accessing each one is not really a viable option.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,765
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You can find the Mail Queue Manager here:
    WebHost Manager »Email »Mail Queue Manager
     
  5. krembo99

    krembo99 Member

    Joined:
    May 30, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Is there any way to (manually ) see per account queue from a cpanel account / Ftp / file manager / ssh , and not from the whm ui ?

    Where exactly does it resides on the system ? Is the queue a file ? A collection of files ? A folder ? Db entry ?
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,765
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    There is no way to view mail queue per account that I'm aware of. If this is empty:
    WebHost Manager »Email »Mail Queue Manager

    There is no mail in queue.

    Please feel free to open a ticket for more specific assistance with this to get it resolved.
     
Loading...

Share This Page