Remove inline sig only from outbound e-mails

Questions and answers about how to do stuff
Post Reply
sg88
Posts: 2
Joined: 08 Dec 2015 02:11

Remove inline sig only from outbound e-mails

Post by sg88 »

Is there a way to only disable the inline signature on outbound relay e-mails? I'd still like the inline signature on incoming non-spam and spam, but do not want anything when heading out. Changing the sig rules by removing the default and only leaving to: 'mydomain' doesn't seem to do stop the outbound inline behavior.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Remove inline sig only from outbound e-mails

Post by shawniverson »

Change from:

Code: Select all

To: *@yourdomain.tld /etc/MailScanner/reports/en/inline.sig.in.html
To: default /etc/MailScanner/reports/en/inline.sig.out.html
To:

Code: Select all

To: *@yourdomain.tld /etc/MailScanner/reports/en/inline.sig.in.html
Don't forget to restart MailScanner and edit the text version as well, if necessary.

Code: Select all

sudo service MailScanner restart
sg88
Posts: 2
Joined: 08 Dec 2015 02:11

Re: Remove inline sig only from outbound e-mails

Post by sg88 »

Yep I did that but the signature was still being appended to all outbound e-mails. Looking further I noticed it wasn't using inline.sig.out.html and txt at all, but rather it was using /etc/MailScanner/reports/en/inline.sig.txt and inline.sig.html.

Where are these particular signatures being called from, as I could not find them in the MailScanner.conf? The only way I could stop it was by renaming them to .bak.
Post Reply