On Wednesday 30 June 2010 18:12:39 Michael Scheidell wrote:
> On 6/30/10 11:52 AM, Stefan Jakobs wrote:
> > Hello list,
> > 
> > I'm using amavisd-new 2.6.4 with postfix 2.5.6. I would like to use my
> > postfix relay_domains list as amavisd's @local_domains_maps. Therefore i
> > have in my amavisd.conf:
> > 
> > @local_domains_maps = ( read_hash('/etc/postfix/relay_domains'));
> 
> works for me.
> 
> @local_domains_maps = read_hash("$MYHOME/etc/local_domains");
> 
> (you might have a problem if you use amavisd sql settings and don't take
> into account 'local='Y', N" or NULL)

I use amavisd sql settings for pen-pals, but not for user management.

> >>amavisd won't recognise a subdomain as a local domain
> 
> are you talking about DOMAINS or subdomains?  if its a subdomain, I
> would suspect you need it in the 'relay_domains' file.

I'm talking about subdomains, e.g. my domain is example.com and my subdomains 
are all domains under example.com, like foo.example.com.

In my 'relay_domains' file I have only:
example.com
because parent_domain_matches_subdomains = relay_domains.

If I add 
example.com
to my 'relay_domains' file will amavisd then recognize the subdomains?

Thanks for your help and best regards.
Stefan

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
AMaViS-user mailing list
[email protected] 
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

Reply via email to