Hi, Yes, I know that is one way to do it, but the downside is that I have to have one policy per domain in my case. This is not my intention. There must be a better way to handle it?
Thanks. Nicklas -----Original Message----- From: Johan Bj örk [mailto:[EMAIL PROTECTED] Sent: den 3 juni 2005 14:45 To: Nicklas Bondesson Cc: amavis-user@lists.sourceforge.net Subject: Re: [AMaViS-user] General question about amavisd-new variables > Hi, > > I have a question about variables in amavisd-new. I'm looking for a > way to let each domain have it's own virus admin based on the blocked > recipient domain. > > Something like this, where $(domain) should be replaced with a valid > variable: > > $virus_admin = "[EMAIL PROTECTED](domain)"; > > How do one extract the domain part of an email address? I have looked > through the documentation and Googled but I can't find anything on the > subject. > Hello, If you are using sql you can use policy.virus_admin for that. See README.sql /johan ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/