Search results

  1. S

    Solved Disable certain options in all packages to be created

    Do you happen to know how or if it's possible to overwrite variables in the pre scripts? For example, putting: nemailml=0 in the package_write_pre.sh bash script, the expected behavior would be that the package would be created with 0 mailing lists, regardless of what was entered in the form...
  2. S

    Solved Disable certain options in all packages to be created

    I just wish there was an override file, i.e. /usr/local/directadmin/data/users/%reseller%/default_package_limits.conf Such that an API call to /CMD_SHOW_USER_PACKAGE would read that file to grab package item limits and enabled/disabled items. The absence of the override file or the absence of...
  3. S

    Solved Disable certain options in all packages to be created

    From what I am able to tell no ${user} or ${username} is passed to package_write_pre.sh You have to "guess" at the reseller's username by the ${package_filename} variable: THEUSER="$(echo "${package_filename}" | cut -d / -f 4)" Still... this is a less than ideal solution if you ask me...
  4. S

    Reseller restrictions not being observed in reseller package creation

    Well... I think you (or I) are confusing over what I classify as "allocation" based resellers and "usage" based resellers. Allocation based resellers are governed by how much they allocate - how much total disk space and bandwidth they are allowed to give out to their accounts. If a reseller...
  5. S

    Solved Disable certain options in all packages to be created

    I'm not finding this to be true. Although, I suppose "disable" and "option" may have different meanings here. From the admin panel when creating a reseller, if I set that reseller to have 0 mailing lists - what I'd consider "disabling" the mailing list "option": But then log into the...
  6. S

    Solved Disable certain options in all packages to be created

    I think this is some what related to my inquiry at: https://forum.directadmin.com/threads/reseller-restrictions-not-being-observed-in-reseller-package-creation.68330/ It looks like this information is being parsed from a /CMD_SHOW_USER_PACKAGE API call. But I don't know how to tell...
  7. S

    Reseller restrictions not being observed in reseller package creation

    If the admin user creates a Reseller and gives that Reseller, say 0 Mailing Lists. The Reseller is still able to create packages in their panel with a Mailing List number. Is this the expected behavior? Additionally, resellers with a non-unlimited disk space and bandwidth limits are allowed...
  8. S

    Reseller Stats Widget Allocated vs. Usage

    Well... if overselling is not enabled - then the governing control of the reseller account is how much is allocated. Isn't it? This reseller has 10GB of disk space to allocate out. Is the reseller really concerned with how much actual disk usage is being used by his accounts or how much more...
  9. S

    Reseller Stats Widget Allocated vs. Usage

    If a reseller does not have overselling enabled (i.e. oversell=OFF in /usr/local/directadmin/data/users/%user%/reseller.conf), then should the Reseller Stats widget when the user logs into the reseller panel show Diskspace and Bandwidth Allocated out instead of what is actually used? For...
  10. S

    Reseller creating Login Keys - ALL_ADMIN

    When creating a Login Key in a for a user with Reseller privileges, I noticed the Commands block lists ALL_ADMIN as an option. Should this be listed here? The Reseller isn't an Admin. I don't think the reseller has significant privileges to execute anything as admin even with this option...
  11. S

    exim sending mail -> "Connection timed out"

    Hmm, that would appear to be a non-standard kernel. Did you recently update the kernel? There was discussion about a similar issue with Debian last year, looks like that was the 5.17 kernel. https://www.chromosphere.co.uk/2022/06/01/googles-tcp-fast-open-breaks-exim-delivery/...
  12. S

    exim sending mail -> "Connection timed out"

    What distribution are you using? cat /etc/os-release What kernel version are you running on? uname -r By chance does disabling TCP Window Resizing fix anything? sysctl net.ipv4.tcp_window_scaling=0 Probably don't want to leave that disabled, to re-enable after you've verified if it fixes...
  13. S

    exim sending mail -> "Connection timed out"

    Try clearing out your Exim connection databases: rm -f /var/spool/exim/db/* That will force Exim to attempt another retry for gmail.com I'd love to know what the solution is to all of this if you ever get it fixed. I'd like to know what I'm not thinking of. This isn't by chance an openssl...
  14. S

    exim sending mail -> "Connection timed out"

    Grasping at straws here... Hard to diagnose something that I can't put my hands on. You haven't by chance changed the default port that your remote_smtp router connects to? cat /etc/exim.conf | grep -A10 "^remote_smtp:" Or in any of the other exim include files? grep -r "port.*=" /etc/exim*...
  15. S

    exim sending mail -> "Connection timed out"

    While I'm not exactly sure that having two running Exim's is really your issue - it's still something that needs to be resolved. You would need to figure out why you've got two running Exims. Not really sure how to tell you do that. What version of Exim are you running? /usr/sbin/exim -bV...
  16. S

    exim sending mail -> "Connection timed out"

    What user is exim running as? ps aux | grep exim It should be the mail user. If it's not the mail user, then that would need to be investigated. Can you still connect to 74.125.200.27 on port 25 as root? telnet 74.125.200.27 25 If so, then change to the mail user: su -s /bin/bash - mail...
  17. S

    commands.deny for resellers

    Is the file /usr/local/directadmin/data/users/%user%/commands.deny read in the reseller panel? Is there another commands.deny file specifically for the reseller panel? I've noticed that adding commands to this file, i.e. CMD_EDIT_USER_MESSAGE doesn't prevent the reseller from accessing that...
  18. S

    Licensing restrictions on personal/personal plus discourage cybersecurity best practices

    Well keep in mind, if the one server administrator gets incapacitated in some way then depending on who can legally execute decisions on that person's behalf, the server itself can always be rebooted into single user mode - where a new root password can be established without having to know the...
  19. S

    Licensing restrictions on personal/personal plus discourage cybersecurity best practices

    But giving blanket root access to any user with sudo is still akin to giving that user full root privileges. What happens if the bad actor does all of his bad stuff and then issues a: echo -n | sudo tee /var/log/auth.log (Note: don't run this command because it will clear out your...
  20. S

    Licensing restrictions on personal/personal plus discourage cybersecurity best practices

    While this probably goes beyond the scope of this forum, is there any particular reason why you are tied to DirectAdmin? There are other control panels with administrative capabilities out there not named DirectAdmin. Some may even be free.
Back
Top