Re: header check question

From: jeff donovan (no email)
Date: Fri May 09 2008 - 13:47:50 EDT

  • Next message: D Hill: "Re: trivial-rewrite valid_ipv4_hostaddr warning"

    On May 9, 2008, at 11:11 AM, Wietse Venema wrote:

    > jeff donovan:
    >> greetings
    >>
    >> can I do this without an if then endif?
    >>
    >> /^to: *friend at public\.com$ && ^from: */ WARN
    >
    > man header_checks
    >
    > All supported behavior is documented.
    >

    Ah yes,..

    okay did a bunch of reading. and the reoccurring theme is ;
    Header (and body) checks process one header (or line, with body
    checks) at a time.

    So my question is.
    is there a better way to reject/bounce/warn when a message from
    user1 at domain to user2 at domain shows up?

    simliar to this, although I know this wont work.
    if /^To:.*postmaster at example\.com/ /^From: user2 at example\.com/ WARN
    endif


  • Next message: D Hill: "Re: trivial-rewrite valid_ipv4_hostaddr warning"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD