Topic: Disclaimer
==== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.9.4
- Linux/BSD distribution name and version: Centos 7.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Good afternoon,
I would need to put a disclaimer txt or html on all outgoing emails. I saw from the documentation how to use the amavisd disclaimer but unfortunately in my case is not enough. I have a complicated cases on the management of emails disclaimers.
In the past I used this method : https://www.howtoforge.com/how-to-autom … an-squeeze and it has always worked well, also because I have customized the bash script.
I tried to add it on iRedMail server but it doesn't works, where am I wrong ?
I modified master.cf :
smtp inet n - n - 1 postscreen
-o content_filter=dfilt:
and added
dfilt unix - n n - - pipe
flags=Rq user=filter argv=/etc/postfix/disclaimer.sh -f ${sender} -- ${recipient}
but it doesn't works, it doesn't call the script /etc/postfix/disclaimer.sh.
It send the email but without disclaimer.
Thank you
Mark
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.