1

Topic: Disclaimer and attachment error

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? Yes
- Linux/BSD distribution name and version: Ubuntu 18.04.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I am having the problem that when I enable the disclaimer in Amavis, my attachments are being encoded into the body of the message. The email text is okay and the disclaimer is readable but at the end of the message is a body of text which is gibberish as below:

Test

--
Regards,

My Identity
ICT, IoT, Education and Media
+Phone Number


DISCLAIMER The information in this message is confidential and is legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If received in error please notify the sender immediately and delete from your machine. If you are not the intended recipient, any use, disclosure, copying, distribution or action taken in reliance of it, is prohibited and may be unlawful. The information, attachments, opinions or advice contained in this email are not the views or opinions of My Company (Pvt) Ltd, its subsidiaries or associates. My Company therefore accepts no liability for claims, losses, or damages arising from the inaccuracy, incorrectness, or lack of integrity of such information.--------------21C9A19EE04935928C768166
Content-Type: application/pdf;
name="test1.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="test1.pdf"

JVBERi0xLjcKCjQgMCBvYmoKKElkZW50aXR5KQplbmRvYmoKNSAwIG9iagooQWRvYmUpCmVu
ZG9iago4IDAgb2JqCjw8Ci9GaWx0ZXIgL0ZsYXRlRGVjb2RlCi9MZW5ndGggMzM5NTIKL0xl
bmd0aDEgODE2NjQKL1R5cGUgL1N0cmVhbQo+PgpzdHJlYW0KeJzsfQdAFFfX9p3Z2cIuHQQE
kcUFRGlLE1CRJggiSlXARhd0KaHYjYgdY429oiaW2BawYNfYe4slxRhN7GKLXWH/c+fOwIqa
8n7v+3//93/Z8bnPuXXOPffcMrMbgiiEkCkEDArsHBfRZcK0ZmYIzbBAyHpzl86hYTteHTyH
0IaTCAnKukT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acjf43f/6bfCwweXxxUeFnBfl5uapBA3Oy
B2RlZqT179e3T+/kpMSE+LjYmOge3aujukV2jQjvEhbaOSQ4KDCgk3/HDu39fH3aebu5ujg7
OtjbKVrZWJgaGRroyaQ6ErFIyAhoCjmHKsJS5GqHFDXjoAgPd8FxRSokpGolpKjlkBT2fhm1

I have cut off the rest because it just goes on and on and on

2

Re: Disclaimer and attachment error

Unfortunately, altermime program may not work well since it's been abandoned and not under maintenance for more than 10 years. sad

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3

Re: Disclaimer and attachment error

ZhangHuangbin wrote:

Unfortunately, altermime program may not work well since it's been abandoned and not under maintenance for more than 10 years. sad

Is there an alternative way of pasting a disclaimer to all outgoing emails?

4

Re: Disclaimer and attachment error

mukarakate wrote:

Is there an alternative way of pasting a disclaimer to all outgoing emails?

Currently seems altermime is the only one (FOSS) option.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee