What manages /etc/queuedomains?

jnetsurfer

Member
Feb 20, 2004
20
0
151
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?
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,488
35
158
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.
 

jnetsurfer

Member
Feb 20, 2004
20
0
151
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?

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.
 

jnetsurfer

Member
Feb 20, 2004
20
0
151
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.
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,488
35
158
cPanel Access Level
DataCenter Provider
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.
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.
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,488
35
158
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.