In response to my own email, I thought of an idea ...

What if there was a new command for the "bofh" file called
"goodfrom"?  If a sender matched a "goodfrom" line, then this sender
would be accepted and no more "bofh" processing would take place.
With this proposed command, I could implement the functionality I
desire (quoted below) by making my "bofh" file look like this:

  goodfrom  [EMAIL PROTECTED]
  goodfrom  [EMAIL PROTECTED]
  goodfrom  [EMAIL PROTECTED]
  ... etc. ...
  badfrom   @mydomain1.com

  goodfrom  [EMAIL PROTECTED]
  goodfrom  [EMAIL PROTECTED]
  goodfrom  [EMAIL PROTECTED]
  ... etc. ...
  badfrom   @mydomain2.com

  ... etc. ...

I know that this would be a Courier enhancement, and therefore it
would not be implemented without a lot of forethought and discussion
... so what do you folks think of this idea?


> [ NOTE: this is a repost of an earlier message of mine ]
> 
> I'm a user of Courier 0.38.1 under FreeBSD 4.0.
> 
> I'm trying to set up a variation of BOFH filtering under Courier.
> The following pseudo-code describes the filtering logic that I'd
> like to implement:
> 
>  FOR each address "addr" within the 'From' and 'From:' headers:
> 
>    IF  domainOf(addr) IS a valid domain for my system
>    AND useridOf(addr) IS NOT a valid user/alias for that domain  
> 
>      REJECT email
> 
> In other words, I want to reject all email which purports to have
> been sent from a domain hosted on my system, but for which the
> userID of the sender's stated address is NOT a valid user ID or
> alias on my system.
> 
> This seems to go beyond the capabilities offered by the command set
> that's used within Courier's "bofh" file.  Short of my writing a
> custom filter (which I'm willing and able to do if necessary), is
> there any other way that I can implement this filtering under
> Courier?
> 
> Thanks in advance.
> 
> -- 
>  Hippo Man
>  [EMAIL PROTECTED]
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

-- 
 Hippo Man
 [EMAIL PROTECTED]


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to