Hi, I read the documentation and searched the web but found on clear answer to my problem with amavis-new 2.6.4. The question is, will SQL lookup form table users take precedence over statically loaded maps?
My configuration is like this: @local_domains_maps = (read_hash('/etc/amavisd.d/local_domains')); and local domains are described int that file as: .local1.com .local2.com .local3.com This should define that inbound messages sent to previously defined domains will be considered as local and warning like this "Open relay? Nonlocal recips but not originating" should not appear in log file. Is this correct assumption? If it is then in real life it does not work. I tried to change the format of data in local_domains file by removing leading dots but that made no difference. Then I added a new line to users table like this "insert int users values (xxx,xxx,xxx, '@local1.com','# dummy comment',Y) and immediately those warning disappeared for this particular domain from log. This made me think that data read from SQL queries takes precedence over statically loaded data or there is a third way of formatting data stored in static maps. For example domains in that file should be formatted like this: @local1.com J. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org