2016-05-19 06:51:20 -05:00
<!DOCTYPE html>
2016-04-25 07:44:06 -05:00
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
< title > Sign disclaimer on outgoing mails< / title >
< link rel = "stylesheet" type = "text/css" href = "./css/markdown.css" / >
< / head >
< body >
2019-07-13 06:21:55 -05:00
2016-04-25 07:44:06 -05:00
< div id = "navigation" >
2017-11-16 21:48:44 -06:00
< a href = "https://www.iredmail.org" target = "_blank" >
2016-04-25 07:44:06 -05:00
< img alt = "iRedMail web site"
src="./images/logo-iredmail.png"
style="vertical-align: middle; height: 30px;"
/>
< span > iRedMail< / span >
< / a >
// < a href = "./index.html" > Document Index< / a > < / div > < h1 id = "sign-disclaimer-on-outgoing-mails" > Sign disclaimer on outgoing mails< / h1 >
< div class = "admonition note" >
< p class = "admonition-title" > Note< / p >
< p > If you're not sure which is Amavisd config file on your server, please
check our document to find it:< / p >
< ul >
< li > < a href = "./file.locations.html" > Locations of configuration and log files of major components< / a > < / li >
< / ul >
< / div >
< p > With iRedMail, it's able to sign disclaimer on outgoing email with Amavisd-new
and alterMIME, it is pre-configured but disabled by default.< / p >
< p > To enable the signing, please find setting in Amavisd config file < code > amavisd.conf< / code > :< / p >
< pre > < code > #$defang_maps_by_ccat{+CC_CATCHALL} = [ 'disclaimer' ];
< / code > < / pre >
< p > Uncomment the < code > $defang_maps_by_ccat< / code > line and restart Amavisd service will
enable signing disclaimer on outgoing email, default disclaimer text is stored
in < code > /etc/postfix/disclaimer/default.txt< / code > (Linux/OpenBSD) or
< code > /usr/local/etc/postfix/disclaimer/default.txt< / code > .< / p >
< p > If you need a per-domain disclaimer, please update setting < code > @disclaimer_options_bysender_maps< / code >
2018-01-12 09:16:37 -06:00
in Amavisd config file, add your domain name in correct syntax, then create
required file with disclaimer text. For example, for domain < code > example.com< / code > :< / p >
2016-04-25 07:44:06 -05:00
< pre > < code > @disclaimer_options_bysender_maps = ({
# domain 'example.com'
# disclaimer text file: /etc/postfix/disclaimer/example.com.txt
'example.com' => 'example.com',
# Catch-all disclaimer setting: /etc/postfix/disclaimer/default.txt
'.' => 'default',
},);
< / code > < / pre >
2016-05-19 06:51:20 -05:00
< p > Restarting Amavisd service is required each time you changed its config file.< / p > < div class = "footer" >
2019-09-06 00:54:43 -05:00
< p style = "text-align: center; color: grey;" > All documents are available in < a href = "https://github.com/iredmail/docs/" > BitBucket repository< / a > , and published under < a href = "http://creativecommons.org/licenses/by-nd/3.0/us/" target = "_blank" > Creative Commons< / a > license. You can < a href = "https://github.com/iredmail/docs/archive/master.zip" > download the latest version< / a > for offline reading. If you found something wrong, please do < a href = "https://www.iredmail.org/contact.html" > contact us< / a > to fix it.< / p >
2016-05-19 06:51:20 -05:00
< / div >
2017-11-05 02:33:58 -06:00
<!-- Global site tag (gtag.js) - Google Analytics -->
< script async src = "https://www.googletagmanager.com/gtag/js?id=UA-3293801-21" > < / script >
< script >
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
2016-04-25 07:44:06 -05:00
2017-11-05 02:33:58 -06:00
gtag('config', 'UA-3293801-21');
2016-04-25 07:44:06 -05:00
< / script >
< / body > < / html >