NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

data/Dockerfiles/clamd/clamd.sh

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

clamd.sh on main
Author Date Commit Line Code
andryyy over 9 years ago 76426b6

Not of any use as of today

Full commit hash
76426b65b2a976cd2420830c9b3d27d987f39e49
Author
andryyy <[email protected]>
Date
over 9 years ago
Selected line
1
#!/bin/bash
Open commit View diff
1 #!/bin/bash
andryyy about 9 years ago 61de3c3

Use Alpine ClamAV

Full commit hash
61de3c354c25f0845a4e90b7bd44a4d5363c87e2
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2
Open commit View diff
2
andryyy about 9 years ago ed11e75

[Clamd] Add SKIP_CLAMD variable to disable Clamd start

Full commit hash
ed11e7586e13834518e7d76d8537eda1b142639f
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3
if [[ "${SKIP_CLAMD}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
Open commit View diff
3 if [[ "${SKIP_CLAMD}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
André almost 9 years ago c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
4
  echo "SKIP_CLAMD=y, skipping ClamAV..."
Open commit View diff
4 echo "SKIP_CLAMD=y, skipping ClamAV..."
same change c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
5
  sleep 365d
Open commit View diff
5 sleep 365d
same change c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
6
  exit 0
Open commit View diff
6 exit 0
andryyy about 9 years ago ed11e75

[Clamd] Add SKIP_CLAMD variable to disable Clamd start

Full commit hash
ed11e7586e13834518e7d76d8537eda1b142639f
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
7
fi
Open commit View diff
7 fi
same change ed11e75

[Clamd] Add SKIP_CLAMD variable to disable Clamd start

Full commit hash
ed11e7586e13834518e7d76d8537eda1b142639f
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
8
Open commit View diff
8
andryyy almost 7 years ago 3c133ad

[ClamAV] Cleanup garbage when starting container (tmp files may fill up disk, when container runs oom)

Full commit hash
3c133ad02a91c2a4fb4f0c3b346f4ea7a23415af
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
9
# Cleaning up garbage
Open commit View diff
9 # Cleaning up garbage
same change 3c133ad

[ClamAV] Cleanup garbage when starting container (tmp files may fill up disk, when container runs oom)

Full commit hash
3c133ad02a91c2a4fb4f0c3b346f4ea7a23415af
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
10
echo "Cleaning up tmp files..."
Open commit View diff
10 echo "Cleaning up tmp files..."
Peter 11 months ago 48e90a7

Changed clamavs tmp folder structure

Full commit hash
48e90a72dce562eef8cf237faffe2b03f32d8a28
Author
Peter <[email protected]>
Date
11 months ago
Selected line
11
rm -rf /var/lib/clamav/tmp.*
Open commit View diff
11 rm -rf /var/lib/clamav/tmp.*
andryyy almost 7 years ago 3c133ad

[ClamAV] Cleanup garbage when starting container (tmp files may fill up disk, when container runs oom)

Full commit hash
3c133ad02a91c2a4fb4f0c3b346f4ea7a23415af
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
12
Open commit View diff
12
andryyy over 7 years ago e04a3ae

[ClamAV] Do not try to modify cross-mounted file, copy whitelist from conf to lib directory

Full commit hash
e04a3aed6a8df79219ee3e098b02a3f78deaa0cd
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
13
# Prepare whitelist
Open commit View diff
13 # Prepare whitelist
andryyy over 7 years ago db17a30

[ClamAV] Create directory before handling whitelist

Full commit hash
db17a304b00b71be619c2361030a3c81d117edcb
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
14
Open commit View diff
14
same change db17a30

[ClamAV] Create directory before handling whitelist

Full commit hash
db17a304b00b71be619c2361030a3c81d117edcb
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
15
mkdir -p /run/clamav /var/lib/clamav
Open commit View diff
15 mkdir -p /run/clamav /var/lib/clamav
same change db17a30

[ClamAV] Create directory before handling whitelist

Full commit hash
db17a304b00b71be619c2361030a3c81d117edcb
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
16
Open commit View diff
16
Kristian Feldsam over 4 years ago 4e6c398

[Clamd] fix whitelist (#4541)

Full commit hash
4e6c398c8c4301754b6b713d5b44279fdfb70ecf
Author
Kristian Feldsam <[email protected]>
Date
over 4 years ago
Selected line
17
if [[ -s /etc/clamav/whitelist.ign2 ]]; then
Open commit View diff
17 if [[ -s /etc/clamav/whitelist.ign2 ]]; then
same change 4e6c398

[Clamd] fix whitelist (#4541)

Full commit hash
4e6c398c8c4301754b6b713d5b44279fdfb70ecf
Author
Kristian Feldsam <[email protected]>
Date
over 4 years ago
Selected line
18
  echo "Copying non-empty whitelist.ign2 to /var/lib/clamav/whitelist.ign2"
Open commit View diff
18 echo "Copying non-empty whitelist.ign2 to /var/lib/clamav/whitelist.ign2"
same change 4e6c398

[Clamd] fix whitelist (#4541)

Full commit hash
4e6c398c8c4301754b6b713d5b44279fdfb70ecf
Author
Kristian Feldsam <[email protected]>
Date
over 4 years ago
Selected line
19
  cp /etc/clamav/whitelist.ign2 /var/lib/clamav/whitelist.ign2
Open commit View diff
19 cp /etc/clamav/whitelist.ign2 /var/lib/clamav/whitelist.ign2
same change 4e6c398

[Clamd] fix whitelist (#4541)

Full commit hash
4e6c398c8c4301754b6b713d5b44279fdfb70ecf
Author
Kristian Feldsam <[email protected]>
Date
over 4 years ago
Selected line
20
fi
Open commit View diff
20 fi
andryyy over 6 years ago cc99fe3

[ClamAV] Whitelist js in pdf - too many fp

Full commit hash
cc99fe38205b01e3b194d37a92fc965e3b7bd53b
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
21
Open commit View diff
21
andryyy over 7 years ago e04a3ae

[ClamAV] Do not try to modify cross-mounted file, copy whitelist from conf to lib directory

Full commit hash
e04a3aed6a8df79219ee3e098b02a3f78deaa0cd
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
22
if [[ ! -f /var/lib/clamav/whitelist.ign2 ]]; then
Open commit View diff
22 if [[ ! -f /var/lib/clamav/whitelist.ign2 ]]; then
andryyy over 7 years ago 354ecd7

[ClamAV] More checks and permission fixes

Full commit hash
354ecd727cf61b05089ff31187530f464757135e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
23
  echo "Creating /var/lib/clamav/whitelist.ign2"
Open commit View diff
23 echo "Creating /var/lib/clamav/whitelist.ign2"
andryyy over 6 years ago cc99fe3

[ClamAV] Whitelist js in pdf - too many fp

Full commit hash
cc99fe38205b01e3b194d37a92fc965e3b7bd53b
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
24
  cat <<EOF > /var/lib/clamav/whitelist.ign2
Open commit View diff
24 cat <<EOF > /var/lib/clamav/whitelist.ign2
same change cc99fe3

[ClamAV] Whitelist js in pdf - too many fp

Full commit hash
cc99fe38205b01e3b194d37a92fc965e3b7bd53b
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
25
# Please restart ClamAV after changing signatures
Open commit View diff
25 # Please restart ClamAV after changing signatures
same change cc99fe3

[ClamAV] Whitelist js in pdf - too many fp

Full commit hash
cc99fe38205b01e3b194d37a92fc965e3b7bd53b
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
26
Example-Signature.Ignore-1
Open commit View diff
26 Example-Signature.Ignore-1
andryyy over 6 years ago dfd4050

[ClamAV] Add fp signature

Full commit hash
dfd40500b4da97dce21dab4778635834e6c52f23
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
27
PUA.Win.Trojan.EmbeddedPDF-1
Open commit View diff
27 PUA.Win.Trojan.EmbeddedPDF-1
andryyy over 6 years ago cc99fe3

[ClamAV] Whitelist js in pdf - too many fp

Full commit hash
cc99fe38205b01e3b194d37a92fc965e3b7bd53b
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
28
PUA.Pdf.Trojan.EmbeddedJavaScript-1
Open commit View diff
28 PUA.Pdf.Trojan.EmbeddedJavaScript-1
andryyy over 5 years ago bfd451f

[ClamAV] Add default wl PUA.Pdf.Trojan.OpenActionObjectwithJavascript-1

Full commit hash
bfd451fe3086b4add641d9b90917dafe2697dff0
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
29
PUA.Pdf.Trojan.OpenActionObjectwithJavascript-1
Open commit View diff
29 PUA.Pdf.Trojan.OpenActionObjectwithJavascript-1
andryyy over 6 years ago cc99fe3

[ClamAV] Whitelist js in pdf - too many fp

Full commit hash
cc99fe38205b01e3b194d37a92fc965e3b7bd53b
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
30
EOF
Open commit View diff
30 EOF
andryyy over 7 years ago e04a3ae

[ClamAV] Do not try to modify cross-mounted file, copy whitelist from conf to lib directory

Full commit hash
e04a3aed6a8df79219ee3e098b02a3f78deaa0cd
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
31
fi
Open commit View diff
31 fi
andryyy over 7 years ago 354ecd7

[ClamAV] More checks and permission fixes

Full commit hash
354ecd727cf61b05089ff31187530f464757135e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
32
Open commit View diff
32
same change 354ecd7

[ClamAV] More checks and permission fixes

Full commit hash
354ecd727cf61b05089ff31187530f464757135e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
33
chown clamav:clamav -R /var/lib/clamav /run/clamav
Open commit View diff
33 chown clamav:clamav -R /var/lib/clamav /run/clamav
same change 354ecd7

[ClamAV] More checks and permission fixes

Full commit hash
354ecd727cf61b05089ff31187530f464757135e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
34
Open commit View diff
34
same change 354ecd7

[ClamAV] More checks and permission fixes

Full commit hash
354ecd727cf61b05089ff31187530f464757135e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
35
chmod 755 /var/lib/clamav
Open commit View diff
35 chmod 755 /var/lib/clamav
same change 354ecd7

[ClamAV] More checks and permission fixes

Full commit hash
354ecd727cf61b05089ff31187530f464757135e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
36
chmod 644 -R /var/lib/clamav/*
Open commit View diff
36 chmod 644 -R /var/lib/clamav/*
André Peters over 7 years ago f3dfe34

[Dovecot] Allow setting ACL_ANYONE in mailcow.conf

Full commit hash
f3dfe346bf2aed1d54c82ce1efb2697c99c36053
Author
André Peters <[email protected]>
Date
over 7 years ago
Selected line
37
chmod 750 /run/clamav
Open commit View diff
37 chmod 750 /run/clamav
andryyy over 7 years ago e04a3ae

[ClamAV] Do not try to modify cross-mounted file, copy whitelist from conf to lib directory

Full commit hash
e04a3aed6a8df79219ee3e098b02a3f78deaa0cd
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
38
Open commit View diff
38
andryyy over 7 years ago db17a30

[ClamAV] Create directory before handling whitelist

Full commit hash
db17a304b00b71be619c2361030a3c81d117edcb
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
39
stat /var/lib/clamav/whitelist.ign2
Open commit View diff
39 stat /var/lib/clamav/whitelist.ign2
André almost 8 years ago ff0b924

[ClamAV] Add whitelist file for ClamAV, fixes #1607

Full commit hash
ff0b9246b5ca0fa8f3e37243596f8d311e8cc8dd
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
40
dos2unix /var/lib/clamav/whitelist.ign2
Open commit View diff
40 dos2unix /var/lib/clamav/whitelist.ign2
same change ff0b924

[ClamAV] Add whitelist file for ClamAV, fixes #1607

Full commit hash
ff0b9246b5ca0fa8f3e37243596f8d311e8cc8dd
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
41
sed -i '/^\s*$/d' /var/lib/clamav/whitelist.ign2
Open commit View diff
41 sed -i '/^\s*$/d' /var/lib/clamav/whitelist.ign2
andryyy over 6 years ago 8c3ab03

[ClamAV] Copy productive whitelist.ign to exposed configuration folder, remove direct mount of whitelist file

Full commit hash
8c3ab0371af6154771342774d8d5ab90168f8479
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
42
# Copying to /etc/clamav to expose file as-is to administrator
Open commit View diff
42 # Copying to /etc/clamav to expose file as-is to administrator
same change 8c3ab03

[ClamAV] Copy productive whitelist.ign to exposed configuration folder, remove direct mount of whitelist file

Full commit hash
8c3ab0371af6154771342774d8d5ab90168f8479
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
43
cp -p /var/lib/clamav/whitelist.ign2 /etc/clamav/whitelist.ign2
Open commit View diff
43 cp -p /var/lib/clamav/whitelist.ign2 /etc/clamav/whitelist.ign2
same change 8c3ab03

[ClamAV] Copy productive whitelist.ign to exposed configuration folder, remove direct mount of whitelist file

Full commit hash
8c3ab0371af6154771342774d8d5ab90168f8479
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
44
Open commit View diff
44
André almost 8 years ago ff0b924

[ClamAV] Add whitelist file for ClamAV, fixes #1607

Full commit hash
ff0b9246b5ca0fa8f3e37243596f8d311e8cc8dd
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
45
Open commit View diff
45
André almost 9 years ago c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
46
BACKGROUND_TASKS=()
Open commit View diff
46 BACKGROUND_TASKS=()
same change c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
47
Open commit View diff
47
andryyy over 6 years ago cd6594d

[Clamd] Run freshclam before starting ClamAV

Full commit hash
cd6594df01347e467fb378aae075c266b5c9c111
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
48
echo "Running freshclam..."
Open commit View diff
48 echo "Running freshclam..."
same change cd6594d

[Clamd] Run freshclam before starting ClamAV

Full commit hash
cd6594df01347e467fb378aae075c266b5c9c111
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
49
freshclam
Open commit View diff
49 freshclam
same change cd6594d

[Clamd] Run freshclam before starting ClamAV

Full commit hash
cd6594df01347e467fb378aae075c266b5c9c111
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
50
Open commit View diff
50
André about 8 years ago f53006f

[Dovecot] Dovecot 2.3.1, Pigeonhole 0.5.1

Full commit hash
f53006f6aba7d22c327c341383f8c76cc1dc62b9
Author
André <[email protected]>
Date
about 8 years ago
Selected line
51
(
Open commit View diff
51 (
same change f53006f

[Dovecot] Dovecot 2.3.1, Pigeonhole 0.5.1

Full commit hash
f53006f6aba7d22c327c341383f8c76cc1dc62b9
Author
André <[email protected]>
Date
about 8 years ago
Selected line
52
while true; do
Open commit View diff
52 while true; do
andryyy over 6 years ago 1e4aa21

[ClamAV] Try to prevent update collisions

Full commit hash
1e4aa212ea3e85930d5e8b90a117d95315337295
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
53
  sleep 12600
Open commit View diff
53 sleep 12600
andryyy over 6 years ago cd6594d

[Clamd] Run freshclam before starting ClamAV

Full commit hash
cd6594df01347e467fb378aae075c266b5c9c111
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
54
  freshclam
Open commit View diff
54 freshclam
André about 8 years ago f53006f

[Dovecot] Dovecot 2.3.1, Pigeonhole 0.5.1

Full commit hash
f53006f6aba7d22c327c341383f8c76cc1dc62b9
Author
André <[email protected]>
Date
about 8 years ago
Selected line
55
done
Open commit View diff
55 done
same change f53006f

[Dovecot] Dovecot 2.3.1, Pigeonhole 0.5.1

Full commit hash
f53006f6aba7d22c327c341383f8c76cc1dc62b9
Author
André <[email protected]>
Date
about 8 years ago
Selected line
56
) &
Open commit View diff
56 ) &
André almost 9 years ago c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
57
BACKGROUND_TASKS+=($!)
Open commit View diff
57 BACKGROUND_TASKS+=($!)
same change c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
58
Open commit View diff
58
andryyy over 7 years ago e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
59
(
Open commit View diff
59 (
same change e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
60
while true; do
Open commit View diff
60 while true; do
andryyy over 6 years ago 1e4aa21

[ClamAV] Try to prevent update collisions

Full commit hash
1e4aa212ea3e85930d5e8b90a117d95315337295
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
61
  sleep 10m
Open commit View diff
61 sleep 10m
andryyy over 7 years ago e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
62
  SANE_MIRRORS="$(dig +ignore +short rsync.sanesecurity.net)"
Open commit View diff
62 SANE_MIRRORS="$(dig +ignore +short rsync.sanesecurity.net)"
same change e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
63
  for sane_mirror in ${SANE_MIRRORS}; do
Open commit View diff
63 for sane_mirror in ${SANE_MIRRORS}; do
andryyy about 7 years ago 39f95b8

[Compose] Add olefy container, new Postfix iamge and new ClamAV image

Full commit hash
39f95b82841da34d33b9b03dd7fce19394ce7046
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
64
    CE=
Open commit View diff
64 CE=
andryyy over 7 years ago 354ecd7

[ClamAV] More checks and permission fixes

Full commit hash
354ecd727cf61b05089ff31187530f464757135e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
65
    rsync -avp --chown=clamav:clamav --chmod=Du=rwx,Dgo=rx,Fu=rw,Fog=r --timeout=5 rsync://${sane_mirror}/sanesecurity/ \
Open commit View diff
65 rsync -avp --chown=clamav:clamav --chmod=Du=rwx,Dgo=rx,Fu=rw,Fog=r --timeout=5 rsync://${sane_mirror}/sanesecurity/ \
andryyy over 7 years ago e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
66
      --include 'blurl.ndb' \
Open commit View diff
66 --include 'blurl.ndb' \
same change e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
67
      --include 'junk.ndb' \
Open commit View diff
67 --include 'junk.ndb' \
same change e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
68
      --include 'jurlbl.ndb' \
Open commit View diff
68 --include 'jurlbl.ndb' \
andryyy over 7 years ago 5081d6d

[ClamAV] Add more signatures

Full commit hash
5081d6d9f1207295715709513f75480b7e824df4
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
69
      --include 'jurbla.ndb' \
Open commit View diff
69 --include 'jurbla.ndb' \
same change 5081d6d

[ClamAV] Add more signatures

Full commit hash
5081d6d9f1207295715709513f75480b7e824df4
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
70
      --include 'phishtank.ndb' \
Open commit View diff
70 --include 'phishtank.ndb' \
andryyy over 7 years ago e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
71
      --include 'phish.ndb' \
Open commit View diff
71 --include 'phish.ndb' \
andryyy over 7 years ago 5081d6d

[ClamAV] Add more signatures

Full commit hash
5081d6d9f1207295715709513f75480b7e824df4
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
72
      --include 'spamimg.hdb' \
Open commit View diff
72 --include 'spamimg.hdb' \
same change 5081d6d

[ClamAV] Add more signatures

Full commit hash
5081d6d9f1207295715709513f75480b7e824df4
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
73
      --include 'scam.ndb' \
Open commit View diff
73 --include 'scam.ndb' \
same change 5081d6d

[ClamAV] Add more signatures

Full commit hash
5081d6d9f1207295715709513f75480b7e824df4
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
74
      --include 'rogue.hdb' \
Open commit View diff
74 --include 'rogue.hdb' \
same change 5081d6d

[ClamAV] Add more signatures

Full commit hash
5081d6d9f1207295715709513f75480b7e824df4
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
75
      --include 'sanesecurity.ftm' \
Open commit View diff
75 --include 'sanesecurity.ftm' \
same change 5081d6d

[ClamAV] Add more signatures

Full commit hash
5081d6d9f1207295715709513f75480b7e824df4
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
76
      --include 'sigwhitelist.ign2' \
Open commit View diff
76 --include 'sigwhitelist.ign2' \
andryyy over 7 years ago e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
77
      --exclude='*' /var/lib/clamav/
Open commit View diff
77 --exclude='*' /var/lib/clamav/
andryyy about 7 years ago 27d1bd8

[ClamAV] Fix missing exit code var, fixes #2746

Full commit hash
27d1bd8aebe12bc497ac0f2f6f8c3c07eb9612c2
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
78
    CE=$?
Open commit View diff
78 CE=$?
andryyy about 7 years ago 184eb7a

[ClamAV] Fix chmod command, thanks to @fbcd4f50ea5350f051450323b5abfd0b

Full commit hash
184eb7a739718d8c9843413e2e10d23c80813c1c
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
79
    chmod 755 /var/lib/clamav/
Open commit View diff
79 chmod 755 /var/lib/clamav/
andryyy about 7 years ago 39f95b8

[Compose] Add olefy container, new Postfix iamge and new ClamAV image

Full commit hash
39f95b82841da34d33b9b03dd7fce19394ce7046
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
80
    if [ ${CE} -eq 0 ]; then
Open commit View diff
80 if [ ${CE} -eq 0 ]; then
andryyy over 6 years ago 1e4aa21

[ClamAV] Try to prevent update collisions

Full commit hash
1e4aa212ea3e85930d5e8b90a117d95315337295
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
81
      while [ ! -z "$(pidof freshclam)" ]; do
Open commit View diff
81 while [ ! -z "$(pidof freshclam)" ]; do
same change 1e4aa21

[ClamAV] Try to prevent update collisions

Full commit hash
1e4aa212ea3e85930d5e8b90a117d95315337295
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
82
        echo "Freshclam is active, waiting..."
Open commit View diff
82 echo "Freshclam is active, waiting..."
same change 1e4aa21

[ClamAV] Try to prevent update collisions

Full commit hash
1e4aa212ea3e85930d5e8b90a117d95315337295
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
83
        sleep 5
Open commit View diff
83 sleep 5
same change 1e4aa21

[ClamAV] Try to prevent update collisions

Full commit hash
1e4aa212ea3e85930d5e8b90a117d95315337295
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
84
      done
Open commit View diff
84 done
same change 1e4aa21

[ClamAV] Try to prevent update collisions

Full commit hash
1e4aa212ea3e85930d5e8b90a117d95315337295
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
85
      echo RELOAD | nc clamd-mailcow 3310
Open commit View diff
85 echo RELOAD | nc clamd-mailcow 3310
andryyy over 7 years ago e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
86
      break
Open commit View diff
86 break
same change e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
87
    fi
Open commit View diff
87 fi
same change e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
88
  done
Open commit View diff
88 done
andryyy over 6 years ago 1e4aa21

[ClamAV] Try to prevent update collisions

Full commit hash
1e4aa212ea3e85930d5e8b90a117d95315337295
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
89
  sleep 12h
Open commit View diff
89 sleep 12h
andryyy over 7 years ago e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
90
done
Open commit View diff
90 done
same change e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
91
) &
Open commit View diff
91 ) &
same change e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
92
BACKGROUND_TASKS+=($!)
Open commit View diff
92 BACKGROUND_TASKS+=($!)
same change e42afa3

[ClamAV] Update to 0.101.1 (based on Debian to fix some errors)

Full commit hash
e42afa39a8b7b466c4faf116ab62d627fe661216
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
93
Open commit View diff
93
DerLinkman over 1 year ago 60a2270

clamd: update to 1.4.2 + build from source instead using alpine packages

Full commit hash
60a2270d1e7d0985901378bea83295b3df6bf127
Author
DerLinkman <[email protected]>
Date
over 1 year ago
Selected line
94
echo "$(clamd -V) is starting... please wait a moment."
Open commit View diff
94 echo "$(clamd -V) is starting... please wait a moment."
andryyy over 7 years ago 889b260

[ClamAV] Set prio of clamd parent to 10, fixes #2174

Full commit hash
889b260b7df119190d9fa47d20bba43dbc7e7db4
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
95
nice -n10 clamd &
Open commit View diff
95 nice -n10 clamd &
André almost 9 years ago c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
96
BACKGROUND_TASKS+=($!)
Open commit View diff
96 BACKGROUND_TASKS+=($!)
andryyy over 9 years ago 76426b6

Not of any use as of today

Full commit hash
76426b65b2a976cd2420830c9b3d27d987f39e49
Author
andryyy <[email protected]>
Date
over 9 years ago
Selected line
97
Open commit View diff
97
André almost 9 years ago c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
98
while true; do
Open commit View diff
98 while true; do
same change c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
99
  for bg_task in ${BACKGROUND_TASKS[*]}; do
Open commit View diff
99 for bg_task in ${BACKGROUND_TASKS[*]}; do
same change c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
100
    if ! kill -0 ${bg_task} 1>&2; then
Open commit View diff
100 if ! kill -0 ${bg_task} 1>&2; then
same change c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
101
      echo "Worker ${bg_task} died, stopping container waiting for respawn..."
Open commit View diff
101 echo "Worker ${bg_task} died, stopping container waiting for respawn..."
same change c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
102
      kill -TERM 1
Open commit View diff
102 kill -TERM 1
same change c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
103
    fi
Open commit View diff
103 fi
same change c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
104
    sleep 10
Open commit View diff
104 sleep 10
same change c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
105
  done
Open commit View diff
105 done
same change c5dd30b

[ClamAV] Use tini, check if background procs are running, use pipe to output to stdout

Full commit hash
c5dd30b058961dac520d71d07e5b6eed924a900c
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
106
done
Open commit View diff
106 done