mouss wrote:
> Cory Coager wrote:
>   
>> I'm using postfix + amavisd-new (from Maia Mailguard).  I want to add a
>> disclaimer using altermime on outgoing emails only.  How do I accomplish
>> this?
>>
>>     
>
> The altermime web page recommends
> http://www.paw.za.org/docs/howtos/postfix-altermime/postfix-altermime-howto.html
>
> The postfix FILTER README has many infos on filter setups. you'll need
> to "reverse" the config described in
>       http://www.postfix.org/FILTER_README.html#remote_only
>
>
> if you are passing all mail through amavisd-new, consider using multiple
> ports and policy banks to keep the in/out flows separate.
>   
I just read up on policy banks but all they talk about is the
originating source.  The email may have originated from your internal
network but doesn't necessarily mean its going to be sent outside the
network.  I see no variable or method of distinguishing an email thats
destined for the outside world vs. one that is delivered locally.  The
way mine is configured is as follows:

email comes in to server:25 (postfix) > sends it to localhost:10024
(amavis) > sends it to localhost:10025 (postfix)

All mail travels the same path.  Its easy to alter a locally delivered
email because you specify it in postfix's master.cf but there is nothing
you can do for an email that isn't delivered locally from what I see. 
Am I missing something?
-------------------------------------------------------------------------
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
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/

Reply via email to