On Sat, March 27, 2010 12:32 pm, Mark Martinec wrote:

>> I already have delimiter set
>> # grep delimiter amavisd.conf
>> $recipient_delimiter = '+';  # undef disables address extensions
>> altogether

> $addr_extension_spam is undef by default, so you also need:
> $addr_extension_spam = 'spam';

> And make sure your @local_domains_maps is configured correctly,
> address extensions are only added for local recipients.


Mark, thanks

#grep local_domains_maps amavisd.conf
@local_domains_maps = ( [".$mydomain"] );  # list of all local domains

so, I need to list all my domains like:

@local_domains_maps = ( [".$mydomain", "example2.com", "example3.com"] );

as my domains are in MySQL, I guess I can put a MySQL call ?

'select domain from domain' ?



-- 
Voytek


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to