Re: Different content-filters for sasl authenticated users

From: Victor Duchovni (no email)
Date: Wed Aug 10 2005 - 20:19:10 EDT

  • Next message: Wietse Venema: "Re: *_bcc_maps bounce behavior"

    On Wed, Aug 10, 2005 at 07:23:08PM -0400, Wietse Venema wrote:

    > :
    > > Hello there,
    > >
    > > First of all, I use postfix with amavisd-new as content-filter.
    > > Amavisd-new calls Spamassassin that checks some RBLs. My problem is that
    > > some users connects from ips blacklisted by several RBLs and that is
    > > making the mail to be dropped by amavis due to the high score. For now,
    > > I turned off the RBLs from spamassassin, but I would like to keep it if
    > > possible (and avoiding rising the score in amavis too). I've done some
    > > search and found some page about using different content filters by
    > > client, but there is any way to configure postfix to use a different
    > > content-filter for sasl-authenticated users?
    >
    > /etc/postfix/main.cf:
    > smtpd_sender_restrictions = hash:/etc/postfix/sender_access
    >
    > /etc/postfix/sender_access:
    > filter yyy:zzz
    >

    Also if this is just authenticate vs. unauthenticated without regard
    to the particular senders:

        main.cf:
            content_filter = sasl_sender_filter:sasl_sender_nexthop
            smtpd_sender_restrictions =
                    permit_sasl_authenticated,
                    check_client_access regexp:/etc/postfix/filter_all

        filter_all:
                /^/ FILTER non_sasl_filter:non_sasl_nexthop

    -- 
    	Viktor.
    Disclaimer: off-list followups get on-list replies or get ignored.
    Please do not ignore the "Reply-To" header.
    To unsubscribe from the postfix-users list, visit
    http://www.postfix.org/lists.html or click the link below:
    <mailto:?body=unsubscribe%20postfix-users>
    If my response solves your problem, the best way to thank me is to not
    send an "it worked, thanks" follow-up. If you must respond, please put
    "It worked, thanks" in the "Subject" so I can delete these quickly.
    

  • Next message: Wietse Venema: "Re: *_bcc_maps bounce behavior"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD