signature

Questions and answers about how to do stuff
Post Reply
Ravikant144
Posts: 1
Joined: 25 Nov 2014 07:16

signature

Post 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
User avatar
shawniverson
Posts: 3650
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: signature

Post by shawniverson »

You can disable the signature using EFA-Configure.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: signature

Post 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.
ovizii
Posts: 463
Joined: 11 May 2016 08:08

Re: signature

Post 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?
ovizii
Posts: 463
Joined: 11 May 2016 08:08

Re: signature

Post by ovizii »

Is this possible? Anyone? I suspect the outgoing signature messes up my DKIM signing :-/
User avatar
shawniverson
Posts: 3650
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: signature

Post 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
ovizii
Posts: 463
Joined: 11 May 2016 08:08

Re: signature

Post 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
User avatar
shawniverson
Posts: 3650
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: signature

Post 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
ovizii
Posts: 463
Joined: 11 May 2016 08:08

Re: signature

Post 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.
User avatar
shawniverson
Posts: 3650
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: signature

Post by shawniverson »

What if instead of no you put /dev/null ?
ovizii
Posts: 463
Joined: 11 May 2016 08:08

Re: signature

Post 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?
User avatar
shawniverson
Posts: 3650
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: signature

Post by shawniverson »

Look at Spam Actions and Non Spam Actions and remove the "custom" entry for each.
ovizii
Posts: 463
Joined: 11 May 2016 08:08

Re: signature

Post 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?
froman
Posts: 21
Joined: 29 Aug 2017 03:41

Re: signature

Post 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.
Post Reply