anomy-bugs

.forward too many hops

From: Peter Williams (09004@xyz.molar.is)
Date: Sat 06 Oct 2001 - 00:58:55 UTC

  • Next message: Pedro Andrade: "Multiple attachment problem"

    G'Day,

    I have installed the anomy under SCO Openserver 5 with sendmail 8.8.8d and
    all is working quite well until the users place a .forward in there home
    directory.
    Example of .forward below:

    09095@xyz.molar.is
    09004@xyz.molar.is

    I have installed the following rule into the sendmail.cf file.

    -------------------
    ### Ruleset 98 -- local part of ruleset zero (can be null) ###
    ###################################################################

    S98

    ############################################################################
    #Anomy sanitization. (Uncomment appropriate lines from *ONLY* one section)
    ############################################################################
    # Section 2: Sanitize without procmail.
    # (Only if you are using Msanitize mailer)
    # Uncomment only one option line below.
    #---------------------------------------------------------------------------
    ## Sanitize based on domains defined in anomy class defined (C{anomy} or
    F{anomy})
    R$* < @ $={anomy} . > $* $#sanitize $@anomy
    $:$1<@$2.ANOMY.>$3

    ## Sanitize all mails. (irrespective of destination domains !!! CAREFUL !!!)
    #R$* < @ $+ . > $* $#sanitize $@anomy
    $:$1<@$2.ANOMY.>$3
    #---------------------------------------------------------------------------

    R$* < @ $+ .ANOMY. > $* $1<@$2.>$3
    R$* < @ $+ .ANOMY > $* $1<@$2.>$3
    ############################################################################
    #
    # Anomy Hack Modification Ends here
    #
    ----------------------------------

    The F{anomy} file contains the following:

    gmaaust.com.au

    The symptoms then is the user receives mutilple copies of the email and
    eventually an internal error
    indicating too many hops.

    Thanks

    Peter Williams



    hosted by molar.is