Page 1 of 1

attachments blockieren

Posted: Wed Mar 09, 2016 5:05 am
by hjh
Hi, ich will noch andere Attachments blockieren, als die, welche das Programm vorsieht. WIe bekommt man das hin, also zB *.asf und *.avi zu blockieren, bzw. eine Regel dafür zu erstellen?

Danke

Hajo

Re: attachments blockieren

Posted: Fri Mar 11, 2016 3:44 am
by rusticdog
Hallo Hajo

Wenn Sie einen Filter erstellen, sieht, dass in den Nachrichtentext für die folgenden regulären Ausdruck.

Code: Select all

^\s?filename=".+\.(asf|avi)"
Thanks
Chris via https://translate.google.com

Re: attachments blockieren

Posted: Tue Mar 15, 2016 3:53 am
by hjh
Vielen Dank, aber es funktioniert nicht. Was mache ich falsch? Das steht im Quelltext.

Ich habe hier die Anlage amexco.avi versandt, die gefiltert werden soll.

------=_NextPart_0000001_AEC
Content-Type: application/octet-stream;
name="amexco.avi"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="amexco.avi"

Was soll ich in die Regel einsetzen, damit alle attachments mit .avi gefiltert werden?

Danke

Hajo

Re: attachments blockieren

Posted: Tue Mar 15, 2016 11:01 am
by rusticdog
Hallo Hajo

Der von Ihnen erstellte Filter ist an der 'Body' für die Regex suchen?
Untitled.png
Untitled.png (26.79 KiB) Viewed 13324 times

Re: attachments blockieren

Posted: Wed Mar 16, 2016 1:51 am
by hjh
SUPER, thanks. No it works fine.
My mistake: didn't choose RegEx.

If i would like to add further attachments, for example *.abc (I know, that this isn't existing), do I have than to use

^\s?filename=".+\.(asf|avi|abc)"

for this rule?

Hajo

Re: attachments blockieren

Posted: Wed Mar 16, 2016 4:15 am
by rusticdog
Yes, that would work for filtering .abc files.