On 8/13/07, Erland Nylend <[EMAIL PROTECTED]> wrote: > On 2007-08-13, 08:36, Gary V wrote: > > There is a MYUSERS policy bank, but keep in mind senders are often forged. > > This is from amavisd.conf-sample: > > I've seen it, but it seems to be unusable for what I'm trying to > accomplish. I want to set up separate settings for incoming mail > versus outgoing mail. > > I need a very similar policy bank, but one that is loaded when the > _recipient_ matches local_domains_maps, instead of the sender. > > If the recipient matches local_domains_maps, then load a specified > policy-map which contains settings for incoming mail. All other mail > is outgoing. >
All domains you accept mail for should be in @local_domains_maps. They would use the existing default policy bank (it has no name). This bank loads the settings in the config file (typically amavisd.conf). Then you use one or more other banks for outgoing mail - these would be based on client address or whether they are otherwize authenticated. > > I suppose I could also configure postfix to send incoming mail to > filtering on a different port than outgoing mail, and then use > different policy banks for incoming/outgoing. > > .. but that was what I hoped I wouldn't have to do, since amavisd > allready has all the information it needs to separate > incoming/outgoing. > > -- > Erland Nylend > -- Gary V ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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/
