Page 1 of 1

signature

Posted: 25 Nov 2014 07:21
by Ravikant144
Hi

Any One can suggest me how can i remove Signature

This message has been scanned for viruses and dangerous content by
E.F.A. Project, and is believed to be clean.


Thanks

Re: signature

Posted: 28 Nov 2014 16:34
by shawniverson
You can disable the signature using EFA-Configure.

Re: signature

Posted: 18 Mar 2015 12:46
by pdwalker
(for completeness, from
viewtopic.php?f=14&t=684&p=1871&hilit=d ... ture#p1871 )

Use efa-configure --> Spam Settings --> Non-Spam Settings

You can disable signatures here.

Re: signature

Posted: 19 Jan 2017 11:38
by ovizii
looks like this is a complete ON/OFF settings, I am however looking to only disable adding signatures to OUTGOING emails.

I looked around and it seems this rule could be the solution: sig.html.rules + sig.txt.rules
this is what the first one looked like originally:

Code: Select all

To: default /etc/MailScanner/reports/en/inline.sig.out.html
To: *@mydomain1.de /etc/MailScanner/reports/en/inline.sig.in.html
To: *@mydomain2.de /etc/MailScanner/reports/en/inline.sig.in.html
so I tried modifying it:

Code: Select all

To: default /etc/MailScanner/reports/en/inline.sig.out.html
To: *@mydomain1.de /etc/MailScanner/reports/en/inline.sig.in.html
To: *@mydomain2.de /etc/MailScanner/reports/en/inline.sig.in.html
From: *@mydomain1.de no
From: *@mydomain2.de no
but a MailScanner --lint warned me:

Code: Select all

Could not read file no at /usr/share/MailScanner/perl/MailScanner/Config.pm line 2856
Syntax error in line 4 of ruleset file /etc/MailScanner/rules/sig.html.rules at /usr/share/MailScanner/perl/MailScanner/Config.pm line 2803
Any ideas how to do this?

Re: signature

Posted: 31 Jan 2017 13:10
by ovizii
Is this possible? Anyone? I suspect the outgoing signature messes up my DKIM signing :-/

Re: signature

Posted: 03 Feb 2017 10:41
by shawniverson
Try this, drop the first line:

Code: Select all

To: *@mydomain1.de /etc/MailScanner/reports/en/inline.sig.in.html
To: *@mydomain2.de /etc/MailScanner/reports/en/inline.sig.in.html

Re: signature

Posted: 07 Feb 2017 09:17
by ovizii
Didn't seem to work out in the sense that mails still get signed going in and out so now I am determined to stop signing them altogether in order to sort out my DKIM headers.

I went to efa-configure --> Spam Settings --> Non-Spam Settings and disabled signing non-spam emails.

Inside /etc/MailScanner/MailScanner.conf

Code: Select all

Inline HTML Signature = %rules-dir%/sig.html.rules
Inline Text Signature = %rules-dir%/sig.text.rules
Sign Messages Already Processed = no
Sign Clean Messages = No
cat /etc/MailScanner/rules/sig.text.rules

Code: Select all

To: default /etc/MailScanner/reports/en/inline.sig.out.txt
To: *@mydomain2.de /etc/MailScanner/reports/en/inline.sig.in.txt
To: *@mydomain2.de /etc/MailScanner/reports/en/inline.sig.in.txt
/etc/MailScanner/reports/en/inline.sig.out.txt has content

cat /etc/MailScanner/rules/sig.html.rules

Code: Select all

To: default /etc/MailScanner/reports/en/inline.sig.out.html
To: *@prehcm.de /etc/MailScanner/reports/en/inline.sig.in.html
To: *@prehcmservices.de /etc/MailScanner/reports/en/inline.sig.in.html
/etc/MailScanner/reports/en/inline.sig.out.html has content

Re: signature

Posted: 07 Feb 2017 11:22
by shawniverson
I would be curious if this might work:

Code: Select all

To: default no
To: *@prehcm.de /etc/MailScanner/reports/en/inline.sig.in.html
To: *@prehcmservices.de /etc/MailScanner/reports/en/inline.sig.in.html

Re: signature

Posted: 08 Feb 2017 13:07
by ovizii
sorry to say but deleting the "default" line then /etc/init.MaiLScanner reload doesn't change anything, I still get footers added for outgoing emails.

Changing the default to no gives the same syntax error as I first reported.

Re: signature

Posted: 08 Feb 2017 18:24
by shawniverson
What if instead of no you put /dev/null ?

Re: signature

Posted: 09 Feb 2017 10:40
by ovizii
OK, this is officially driving me insane. I can't test /dev/null "live" I might give it a try over the weekend.

BUT I just set this up in MailScanner.conf

Code: Select all

Sign Clean Messages = No
RESTARTED MailScanner and guess what? I still get a footer added to my outgoing messages:
--
This message has been scanned for viruses and dangerous content by
our in-house Email Filtering Appliance, and is believed to be clean.
I really just want to disable any and all footers, in and outgoing. Any advice on how to do that?

Re: signature

Posted: 09 Feb 2017 11:08
by shawniverson
Look at Spam Actions and Non Spam Actions and remove the "custom" entry for each.

Re: signature

Posted: 09 Feb 2017 11:26
by ovizii
ah, thanks for clarifying.

- is that all that the custom action does?
- are there any drawbacks to simply doing this inside the conf file vs. the EFA interface?

Re: signature

Posted: 05 Mar 2018 04:43
by froman
in effect, when the E.F.A puts the footer, the dkim signature gets invalid.

I'm trying to disable the signature only on the outgoing clean mails, but it doesn't work, the only way I found is disable the clean message signature, but this is for incoming and outgoing emails.