Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.105
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
etc /
mail /
Delete
Unzip
Name
Size
Permission
Date
Action
spamassassin
[ DIR ]
drwxr-xr-x
2025-02-25 05:54
Makefile
92
B
-rw-r--r--
2023-09-26 17:19
access
469
B
-rw-r--r--
2023-09-26 17:19
access.db
12
KB
-rw-r-----
2025-02-25 04:00
aliasesdb-stamp
0
B
-rw-r--r--
2025-02-25 04:00
domaintable
233
B
-rw-r--r--
2023-09-26 17:19
domaintable.db
12
KB
-rw-r-----
2025-02-25 04:00
helpfile
5.46
KB
-rw-r--r--
2023-09-26 17:37
local-host-names
64
B
-rw-r--r--
2023-09-26 17:19
mailertable
997
B
-rw-r--r--
2023-09-26 17:19
mailertable.db
12
KB
-rw-r-----
2025-02-25 04:00
make
2.64
KB
-rwxr-xr-x
2023-09-26 17:19
sendmail.cf
58.56
KB
-rw-r--r--
2023-09-26 17:37
sendmail.mc
7.21
KB
-rw-r--r--
2023-09-26 17:19
submit.cf
41.62
KB
-rw-r--r--
2023-09-26 17:37
submit.mc
1.04
KB
-rw-r--r--
2023-09-26 17:36
trusted-users
127
B
-rw-r--r--
2023-09-26 17:19
virtusertable
1.8
KB
-rw-r--r--
2023-09-26 17:19
virtusertable.db
12
KB
-rw-r-----
2025-02-25 04:00
Save
Rename
#!/usr/bin/sh # Generate db and cf files if necessary. This used to be handled by # /etc/mail/Makefile. teste() { if ! test -e "$1"; then echo "$1 doesn't exist" exit 2 fi } makedb() { teste "${1%.db}" if [ -z "$SM_FORCE_DBREBUILD" ]; then test "${1%.db}" -nt "$1" || return 0 fi if [ "$1" = userdb.db ]; then makemap btree "$1" < "${1%.db}" else makemap hash "$1" < "${1%.db}" fi } makealiasesdb() { uptodate=1 if [ -z "$SM_FORCE_DBREBUILD" ]; then files=$(grep '^O AliasFile=' sendmail.cf | while read a; do echo ${a#*=}; done) for a in $files; do if [ "$a" = /etc/aliases ]; then # /etc/aliases.db may be used by other MTA, make sure nothing # has touched it since our last newaliases call test "$a" -nt "${a}.db" || test aliasesdb-stamp -nt "${a}.db" || test aliasesdb-stamp -ot "${a}.db" || continue else test "$a" -nt "${a}.db" || continue fi uptodate=0 break done else uptodate=0 fi [ $uptodate = 1 ] && return 0 # check if alternatives is configured to sendmail if [ "$(readlink -e /usr/bin/newaliases)" = /usr/sbin/sendmail.sendmail ] then /usr/bin/newaliases > /dev/null touch -r /etc/aliases.db aliasesdb-stamp 2> /dev/null else rm -f aliasesdb-stamp fi } makecf() { mc=${1%.cf}.mc teste "$mc" if [ -z "$SM_FORCE_CFREBUILD" ]; then test "$mc" -nt "$1" || return 0 fi if test -f /usr/share/sendmail-cf/m4/cf.m4; then umask 022 [ -e "$1" ] && mv -f "$1" "$1".bak m4 "$mc" > "$1" else echo "WARNING: '$mc' is modified. Please install package sendmail-cf to update your configuration." exit 15 fi } makeall() { # These could be used by sendmail, but are not part of the default install. # To use them you will have to generate your own sendmail.cf with # FEATURE('whatever') test -f bitdomain && makedb bitdomain.db test -f uudomain && makedb uudomain.db test -f genericstable && makedb genericstable.db test -f userdb && makedb userdb.db test -f authinfo && makedb authinfo.db makedb virtusertable.db makedb access.db makedb domaintable.db makedb mailertable.db makecf sendmail.cf makecf submit.cf } cd /etc/mail || exit 1 [ $# -eq 0 ] && makeall for target; do case "$target" in *.db) makedb "$target" ;; *.cf) makecf "$target" ;; all) makeall ;; aliases) makealiasesdb ;; clean) rm -f *.db *~ aliasesdb-stamp ;; start|stop|restart) service sendmail "$target" ;; *) echo "Don't know how to make $target" exit 2 esac done