[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Postfix auth & content_filter



> -----Original Message-----
> From: Chris Jones [mailto:chrisj@toplevel.net.au] 
> Sent: Thursday, August 24, 2006 2:42 AM
> To: Marek Podmaka
> Cc: debian-isp@lists.debian.org
> Subject: Re: Postfix auth & content_filter
> 
> 192.168.1.101:25 inet n  -       n       -       -       smtpd
>     -o content_filter=
>     -o
> smtpd_client_restrictions=permit_mynetworks,permit_sasl_authen
> ticated,reject
>     -o
> smtpd_helo_restrictions=permit_mynetworks,permit_sasl_authenti
> cated,reject
>     -o
> smtpd_sender_retrictions=permit_mynetworks,permit_sasl_authent
> icated,reject
>     -o
> smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_aut
> henticated,reject
>     -o mynetworks=127.0.0.0/8
> 
> Where 192.168.1.101 is the IP you want your users to use.
> -o content_filter= overrides the content filter for that ip, 
> and the other -o smtpd_*_restrictions ensure that only 
> authenticated users, or localhost, can use that ip.

I just tried it, but this permits mail from everyone to valid recipients -
allowing anyone to bypass the content filter. I want to allow mail only from
authentificated users and deny all other - no matter from sender/recipient
would be.

-- 
  bYE, Marki




Reply to: