Second mail queue in template

Djunity

Verified User
Joined
Mar 9, 2008
Messages
243
Location
Holland
Hi all,

As mailscanner uses 2 separate exim confs and mail queue's one for incomming and one for outgoing mail in the admin level you can now only see the outgoing queue.

Is it possible to also add the incomming queue or even better add an exact copy of the mail queue page but then with the incomming queue ?
 
Hello,

Directadmin officially does not support mailscanner, so I'd guess you are mostly on your own here to achieve the desired. I'm not sure why you need two separate exim confs, but if so, why don't you symlink exim queue pools if they are located on your server in different places (not even sure whether it would work or not, just an idea)?
 
Hello,

Directadmin officially does not support mailscanner, so I'd guess you are mostly on your own here to achieve the desired. I'm not sure why you need two separate exim confs, but if so, why don't you symlink exim queue pools if they are located on your server in different places (not even sure whether it would work or not, just an idea)?

Hi Alex im not having issues with the install and config on this setup got it working like a charm, the reason for the to exim confs is basicly becouse you have 2 set of pools and need to point exim to the right pool either incomming or sending pool in exim conf you define the right pool for the incomming mail outgoing is just default.

Becouse of the 2 pools i would like to create a second page in the admin level to show the second pool but i have no experience with the template system yet so wanted to know how and where to start or know where i can change the variables maybe to achief what i need
 
Ahh, well if you want a web-interface to work with the second queue pool, then you might want to try this PHP script http://www.hochstrasser.org/wiki/pmwiki.php/Linux/EximAdm (which of course can be integrated into Directadmin). I use the script with minor modifications on some of the servers which have no Directadmin installed.

Hi alex

Thanks for the tip of this script makes my live easy'r gona have a loop and see if i can get it into the skin of da that will be the the hard part for me :p
 
Hi Alex,

Well got thew script in da template for about 80% now only got problems with exec() not sure why but thinks its either php cant call exec(); or plain simple file rights problem
 
Check the system php.ini, I'd guess it has exec in disable_functions list. And of course you might need a wrapper, as by default directadmin runs PHP scripts and plugins from name of unprivileged user, but you need it to run it under root.
 
That was my guess to, you wrote me a wrapper once before can use that one.

what i dont know is how to call is from php stry'd using exec() aka
exec(getenv("DOCUMENT_ROOT")."/da-wrapper -C /etc/exim_send.conf -bp")
but that wont do the trick either but when using the wrapper from shell it does work and shows me the queue content

and exec is not in the ini disable list
 
Back
Top