1

Topic: How can I add disclaimer to vacation autreply

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  v2.2.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Apache
- Linux/BSD distribution name and version: Redhat7
- Related log if you're reporting an issue:
====

Hi, I have already iredmail-pro running well. I followed this http://www.iredmail.org/forum/topic210- … mails.html
and succesfully appended disclaimer message to all outgoing mail. May I know how can I append disclaimer message to all vacation autoreply as well. I found no way to do this. The autoreply can only work from composing a new mail.

What log or config should i give u?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: How can I add disclaimer to vacation autreply

Content filter Amavisd calls 'altermime' to insert disclaimer, so if your email doesn't go through amavisd, you don't get disclaimer.

Vacation message is sent by Dovecot and not submitted through smtp/submission, so it won't go through Amavisd. The only way i can figure out is updating /etc/postfix/master.cf, update 'pickup' transport to use a content filter like this:

pickup    unix  n       -       n       60      1       pickup                                                           
    -o content_filter=smtp-amavisd:[127.0.0.1]:10024

warning: with this setting, all emails sent from localhost will go through Amavisd, this may slightly slow down mail sending process due to additional spam/virus scanning.

3

Re: How can I add disclaimer to vacation autreply

thank you so much Zhang, let me try on my own!