[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sender blocking policy problem
On Wed, 18 Jun 2003, Matti Aarnio wrote:
> On Wed, Jun 18, 2003 at 09:28:01AM -0400, Cheeman Leung wrote:
> > Hello,
> > I am using Debian zmailer 2.99.55-3 and having trouble setting up the
> > blocking policy. What I wanted to do is to allow only certain
> > sender(s) from a certain domain but disallow the rest. In the
> > smtp-policy.src file, I setup an entry like this:
> > . rejectsource -
> You can't make "." define other than what the boiler plate shows.
> Non-defined 'rejectsource' acts exactly like 'rejectsource -', so
> in essence all versions of smtp-policy.src "." templates are
> equivalent in this regard. However there are other things that
> _must_ be defined, leaving them unset isn't ok!
> Actually we need macroes for those boilerplate defaults, so that
> other users may refer to them a bit easier.. Hmm..
> . = _default_dot
> [0.0.0.0]/0 = _default_ip
> and alike macro labels into original ".". and "[0.0.0.0]/0" lines.
Pseudocode for policy-test mail_from address:
if "rejectsource +" attribute found for email@example.com
if "rejectsource +" attribute found for do.main
"rejectsource" atribute can't be used to allow single email
if all domain disabled.
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to firstname.lastname@example.org