Page 1 of 1

Remove inline sig only from outbound e-mails

Posted: 08 Dec 2015 02:40
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.

Re: Remove inline sig only from outbound e-mails

Posted: 08 Dec 2015 23:08
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

Re: Remove inline sig only from outbound e-mails

Posted: 08 Dec 2015 23:15
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.