Azarmfa / iredmail

Automatically exported from code.google.com/p/iredmail
0 stars 0 forks source link

Amavis local domains not updated #85

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
- Which OS and version are you running? Debian 7
- Which version of iRedMail and/or iRedAdmin-Pro are you running? 0.8.7 MySQL

in /etc/amavis/conf/50-user

is the list of domains to be considered local setup at installation time.

@local_domains_maps = ['Mailserver_FQDN', '<initial_domain>']

unfortunately, this list is not updated for domains added to the server.

This list is responsible if a mail is considered inbound or outbound by amavis 
and effects several other config options like ie:

$sa_tag_level_deflt = -1; # add spam info headers early, use -9999 for always
$sa_tag2_level_deflt = 5.0; # add 'spam detected' headers at that level

Original issue reported on code.google.com by jochen.h...@gmail.com on 17 Jul 2014 at 11:49

GoogleCodeExporter commented 8 years ago
Try "@local_domains_maps = 1;", it's default setting in the latest iRedMail 
(0.8.7).

Original comment by michaelb...@gmail.com on 17 Jul 2014 at 3:28

GoogleCodeExporter commented 8 years ago
"@local_domains_maps = 1;"

makes every Mail local, incoming like outgoing. That's plain wrong and useless!

The solution here works for me: 
http://www.iredmail.org/forum/post32067.html#p32067

Original comment by jochen.h...@gmail.com on 21 Jul 2014 at 10:22