Commit graph

105 commits

Author SHA1 Message Date
SamitOC 9162834ed6 Update Message.pm (#209)
Commented out the space escape in filename as this is causing the opposite effect. Unrar only works when the spaces aren't escaped.
2018-07-27 13:41:55 -04:00
Shawn Iverson 4aeacbb529
Refactor scanning loop (#208) 2018-07-24 21:25:15 -04:00
Shawn Iverson 09c0d0c2c7
Better AV Scan loop with retry attempts (#207)
AV Scan retry loop
2018-07-24 19:51:26 -04:00
Shawn Iverson 39f234785e
Support enable_original_recipient no (#201) 2018-07-12 17:39:50 -04:00
Shawn Iverson 7c121ba493
Update 5.0.7-4 (#183)
* Update 5.0.7-4

* Allow wildcards in phishing lists

* Update changelog
2018-06-16 11:28:10 -04:00
Shawn Iverson 28369a52ee
Switch to gzipped phishing update files (#182)
* Switch to gzipped phishing update files

* debugging and sanity check
2018-06-16 08:56:38 -04:00
T.J eb13773c94 fix for those who don't want a virus scanner or haven't yet installed one but want to take advantage of SpamAssassin (#181) 2018-05-28 11:52:35 -04:00
Giorgio Premi b3b33aa7e2 fixup! Fix Configuration chaining for Sa rules actions in rulesets (#179) 2018-05-23 05:53:23 -04:00
Giorgio Premi 40f81a416c Fix Configuration chaining for Sa rules actions in rulesets (#178) 2018-05-16 06:41:31 -04:00
Shawn Iverson efac485428
Fix mime decoding deprecation (#175)
Fixes #174
2018-05-06 12:15:57 -04:00
Louis van Belle c94d3d1d71 Thctlo patch msinit fix rotating (#165)
* Fix bug, wrong use in systemd file

syslog reports :  [/lib/systemd/system/mailscanner.service:19] Executable path is not absolute, ignoring: no
Removed the reload line from mailscanner.service file.

* disable rotating sign when stopping or deadpid.
2018-03-06 06:38:29 -05:00
Louis van Belle 7f130b7528
Fix bug, wrong use in systemd file
syslog reports :  [/lib/systemd/system/mailscanner.service:19] Executable path is not absolute, ignoring: no
Removed the reload line from mailscanner.service file.
2018-03-06 08:45:43 +01:00
Giorgio Premi 072e47788e Message::SafePipe: make sure $? respect process exit code 2018-03-01 09:14:20 +01:00
Andrew Colin Kissa 86cde73a97
FIX: Untaint the $safename var in unpack7zip
Prevent the taint error in open when the file is encrypted.
2018-02-23 09:40:43 +02:00
Shawn Iverson fe091914a4 Update 2 for 5.0.7-2 2018-02-04 10:50:59 -05:00
Shawn Iverson 36ac01e01d Fix Issue #149
Suppress output for cron
Use ms-init reload for ExecReload instead of kill o prevent detacting custom perl module children from process tree.
2018-02-03 08:27:24 -05:00
Shawn Iverson ecad26caca Fix Issue #143 2018-02-03 08:15:03 -05:00
Shawn Iverson aa680f5fec Fix restart ms-update-bad-emails 2018-01-27 09:15:36 -05:00
Louis van Belle 98bffbc4c4 fixes #144 reload problem mailwatch (#146)
* fixes #144 reload problem mailwatch

added systemctl restart commands

* Update install.sh with more extracters

Added extracters mailscanner/clamd can use.
2018-01-27 09:08:20 -05:00
Mark Sapiro c844c0a576
Remove spaces from CURLORWGET = 'wget' 2018-01-04 13:17:20 -08:00
dirk-de-bugger ef919b99b5 Fix one typo and a bit of grammar in DE translations. 2018-01-01 21:06:36 +01:00
Shawn Iverson a25cb9a743 mariadb dependency for systemd 2017-12-31 09:30:57 -05:00
Shawn Iverson 82c614e74d
Merge pull request #47 from giosh94mhz/chain_sa_rules
Fix configuration chaining for spamassassin rules actions
2017-12-02 18:52:08 -05:00
Shawn Iverson bf67a0fa0b 7zip support 2017-12-02 13:23:06 -05:00
Shawn Iverson a7036442d7
Merge pull request #119 from shawniverson/111817fixunpack
Escape space before passing to unrar extract
2017-11-19 13:21:39 -05:00
Shawn Iverson 2984dda429 Add gz 2017-11-18 20:10:22 -05:00
Shawn Iverson 96e02d65c7 Escape space before passing to unrar extract 2017-11-18 20:04:00 -05:00
Shawn Iverson 2049b107b0 Merge pull request #110 from msapiro/fix_109
Fix parsing an email address into local-part and domain
2017-10-21 16:32:28 -04:00
Mark Sapiro cefaecddf1 Fix parsing an email address into local-part and domain
Email addresses containing a quoted @ in the local part parsed the domain incorrectly.
2017-10-20 11:41:13 -07:00
Shawn Iverson fae0549f02 Merge pull request #90 from msapiro/Fix_89
Fix 89
2017-09-21 10:27:57 -04:00
Mark Sapiro ad814acdcd Point broken links to the wayback machine. 2017-09-20 13:12:58 -07:00
Mark Sapiro a72e2ca63d Fix finding of configured SyslogFacility. 2017-09-06 13:14:49 -07:00
Mark Sapiro 72dca70f34 Properly detect long Queue IDs 2017-09-03 10:19:52 -07:00
Shawn Iverson 1b76e1d022 Fixes for 5.0.6-4
Fixes Issue #82
Fixes Issue #84
Minor return code check added for ms-init during service reload
Update documentation
Add ms_cron_ps_restart to /etc/MailScanner/defaults
Bump revision
2017-08-27 17:43:54 -04:00
Shawn Iverson 253adf0fff New phishing sites update 2017-08-20 17:47:50 -04:00
Shawn Iverson 8385adac35 Issue #62 Fix 2017-08-16 19:51:30 -04:00
Shawn Iverson 80d32d61cf ms-init refactoring and fixes
Normalize styling
Refactor dead pid/rogue process cleanup
Remove PID properly during stop
Better error handling of all possible return values
Remove spinner upon completion
Move logger entries closer to echos where possible for consistency
Refactor spinner code
Increase spinner duration to 60 seconds from 40 seconds
Update modfication date
Fixes #71
2017-08-04 06:18:07 -04:00
Shawn Iverson ed70848cb3 Fix ms-init hanging
Prevent ms-init from mistaking itself as a MailScanner process.
2017-07-24 18:09:17 -04:00
Shawn Iverson d6fbd99d32 Merge pull request #61 from Rico29/patch-1
Update sender.filename.report.txt
2017-07-24 17:28:49 -04:00
Shawn Iverson 38240e64a9 Merge pull request #59 from msapiro/master
Bring Spam List documentation in line with current spam.lists.conf.
2017-07-24 17:28:04 -04:00
Shawn Iverson 9a75b7ce38 Reapply minor updates
Replay relevant changes from f89bea2e9a
2017-07-23 13:18:42 -04:00
Shawn Iverson 42aae129f6 Revert "Merge remote-tracking branch 'origin/master'"
This reverts commit b02c2fbbfd, reversing
changes made to ae878a57a6.
2017-07-23 12:32:39 -04:00
Rico29 aa16144d99 Update sender.filename.report.txt
Typo correction : "Noter" should be "Notre"
2017-07-11 11:07:29 +02:00
Mark Sapiro 61f0eae3fe Bring Spam List documentation in line with current spam.lists.conf. 2017-07-04 20:57:40 -07:00
Jerry.Benton b02c2fbbfd Merge remote-tracking branch 'origin/master'
# Conflicts:
#	debian/DEBIAN/postinst
#	rhel/mailscanner.spec
2017-06-08 07:22:28 -04:00
Jerry.Benton f89bea2e9a minor updates 2017-06-08 07:20:54 -04:00
shawniverson 282ac3e673 systemd enhancements
cleanup mailscanner.spec spacing
add systemd logic
add ms-systemd
add ms-sendmail*
2017-06-06 18:41:40 -04:00
dwhile 66c929ba82 Race condition on restart
Both ms-init and MailScanner try to reomve the PID file when stopping. This change stops ms-init from removing the file and adds a wait until the file is removed by MailScanner until continuing.
2017-04-28 09:53:32 +01:00
Christophe GRENIER f92a1d1a78 Quiet wget and curl in ms-update-safe-sites 2017-04-27 12:23:27 +02:00
Christophe GRENIER 4ff9f2719e Update ms-update-bad-sites
Quiet curl and wget
2017-04-27 12:22:02 +02:00