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.

What manages /etc/queuedomains?

Discussion in 'E-mail Discussions' started by jnetsurfer, May 16, 2013.

  1. jnetsurfer

    jnetsurfer Member

    Joined:
    Feb 20, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Emails to my domain were being delayed. I discovered in the Exim mainlog the error message: domain or user is in the queue only list. Message queued.

    Upon further investigation it was clear that the following section of /etc/exim.conf was responsible for that:

    Code:
    queueonly:
        driver = redirect
        domains = +queue_domains
        condition = ${if eq {$domain}{$primary_hostname}{${if eq {${lookup passwd{$local_part}{$value}}}{}{1}{0}}}{1}}
        allow_defer
        data = :defer: domain or user is in the queue only list.  Message queued
    
    It looks like this will run if the domain is listed in /etc/queuedomains

    Is this a new feature? I am not familiar with the file /etc/queuedomains. What process manages this file? Is there a setting in Webhost Manager that controls which domains get listed in /etc/queuedomains?
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    This only populated when a user is inside of virtfs for local domains on the server that exist outside the jail. This allows exim to queue the message so the delivery agent outside the jail can access it and deliver it to the proper user which would not be accessible in the jail.
     
  3. jnetsurfer

    jnetsurfer Member

    Joined:
    Feb 20, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Nick!

    That confuses me somewhat though because the user in question is not jailed. It's my account and I have full root access and full shell access... The problem only happens intermittently.

    My gut feeling was it had to do with the 25% over the "max emails per hour" setting. The server is set to a default max of 1000 emails per hour per domain, but my domain has the overridden to "unlimited". My hunch was that this override was not working.

    Do any other features (like the "max emails per hour" setting) make use of /etc/queuedomains?

     
  4. jnetsurfer

    jnetsurfer Member

    Joined:
    Feb 20, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Upon further investigation, I am getting the message "domain or user is in the queue only list. Message queued" even when /etc/queuedomains is empty. I was watching the exim_mainlog and as soon as I saw "domain or user is in the queue only list. Message queued" I executed a `cat /etc/queuedomains` in a second terminal and it was 0 bytes. So something else is at play here.

    I suspect I should submit a support request; this doesn't appear to be correct behavior to me.
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Please do submit a support requesting using the link in my signature. If you post the # here I'll be happy to take a look as well.
     
  6. jnetsurfer

    jnetsurfer Member

    Joined:
    Feb 20, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Nick! I submitted support request #4123407
     
  7. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Note case 68457 removed this system in favor of connecting to localhost to deliver messages to users outside the jail in order to avoid the delay.
     
  8. jnetsurfer

    jnetsurfer Member

    Joined:
    Feb 20, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Awesome. Thank you so much for taking care of this Nick! Works great for me now.
     
Loading...

Share This Page