Retrieve mail status as user directadmin or by php

This is it

Verified User
Joined
Feb 12, 2017
Messages
26
I want to retrieve mail status, as user directadmin or preferred by php.
If mail status is not Completed with Exim. I want to do this programmly to better log email activity/deliverbility. I know i can see the email status by id with user/email/usage but thats not what i am looking for.

Any thoughts?
 
There is a tracking feature in DA: user/email/tracking . But I dont know programmly.
 
i use Internal Bulk Lifetime (Approved Accounts Only), it doesnt seem to have pro pack

When i access /var/log/ with sftp (root or user) i cant either download the mail logs, access denied, if i check permission of the log, is says user 0 and group 0
 
Last edited:
i use Internal Bulk Lifetime
All lifetime licenses (so also internal) are legacy licenses, so no pro pack and no mail tracking. Unless you were one of the lucky ones which had a pro pack subscribtion before, but seems you didn't. And those are not available anymore.

I don't know about SFTP. For one you have to be logged in as root, so that should be possible.
I would just either visit the logs via SSH, or copy them to for example a directory in your account, preferable below public_html so you can download them from there.
For example create a /home/user/download directory and then copy the log files there. You should be able to download them with normal ftp. And since they are not above public_html, they are not reachable from outside.
 
it weird, because CSF Firewall still can read log file inside (/var/log),

what's your OS ? and how do you access root user ?

In debain or ubuntu, their have extra root account that create seperate from root account but it working likely real root account. But there have difference permission between "root" account and "extra root" account.
 
it depend on which provider using method to give your VPS. When install OS from ISO,, there have option to create another user that act as second root account without enable real root account.
Can access via cmd as "sudo - su" to get root permission.

This method recommended by Debian/Ubuntu.
 
All lifetime licenses (so also internal) are legacy licenses, so no pro pack and no mail tracking. Unless you were one of the lucky ones which had a pro pack subscribtion before, but seems you didn't. And those are not available anymore.

I don't know about SFTP. For one you have to be logged in as root, so that should be possible.
I would just either visit the logs via SSH, or copy them to for example a directory in your account, preferable below public_html so you can download them from there.
For example create a /home/user/download directory and then copy the log files there. You should be able to download them with normal ftp. And since they are not above public_html, they are not reachable from outside.
its not possible to access from user account the /var/log dir
 
The email usage of user directadmin account has all the necessary information, this should be somehow be accessible and retrievable outside directadmin.
 
its not possible to access from user account the /var/log dir
No ofcourse not, otherwise they would be able to see all users logs. They can only see their own weblogs.
As for other comment, I don't agree on that of out safety and privacy considerations, and don't know of a way to access it from outside, unless via SSH. Maybe somebody else has a way.
Or by using a script which places it in an accessible directory or something. I don't know.
 
Back
Top