Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.70.178.47
138 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
etc /
[ HOME SHELL ]
Name
Size
Permission
Action
X11
[ DIR ]
drwxr-xr-x
acpi
[ DIR ]
drwxr-xr-x
alternatives
[ DIR ]
drwxr-xr-x
apache2
[ DIR ]
drwxr-xr-x
apparmor
[ DIR ]
drwxr-xr-x
apparmor.d
[ DIR ]
drwxr-xr-x
apt
[ DIR ]
drwxr-xr-x
bind
[ DIR ]
drwxr-sr-x
binfmt.d
[ DIR ]
drwxr-xr-x
ca-certificates
[ DIR ]
drwxr-xr-x
calendar
[ DIR ]
drwxr-xr-x
chkserv.d
[ DIR ]
drwxr-xr-x
cl.selector
[ DIR ]
drwxr-xr-x
console-setup
[ DIR ]
drwxr-xr-x
cpanel
[ DIR ]
drwxr-x--x
cracklib
[ DIR ]
drwxr-xr-x
cron.d
[ DIR ]
drwxr-xr-x
cron.daily
[ DIR ]
drwxr-xr-x
cron.hourly
[ DIR ]
drwxr-xr-x
cron.monthly
[ DIR ]
drwxr-xr-x
cron.weekly
[ DIR ]
drwxr-xr-x
dbus-1
[ DIR ]
drwxr-xr-x
default
[ DIR ]
drwxr-xr-x
depmod.d
[ DIR ]
drwxr-xr-x
dhcp
[ DIR ]
drwxr-xr-x
dictionaries-common
[ DIR ]
drwxr-xr-x
dovecot
[ DIR ]
drwxr-xr-x
dpkg
[ DIR ]
drwxr-xr-x
elinks
[ DIR ]
drwxr-xr-x
emacs
[ DIR ]
drwxr-xr-x
fonts
[ DIR ]
drwxr-xr-x
freetds
[ DIR ]
drwxr-xr-x
ghostscript
[ DIR ]
drwxr-xr-x
groff
[ DIR ]
drwxr-xr-x
grub.d
[ DIR ]
drwxr-xr-x
gss
[ DIR ]
drwxr-xr-x
imunify360
[ DIR ]
drwxr-xr-x
init.d
[ DIR ]
drwxr-xr-x
initramfs-tools
[ DIR ]
drwxr-xr-x
insserv.conf.d
[ DIR ]
drwxr-xr-x
iproute2
[ DIR ]
drwxr-xr-x
iptables
[ DIR ]
drwxr-xr-x
kernel
[ DIR ]
drwxr-xr-x
keyutils
[ DIR ]
drwxr-xr-x
ld.so.conf.d
[ DIR ]
drwxr-xr-x
ldap
[ DIR ]
drwxr-xr-x
libnl-3
[ DIR ]
drwxr-xr-x
libpaper.d
[ DIR ]
drwxr-xr-x
lighttpd
[ DIR ]
drwxr-xr-x
logcheck
[ DIR ]
drwxr-xr-x
logrotate.d
[ DIR ]
drwxr-xr-x
mail
[ DIR ]
drwxr-xr-x
modprobe.d
[ DIR ]
drwxr-xr-x
modules-load.d
[ DIR ]
drwxr-xr-x
mysql
[ DIR ]
drwxr-xr-x
needrestart
[ DIR ]
drwxr-xr-x
netplan
[ DIR ]
drwxr-xr-x
network
[ DIR ]
drwxr-xr-x
networkd-dispatcher
[ DIR ]
drwxr-xr-x
newt
[ DIR ]
drwxr-xr-x
nfs.conf.d
[ DIR ]
drwxr-xr-x
nginx
[ DIR ]
drwxr-xr-x
opt
[ DIR ]
drwxr-xr-x
pam.d
[ DIR ]
drwxr-xr-x
pdns
[ DIR ]
drwxr-xr-x
perl
[ DIR ]
drwxr-xr-x
pki
[ DIR ]
drwxr-xr-x
pm
[ DIR ]
drwxr-xr-x
powerdns
[ DIR ]
drwxr-xr-x
ppp
[ DIR ]
drwxr-xr-x
profile.d
[ DIR ]
drwxr-xr-x
proftpd
[ DIR ]
drwxr-x--x
python2.7
[ DIR ]
drwxr-xr-x
python3
[ DIR ]
drwxr-xr-x
python3.10
[ DIR ]
drwxr-xr-x
rc0.d
[ DIR ]
drwxr-xr-x
rc1.d
[ DIR ]
drwxr-xr-x
rc2.d
[ DIR ]
drwxr-xr-x
rc3.d
[ DIR ]
drwxr-xr-x
rc4.d
[ DIR ]
drwxr-xr-x
rc5.d
[ DIR ]
drwxr-xr-x
rc6.d
[ DIR ]
drwxr-xr-x
rcS.d
[ DIR ]
drwxr-xr-x
request-key.d
[ DIR ]
drwxr-xr-x
rsyslog.d
[ DIR ]
drwxr-xr-x
scl
[ DIR ]
drwxr-xr-x
security
[ DIR ]
drwxr-xr-x
selinux
[ DIR ]
drwxr-xr-x
sensors.d
[ DIR ]
drwxr-xr-x
skel
[ DIR ]
drwxr-xr-x
smartmontools
[ DIR ]
drwxr-xr-x
snmp
[ DIR ]
drwxr-xr-x
snmp-mibs-downloader
[ DIR ]
drwxr-xr-x
ssh
[ DIR ]
drwxr-xr-x
ssl
[ DIR ]
drwxr-xr-x
sudoers.d
[ DIR ]
drwxr-xr-x
sw-engine
[ DIR ]
drwxr-xr-x
sysconfig
[ DIR ]
drwxr-xr-x
sysctl.d
[ DIR ]
drwxr-xr-x
sysstat
[ DIR ]
drwxr-xr-x
systemd
[ DIR ]
drwxr-xr-x
terminfo
[ DIR ]
drwxr-xr-x
tmpfiles.d
[ DIR ]
drwxr-xr-x
ubuntu-advantage
[ DIR ]
drwxr-xr-x
udev
[ DIR ]
drwxr-xr-x
ufw
[ DIR ]
drwxr-xr-x
update-manager
[ DIR ]
drwxr-xr-x
update-motd.d
[ DIR ]
drwxr-xr-x
valiases
[ DIR ]
drwxr-x--x
vdomainaliases
[ DIR ]
drwxr-x--x
vfilters
[ DIR ]
drwxr-x--x
vim
[ DIR ]
drwxr-xr-x
xdg
[ DIR ]
drwxr-xr-x
.pwd.lock
0
B
-rw-------
.whostmgrft
0
B
-rw-r--r--
adduser.conf
2.96
KB
-rw-r--r--
agent360.ini
809
B
-rw-r--r--
aliases
30
B
-rw-r--r--
antivirus.exim
10.38
KB
-rw-r--r--
at.deny
144
B
-rw-r-----
backupmxhosts
0
B
-rw-r-----
bash.bashrc
2.26
KB
-rw-r--r--
bash_completion
45
B
-rw-r--r--
bashrc
801
B
-rw-r--r--
bindresvport.blacklist
367
B
-rw-r--r--
blocked_incoming_email_countri...
0
B
-rw-r-----
blocked_incoming_email_country...
0
B
-rw-r-----
blocked_incoming_email_domains
0
B
-rw-r-----
ca-certificates.conf
7.99
KB
-rw-r--r--
ca-certificates.conf.dpkg-old
7.37
KB
-rw-r--r--
cpanel_exim_system_filter
11.86
KB
-rw-r--r--
cpanel_initial_install_ea4_pro...
1.81
KB
-rw-r--r--
cpanel_mail_netblocks
15
B
-rw-r-----
cpspamd.conf
0
B
-rw-r--r--
cpupdate.conf
86
B
-rw-r--r--
cron.deny
7
B
-rw-r--r--
crontab
1.11
KB
-rw-r--r--
dbowners
41
B
-rw-r-----
debconf.conf
2.9
KB
-rw-r--r--
debian_version
13
B
-rw-r--r--
deluser.conf
604
B
-rw-r--r--
demodomains
0
B
-rw-r-----
demouids
0
B
-rw-r-----
demousers
0
B
-rw-r-----
digestshadow
0
B
-rw-r-----
domain_remote_mx_ips.cdb
2.16
KB
-rw-r-----
domainips
15
B
-rw-r--r--
domainusers
37
B
-rw-r-----
e2scrub.conf
685
B
-rw-r--r--
email_send_limits
4.1
KB
-rw-r-----
environment
106
B
-rw-r--r--
ethertypes
1.77
KB
-rw-r--r--
exim.conf
85.76
KB
-rw-r--r--
exim.conf.dist
25.79
KB
-rw-r--r--
exim.conf.localopts
2.04
KB
-rw-r--r--
exim.conf.localopts.shadow
0
B
-rw-------
exim.conf.mailman2.dist
29.03
KB
-rw-r--r--
exim.conf.mailman2.exiscan.dis...
29.2
KB
-rw-r--r--
exim.crt
1.37
KB
-rw-rw----
exim.key
1.64
KB
-rw-rw----
exim.pl
231
B
-rw-r--r--
exim.pl.local
168.28
KB
-rw-r--r--
exim_suspended_list
715
B
-rw-r-----
exim_trusted_configs
24
B
-rw-r--r--
eximmailtrap
0
B
-rw-r--r--
eximrejects
163
B
-rw-r--r--
eximrejects.dpkg-dist
278
B
-rw-r--r--
fstab
696
B
-rw-r--r--
ftpd-ca.pem
0
B
-rw-rw----
ftpd-rsa-key.pem
1.64
KB
-rw-rw----
ftpd-rsa.pem
1.47
KB
-rw-rw----
ftpddisable
0
B
-rw-r--r--
fuse.conf
694
B
-rw-r--r--
gai.conf
2.52
KB
-rw-r--r--
greylist_common_mail_providers
0
B
-rw-r--r--
greylist_trusted_netblocks
0
B
-rw-r-----
group
1.35
KB
-rw-r--r--
group-
1.3
KB
-rw-r--r--
group.org
699
B
-rw-r--r--
gshadow
1.14
KB
-rw-------
gshadow-
1.11
KB
-rw-r-----
hdparm.conf
4.33
KB
-rw-r--r--
host.conf
92
B
-rw-r--r--
hostname
18
B
-rw-r--r--
hosts
356
B
-rw-r--r--
hosts.allow
1.1
KB
-rw-r--r--
hosts.deny
0
B
-rw-r--r--
idmapd.conf
171
B
-rw-r--r--
inputrc
1.71
KB
-rw-r--r--
ipaddrpool
0
B
-rw-r--r--
ips
46
B
-rw-r--r--
ips.dnsmaster
93
B
-rw-r--r--
ips.remotedns
44
B
-rw-r--r--
issue
26
B
-rw-r--r--
issue.net
19
B
-rw-r--r--
kernel-img.conf
145
B
-rw-r--r--
ld.so.cache
32.03
KB
-rw-r--r--
ld.so.conf
34
B
-rw-r--r--
legal
267
B
-rw-r--r--
libaudit.conf
191
B
-rw-r--r--
libuser.conf
2.33
KB
-rw-r--r--
localaliases
0
B
-rw-r--r--
localdomains
2.04
KB
-rw-r-----
localdomains.dpkg-dist
0
B
-rw-r-----
locale.alias
2.93
KB
-rw-r--r--
locale.gen
9.23
KB
-rw-r--r--
localtime
415
B
-rw-r--r--
lock_manager_local.ini
829
B
-rw-r--r--
login.defs
10.48
KB
-rw-r--r--
logrotate.conf
592
B
-rw-r--r--
lsb-release
104
B
-rw-r--r--
ltrace.conf
14.52
KB
-rw-r--r--
machine-id
33
B
-rw-r--r--
magic
111
B
-rw-r--r--
magic.mime
111
B
-rw-r--r--
mailbox_formats
51
B
-rw-r-----
mailcap
6.21
KB
-rw-r--r--
mailcap.order
449
B
-rw-r--r--
mailhelo
31
B
-rw-r-----
mailips
0
B
-rw-r-----
mailname
29
B
-rw-r--r--
manpath.config
5.09
KB
-rw-r--r--
manualmx
1
B
-rw-r-----
mecabrc
288
B
-rw-r--r--
mime.types
70.34
KB
-rw-r--r--
mke2fs.conf
744
B
-rw-r--r--
modules
195
B
-rw-r--r--
motd
302
B
-rw-r--r--
mtab
0
B
-r--r--r--
my.cnf
290
B
-rw-r--r--
named.conf
13.54
KB
-rw-r--r--
named.conf.cache
1.4
KB
-rw-------
named.conf.precpanelinstall
463
B
-rw-r--r--
named.conf.prerebuilddnsconfig
3.41
KB
-rw-r--r--
named.conf.rebuilddnsconfig
3.41
KB
-rw-r--r--
named.conf.zonedir.cache
57
B
-rw-------
nanorc
10.94
KB
-rw-r--r--
neighbor_netblocks
16
B
-rw-r-----
netconfig
767
B
-rw-r--r--
networks
91
B
-rw-r--r--
nfs.conf
1.12
KB
-rw-r--r--
nftables.conf
4.28
KB
-rw-------
nocgiusers
0
B
-rw-r-----
nscd.conf
2.81
KB
-rw-r--r--
nsswitch.conf
510
B
-rw-r--r--
os-release
386
B
-rw-r--r--
outgoing_mail_hold_users
0
B
-rw-r-----
outgoing_mail_suspended_users
0
B
-rw-r-----
pam.conf
552
B
-rw-r--r--
papersize
3
B
-rw-r--r--
passwd
3.29
KB
-rw-r--r--
passwd-
3.29
KB
-rw-r--r--
passwd.cache
19.02
KB
-rw-------
passwd.nouids.cache
10.07
KB
-rw-------
passwd.org
1.46
KB
-rw-r--r--
popularity-contest.conf
350
B
-rw-r--r--
profile
1.35
KB
-rw-r--r--
protocols
2.86
KB
-rw-r--r--
pure-ftpd.pem
3.11
KB
-rw-rw----
quotagrpadmins
220
B
-rw-r--r--
quotatab
526
B
-rw-r--r--
recent_authed_mail_ips
0
B
-rw-r--r--
recent_authed_mail_ips_users
0
B
-rw-r--r--
recent_recipient_mail_server_i...
200
B
-rw-r-----
relayhosts
0
B
-rw-r--r--
relayhostsusers
0
B
-rw-r--r--
remotedomains
0
B
-rw-r--r--
request-key.conf
1.84
KB
-rw-r--r--
resolv.conf
38
B
-rw-r--r--
rmt
58.57
KB
-rwxr-xr-x
rpc
887
B
-rw-r--r--
rsyslog.conf
1.35
KB
-rw-r--r--
secondarymx
0
B
-rw-r-----
senderverifybypasshosts
0
B
-rw-r-----
sensors3.conf
10.34
KB
-rw-r--r--
services
12.51
KB
-rw-r--r--
shadow
1.57
KB
-rw-------
shadow-
1.43
KB
-rw-r-----
shadow.nouids.cache
9.81
KB
-rw-------
shadow.org
892
B
-rw-r-----
shells
212
B
-rw-r--r--
skipsmtpcheckhosts
0
B
-rw-r-----
smartd.conf
6.88
KB
-rw-r--r--
spammeripblocks
0
B
-rw-r-----
spammers
0
B
-rw-r--r--
ssldomains
0
B
-rw-------
stats.conf
37
B
-rw-r--r--
subgid
0
B
-rw-r--r--
subuid
0
B
-rw-r--r--
sudo.conf
4.47
KB
-rw-r--r--
sudo_logsrvd.conf
9.17
KB
-rw-r--r--
sudoers
1.63
KB
-r--r-----
suphp.conf
4.34
KB
-rwxr-xr-x
suphp.conf.dpkg-dist
4.42
KB
-rwxr-xr-x
sysctl.conf
2.35
KB
-rw-r--r--
sysctl.conf.dpkg-dist
2.3
KB
-rw-r--r--
timezone
15
B
-rw-r--r--
trueuserdomains
37
B
-rw-r-----
trueuserowners
25
B
-rw-r--r--
trusted_mail_users
0
B
-rw-r-----
trustedmailhosts
0
B
-rw-r-----
ucf.conf
1.23
KB
-rw-r--r--
userbwlimits
52
B
-rw-r-----
userdatadomains
17.19
KB
-rw-r-----
userdatadomains.json
18.83
KB
-rw-r-----
userdomains
2.86
KB
-rw-r-----
userips
59
B
-rw-r-----
userplans
45
B
-rw-r-----
vtrgb
158
B
-rw-r--r--
warnquota.conf
314
B
-rw-r--r--
webspam
0
B
-rw-r--r--
wgetrc
4.83
KB
-rw-r--r--
wwwacct.conf
251
B
-rw-r--r--
wwwacct.conf.cache
304
B
-rw-r--r--
wwwacct.conf.shadow.cache
304
B
-rw-------
xattr.conf
681
B
-rw-r--r--
zsh_command_not_found
460
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cpanel_exim_system_filter
# Exim filter # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # cPanel System Filter for EXIM # # VERSION = 2.0 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!DO NOT MODIFY THIS FILE DIRECTLY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Direct modifications to the /etc/cpanel_exim_system_filter file will be lost when the configuration is # # next rebuilt. To have modifications retained, please use one of the following options: # # # # 1) # # * Place each sysfilter block you wish to include in a unique file at: # # /usr/local/cpanel/etc/exim/sysfilter/options/ # # * Enable or disable the custom block in WHM using: # # Service Configuration => Exim Configuration Manager => Filters => Custom Filter: [your unique file] # # # # 2) # # * Create a custom sysfilter file in /etc/ # # * Change the location of the sysfilter file in WHM using: # # Service Configuration => Exim Configuration Manager => Filters => System Filter File # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!DO NOT MODIFY THIS FILE DIRECTLY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Only process once # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # if not first_delivery then finish endif # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Ignore "real" errors # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # if error_message and $header_from: contains "Mailer-Daemon@" then finish endif # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # BEGIN - Included from /usr/local/cpanel/etc/exim/sysfilter/options/attachments # (Use the Basic Editor in the Exim Configuration Manager in WHM to change) # or manually edit /etc/exim.conf.localopts and run /scripts/buildeximconf ## ----------------------------------------------------------------------- # Look for single part MIME messages with suspicious name extensions # Check Content-Type header using quoted filename [content_type_quoted_fn_match] if $header_content-type: matches "(?:file)?name=(\"[^\"]+\\\\.(?:ad[ep]|ba[st]|chm|cmd|com|cpl|crt|eml|exe|hlp|hta|in[fs]|isp|jse?|lnk|md[be]|ms[cipt]|pcd|pif|reg|scr|sct|shs|url|vb[se]|ws[fhc])\")" then fail text "This message has been rejected because it has\n\ potentially executable content $1\n\ This form of attachment has been used by\n\ recent viruses or other malware.\n\ If you meant to send this file then please\n\ package it up as a zip file and resend it." seen finish endif # same again using unquoted filename [content_type_unquoted_fn_match] if $header_content-type: matches "(?:file)?name=(\\\\S+\\\\.(?:ad[ep]|ba[st]|chm|cmd|com|cpl|crt|eml|exe|hlp|hta|in[fs]|isp|jse?|lnk|md[be]|ms[cipt]|pcd|pif|reg|scr|sct|shs|url|vb[se]|ws[fhc]))([\\\\s;]|\\$)" then fail text "This message has been rejected because it has\n\ potentially executable content $1\n\ This form of attachment has been used by\n\ recent viruses or other malware.\n\ If you meant to send this file then please\n\ package it up as a zip file and resend it." seen finish endif ## ----------------------------------------------------------------------- # Attempt to catch embedded VBS attachments # in emails. These were used as the basis for # the ILOVEYOU virus and its variants - many many varients # Quoted filename - [body_quoted_fn_match] if $message_body matches "(?:Content-(?:Type:(?>\\\\s*)[\\\\w-]+/[\\\\w-]+|Disposition:(?>\\\\s*)attachment);(?>\\\\s*)(?:file)?name=|begin(?>\\\\s+)[0-7]{3,4}(?>\\\\s+))(\"[^\"]+\\\\.(?:ad[ep]|ba[st]|chm|cmd|com|cpl|crt|eml|exe|hlp|hta|in[fs]|isp|jse?|lnk|md[be]|ms[cipt]|pcd|pif|reg|scr|sct|shs|url|vb[se]|ws[fhc])\")[\\\\s;]" then fail text "This message has been rejected because it has\n\ a potentially executable attachment $1\n\ This form of attachment has been used by\n\ recent viruses or other malware.\n\ If you meant to send this file then please\n\ package it up as a zip file and resend it." seen finish endif # same again using unquoted filename [body_unquoted_fn_match] if $message_body matches "(?:Content-(?:Type:(?>\\\\s*)[\\\\w-]+/[\\\\w-]+|Disposition:(?>\\\\s*)attachment);(?>\\\\s*)(?:file)?name=|begin(?>\\\\s+)[0-7]{3,4}(?>\\\\s+))(\\\\S+\\\\.(?:ad[ep]|ba[st]|chm|cmd|com|cpl|crt|eml|exe|hlp|hta|in[fs]|isp|jse?|lnk|md[be]|ms[cipt]|pcd|pif|reg|scr|sct|shs|url|vb[se]|ws[fhc]))[\\\\s;]" then fail text "This message has been rejected because it has\n\ a potentially executable attachment $1\n\ This form of attachment has been used by\n\ recent viruses or other malware.\n\ If you meant to send this file then please\n\ package it up as a zip file and resend it." seen finish endif ## ----------------------------------------------------------------------- #### Version history # # 0.01 5 May 2000 # Initial release # 0.02 8 May 2000 # Widened list of content-types accepted, added WSF extension # 0.03 8 May 2000 # Embedded the install notes in for those that don't do manuals # 0.04 9 May 2000 # Check global content-type header. Efficiency mods to REs # 0.05 9 May 2000 # More minor efficiency mods, doc changes # 0.06 20 June 2000 # Added extension handling - thx to Douglas Gray Stephens & Jeff Carnahan # 0.07 19 July 2000 # Latest MS Outhouse bug catching # 0.08 19 July 2000 # Changed trigger length to 80 chars, fixed some spelling # 0.09 29 September 2000 # More extensions... its getting so we should just allow 2 or 3 through # 0.10 18 January 2001 # Removed exclusion for error messages - this is a little nasty # since it has other side effects, hence we do still exclude # on unix like error messages # 0.11 20 March, 2001 # Added CMD extension, tidied docs slightly, added RCS tag # ** Missed changing version number at top of file :-( # 0.12 10 May, 2001 # Added HTA extension # 0.13 22 May, 2001 # Reformatted regexps and code to build them so that they are # shorter than the limits on pre exim 3.20 filters. This will # make them significantly less efficient, but I am getting so # many queries about this that requiring 3.2x appears unsupportable. # 0.14 15 August,2001 # Added .lnk extension - most requested item :-) # Reformatted everything so its now built from a set of short # library files, cutting down on manual duplication. # Changed \w in filename detection to . - dodges locale problems # Explicit application of GPL after queries on license status # 0.15 17 August, 2001 # Changed the . in filename detect to \S (stops it going mad) # 0.16 19 September, 2001 # Pile of new extensions including the eml in current use # 0.17 19 September, 2001 # Syntax fix # #### Install Notes # # Exim filters run the exim filter language - a very primitive # scripting language - in place of a user .forward file, or on # a per system basis (on all messages passing through). # The filtering capability is documented in the main set of manuals # a copy of which can be found on the exim web site # http://www.exim.org/ # # To install, copy the filter file (with appropriate permissions) # to /etc/exim/system_filter.exim and add to your exim config file # [location is installation depedant - typicaly /etc/exim/config ] # in the first section the line:- # message_filter = /etc/exim/system_filter.exim # message_body_visible = 5000 # # You may also want to set the message_filter_user & message_filter_group # options, but they default to the standard exim user and so can # be left untouched. The other message_filter_* options are only # needed if you modify this to do other functions such as deliveries. # The main exim documentation is quite thorough and so I see no need # to expand it here... # # Any message that matches the filter will then be bounced. # If you wish you can change the error message by editing it # in the section above - however be careful you don't break it. # # After install exim should be restarted - a kill -HUP to the # daemon will do this. # #### LIMITATIONS # # This filter tries to parse MIME with a regexp... that doesn't # work too well. It will also only see the amount of the body # specified in message_body_visible # #### BASIS # # The regexp that is used to pickup MIME/uuencoded body parts with # quoted filenames is replicated below (in perl format). # You need to remember that exim converts newlines to spaces in # the message_body variable. # # (?:Content- # start of content header # (?:Type: (?>\s*) # rest of c/t header # [\w-]+/[\w-]+ # content-type (any) # |Disposition: (?>\s*) # content-disposition hdr # attachment) # content-disposition # ;(?>\s*) # ; space or newline # (?:file)?name= # filename=/name= # |begin (?>\s+) [0-7]{3,4} (?>\s+)) # begin octal-mode # (\"[^\"]+\. # quoted filename. # (?:ad[ep] # list of extns # |ba[st] # |chm # |cmd # |com # |cpl # |crt # |eml # |exe # |hlp # |hta # |in[fs] # |isp # |jse? # |lnk # |md[be] # |ms[cipt] # |pcd # |pif # |reg # |scr # |sct # |shs # |url # |vb[se] # |ws[fhc]) # \" # end quote # ) # end of filename capture # [\s;] # trailing ;/space/newline # # ### [End] # END - Included from /usr/local/cpanel/etc/exim/sysfilter/options/attachments # BEGIN - Included from /usr/local/cpanel/etc/exim/sysfilter/options/spam_rewrite # (Use the Basic Editor in the Exim Configuration Manager in WHM to change) # or manually edit /etc/exim.conf.localopts and run /scripts/buildeximconf if "${if def:header_X-Spam-Subject: {there}}" is there then headers remove Subject headers add "Subject: $rh_X-Spam-Subject:" headers remove X-Spam-Subject endif # END - Included from /usr/local/cpanel/etc/exim/sysfilter/options/spam_rewrite
Close