Skip to main content

Cpanel Mail queue manager show old messages

Comments

21 comments

  • quietFinn

    Seems you are using MailScanner, so the correct command to show emails in the queue is:
    /usr/sbin/exim -bpc -C /etc/exim_outgoing.conf

    I'd suggest that you use ConfigServer Mail Queues (cmq)
    https://configserver.com/configserver-mail-queues-cmq/


     

    0
  • Pietro Leone

    thanks for your help.

    you are right , now i can watch the emails in queue also on command line and it looks equal on cmq GUI.

    so the only problem here is that i cannot forward or delete it

    0
  • cPRex Jurassic Moderator

    If you search the Exim log directly in /var/log/exim_mainlog are you able to see the message there?

    0
  • Pietro Leone

    i only found this:

     

    [XXX@XXX]# grep -ir "1rxUOr-00000000xYo-1zvR" /var/log/exim_mainlog


    2024-04-21 17:26:30 cwd=/usr/local/cpanel/whostmgr/docroot 6 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -v -Mrm 1rxUOr-00000000xYo-1zvR
    2024-04-21 17:26:30 1rxUOr-00000000xYo-1zvR Spool file 1rxUOr-00000000xYo-1zvR-D not found
    2024-04-22 08:53:09 cwd=/usr/local/cpanel/whostmgr/docroot 6 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -v -Mrm 1rxUOr-00000000xYo-1zvR
    2024-04-22 08:53:09 1rxUOr-00000000xYo-1zvR Spool file 1rxUOr-00000000xYo-1zvR-D not found
    2024-04-22 08:53:29 cwd=/usr/local/cpanel/whostmgr/docroot 6 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -v -Mrm 1rxUOr-00000000xYo-1zvR
    2024-04-22 08:53:29 1rxUOr-00000000xYo-1zvR Spool file 1rxUOr-00000000xYo-1zvR-D not found
    2024-04-22 08:54:26 cwd=/usr/local/cpanel/whostmgr/docroot 5 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -Mrm 1rxUOr-00000000xYo-1zvR
    2024-04-22 08:54:26 1rxUOr-00000000xYo-1zvR Spool file 1rxUOr-00000000xYo-1zvR-D not found
    2024-04-22 08:55:33 cwd=/usr/local/cpanel/whostmgr/docroot 6 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -v -Mrm 1rxUOr-00000000xYo-1zvR
    2024-04-22 08:55:33 1rxUOr-00000000xYo-1zvR Spool file 1rxUOr-00000000xYo-1zvR-D not found
    2024-04-22 11:54:34 cwd=/usr/local/cpanel/whostmgr/docroot 6 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -v -Mrm 1rxUOr-00000000xYo-1zvR
    2024-04-22 11:54:34 1rxUOr-00000000xYo-1zvR Spool file 1rxUOr-00000000xYo-1zvR-D not found
    2024-04-23 14:13:27 cwd=/usr/local/cpanel/whostmgr/docroot 6 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -v -Mrm 1rxUOr-00000000xYo-1zvR
    2024-04-23 14:13:27 1rxUOr-00000000xYo-1zvR Spool file 1rxUOr-00000000xYo-1zvR-D not found
    2024-04-23 14:13:45 cwd=/usr/local/cpanel/whostmgr/docroot 5 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -Mvh 1rxUOr-00000000xYo-1zvR
    2024-04-23 14:13:45 cwd=/usr/local/cpanel/whostmgr/docroot 5 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -Mvb 1rxUOr-00000000xYo-1zvR
    2024-04-23 19:52:34 cwd=/usr/local/cpanel/whostmgr/docroot 6 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -v -Mrm 1rxUOr-00000000xYo-1zvR
    2024-04-23 19:52:34 1rxUOr-00000000xYo-1zvR Spool file 1rxUOr-00000000xYo-1zvR-D not found

    0
  • cPRex Jurassic Moderator

    It would seem that message has been removed.  Is there still a problem related to that mail ID?

    0
  • Pietro Leone

    not a big problem but it is still on queue manager

     

     

    and if i try to remove of course i can't.....

    LOG: MAIN
      cwd=/usr/local/cpanel/whostmgr/docroot 6 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -v -Mrm 1rxUOr-00000000xYo-1zvR
    LOG: MAIN
      Spool file 1rxUOr-00000000xYo-1zvR-D not found
    Spool data file for 1rxUOr-00000000xYo-1zvR does not exist
    Continuing, to ensure all files removed
    Spool read error for 1rxUOr-00000000xYo-1zvR-H: No such file or directory
    Continuing to ensure all files removed
    Message 1rxUOr-00000000xYo-1zvR has been removed or did not exist

    0
  • cPRex Jurassic Moderator

    You can manually delete the message from the queue with this command:

    exim -Mrm 1rxUOr-00000000xYo-1zvR

     

    0
  • Pietro Leone

    i can't

     

    # exim -Mrm 1rxUOr-00000000xYo-1zvR
    Spool data file for 1rxUOr-00000000xYo-1zvR does not exist
    Continuing, to ensure all files removed
    Spool read error for 1rxUOr-00000000xYo-1zvR-H: No such file or directory
    Continuing to ensure all files removed
    Message 1rxUOr-00000000xYo-1zvR has been removed or did not exist
    0
  • cPRex Jurassic Moderator

    It looks like the message is gone then.  Where are you still seeing it?

    0
  • Pietro Leone

     it is still on cpanel queue manager.. look at the picture up !

    thanks

    0
  • cPRex Jurassic Moderator

    It would be best to create a ticket for this issue at this point so we can check the server.

    0
  • Radeonpower

    I'm having this problem as well. Someone told me this has something to do with the upgrade of Exim to 4.97.

    0
  • cPRex Jurassic Moderator

    Radeonpower - it is related to the Exim update.  Are you also using Mailscanner?

    0
  • Radeonpower

    cPRex yes indeed. :)

    0
  • cPRex Jurassic Moderator

    You'll need to update Mailscanner in order to resolve this, as the latest version works properly with the Exim update.  Once Mailscanner is updated I'd expect things to work well.

    0
  • Radeonpower

    I'm already using the latest version provided by Configserver. I guess I have to wait for them to update it.

    Thanks!

    You are running the latest version of the ConfigServer MailScanner Script (v5.10). An Upgrade button will appear here if a new version becomes available

    0
  • cPRex Jurassic Moderator

    Another user had to remove it and reinstall in order to get that working - he posted some details in another thread earlier today:

    https://support.cpanel.net/hc/en-us/community/posts/23215082541463/comments/23285249356311

    1
  • Radeonpower

    Thanks alot. :)

    0
  • cPRex Jurassic Moderator

    Sure thing!

    0
  • Pietro Leone

    Hello ,

    this is the reply of configserver support. IT WORKS FOR ME

     

    If the emails are still showing in ConfigServer MailQueues it is because the spool files exist in the wrong directory (due to the exim upgrade). The only way to remove them is to find the exact corresponding files in /var/spool/exim/input/ (search the subdirectories) and delete them. 

     

    Regards

     

    1
  • Radeonpower

    Thanks Pietro, this is the easiest way to get rid of them. Took me 10sec's to find and delete them. No need to "remove and reinstall" like pointed out in this forumpost https://support.cpanel.net/hc/en-us/community/posts/23215082541463/comments/23285249356311.

    Thank you.

    0

Please sign in to leave a comment.