diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-09-14 22:58:44 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-09-14 22:58:44 -0300 |
commit | e21bed0a7d241f934568f46dd0490e80367278b2 (patch) | |
tree | 609867679873fcb698abfdc3b3480239e04a2fcb /files/amavisd/05-domain_id | |
parent | 34c9f79dca7627133410899664287ce2bb600b6a (diff) | |
download | puppet-mail-e21bed0a7d241f934568f46dd0490e80367278b2.tar.gz puppet-mail-e21bed0a7d241f934568f46dd0490e80367278b2.tar.bz2 |
Configuring amavisd local_domains_acl
Diffstat (limited to 'files/amavisd/05-domain_id')
-rw-r--r-- | files/amavisd/05-domain_id | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/files/amavisd/05-domain_id b/files/amavisd/05-domain_id new file mode 100644 index 0000000..be37f5c --- /dev/null +++ b/files/amavisd/05-domain_id @@ -0,0 +1,19 @@ +use strict; + +# $mydomain is used just for convenience in the config files and it is not +# used internally by amavisd-new except in the default X_HEADER_LINE (which +# Debian overrides by default anyway). + +chomp($mydomain = `head -n 1 /etc/mailname`); + +# amavisd-new needs to know which email domains are to be considered local +# to the administrative domain. Only emails to "local" domains are subject +# to certain functionality, such as the addition of spam tags. +# +# Default local domains to $mydomain and all subdomains. Remember to +# override or redefine this if $mydomain is changed later in the config +# sequence. + +@local_domains_acl = ( "." ); + +1; # ensure a defined return |