Search found 106 matches

by keat63
23 Sep 2022, 11:56
Forum: MailScanner Front-End
Topic: MailScannerScript29528
Replies: 0
Views: 1154

MailScannerScript29528

Our O/S Commerce software sends an confirmation email to customers.
In the bottom of this email is a load of gibberish, which contains:
'MailScannerScript29528'

Any thoughts as to what this might be please ?
by keat63
03 Aug 2022, 08:50
Forum: MailScanner Front-End
Topic: deny filenames
Replies: 1
Views: 1390

deny filenames

in the config pages is an option to deny filenames. Deny any attachment filenames matching any of the patterns listed here. If this setting is empty, it is ignored and no matches are made. This can also be the filename of a ruleset. This rule seems to be blocking the whole file name and not just the...
by keat63
14 Jun 2022, 08:48
Forum: MailScanner Front-End
Topic: rules no longer working
Replies: 13
Views: 3777

Re: rules no longer working

I've no ide what i'd be doing, and generally I would experiment and see what I get. However, I'm not sure that I dare run the file command in this instant, the files in question are virus infected files. so Instead I created an empt xls and then zipped this. Running the file command gave: Book1.xls:...
by keat63
13 Jun 2022, 18:07
Forum: MailScanner Front-End
Topic: will mailscanner allow block rule based on message header
Replies: 0
Views: 1169

will mailscanner allow block rule based on message header

Is it possible to create some form of block rule based on headers.

ie, if headers conatins xyz, don't deliver, or drop or reject of fail
by keat63
13 Jun 2022, 18:05
Forum: MailScanner Front-End
Topic: rules no longer working
Replies: 13
Views: 3777

Re: rules no longer working

Filename.rules and filetype.rules look slightly different when you open them
Anyhow I added

deny \.xls$
deny \.zip$
to filetype.rules, too early to tell if this is working just yet.
by keat63
13 Jun 2022, 13:30
Forum: MailScanner Front-End
Topic: rules no longer working
Replies: 13
Views: 3777

Re: rules no longer working

Quite clearly sisn't working as a zip file got through today.
All the while I thought this rule was working and it just be that the virus was detected so clamv blocked them not mailscanner.
How would I go about blocking file types
by keat63
10 Jun 2022, 17:10
Forum: MailScanner Front-End
Topic: rules no longer working
Replies: 13
Views: 3777

Re: rules no longer working

Infection MailScanner: (file_name.xls)
But if I scan the attachment, the file is actually an xlsx file.
It looks like the deny .xls rule picked up on the file extension containing xls, but my allow xlsx rule didn't
by keat63
08 Jun 2022, 14:30
Forum: MailScanner Front-End
Topic: rules no longer working
Replies: 13
Views: 3777

Re: rules no longer working

I thought it was but still have a bit of an issue.

I'm denying xls files for the time being due to a virus attack.
But I want to allow xlsx.
However xlsx are being also blocked.

Should the allow xlsx rule be placed maybe before the deny xls one ?
by keat63
07 Jun 2022, 12:43
Forum: MailScanner Front-End
Topic: rules no longer working
Replies: 13
Views: 3777

Re: rules no longer working

i've been trying all sorts this morning, and only just found that there may have been a space where there should have been a tab.
considering I copied and modified a rule above, can only make me think that one of the rules above has the error and I copied it.
by keat63
07 Jun 2022, 11:57
Forum: MailScanner Front-End
Topic: rules no longer working
Replies: 13
Views: 3777

rules no longer working

I've added a few file extensions to /usr/mailscanner/etc/filename.rules.conf deny \.xls$ deny \.zip$ I've forced a rules update, i've stopped and restarted mailscanner, but these files are still allowed to pass. I've copied rules from lines above and just modified the .xxx extension, but again, can'...