Bluehost.com Web Hosting $6.95

Re: howto disable filtering filtering for the contents of virtual_alias_table

This is a discussion on Re: howto disable filtering filtering for the contents of virtual_alias_table within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Wed, May 12, 2004 at 10:51:22AM +0200, LeVA wrote: > Hi! > > I'm running postfix ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-12-2004
Postfix-taa
 
Posts: n/a
Default Re: howto disable filtering filtering for the contents of virtual_alias_table

On Wed, May 12, 2004 at 10:51:22AM +0200, LeVA wrote:
> Hi!
>
> I'm running postfix 2.0.19.
> I've set up a filtering with the help of the README_FILES/FILTER_README
> file:
> master.cf:
> smtp inet n - y - 5 smtpd
> -o content_filter=filter:dummy
>
> [...]
>
> filter unix - n n - 5 pipe
> flags=Rq user=spam argv=/etc/postfix/filter_script/filter ${recipient}
>
>
> I wish to exclude the recepients in the /etc/postfix/virtual file from
> the filtering. Is this possible? I mean I only want to filter messages
> which are coming to my local users. In the virtual file there is
> redirecting from an email to another, and I don't want to filter those
> messages.
>


If you want to enable a filter for specific users, define the filter in
master.cf but do not add the "-o content_filter=xxx" to smtp.

Instead, add an access table to the top of your smtpd_recipient_restrictions like
this :
check_recipient_access hash:/etc/postfix/filter


... and in that table activate the filter :

-- /etc/postfix/filter :

user1@dom.com FILTER filter:dummy
dom2@com FILTER filter:dummy

Remember to do a 'postmap filter' .

/Torben
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:22 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0