RE: [exim] Strange Filter Rejection

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: GamCo - Gawie Marais
Data:  
Para: 'Marc Sherman'
CC: exim-users
Assunto: RE: [exim] Strange Filter Rejection
Hi

I have included the ACL and rest of my config file. Hope that helps.


Regards

Gawie Marais

-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] On
Behalf Of Marc Sherman
Sent: Wednesday, May 04, 2005 1:12 PM
To: GamCo - Gawie Marais
Cc: exim-users@???
Subject: Re: [exim] Strange Filter Rejection

GamCo - Gawie Marais wrote:
> Hi Guys,
>
> We have one e-mail address being rejected with the following in my
> log files. Can anyone please shed some light here ? Odd thing is, is
> that no other e-mails are being rejected, except this one.
>
> I have no idea why or what system flter would reject e-mails coming
> from this e-mail address...


You'll need to post the contents of your system filter.

- Marc

--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

######################################################################
#                       ACL CONFIGURATION                            #
#         Specifies access control lists for incoming SMTP mail      #
######################################################################


begin acl

#acl_check_blist:
#deny hosts = partial()lsearch;/etc/exim/sa-blacklist.current.domains
# message = $sender_host_address Blocked by http://www.stearns.org/sa-blacklist/


check_etrn:
        accept hosts = *
        deny    hosts = *
        message = Access Denied!! !!!! the flip flop


acl_check_rcpt:
        accept  hosts = : 127.0.0.1
    deny senders = :
         domains = modelmaker.co.za : jhdesign.co.za : edx.co.za
         message = No valid Sender specified


        deny    local_parts   = ^.*[@%!/|] : ^\\.
        accept  local_parts   = postmaster
        domains               = +local_domains
        deny    message       = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text
#       dnslists      = sbl-xbl.spamhaus.org:relays.ordb.org:dul.dnsbl.sorbs.net:multi.surbl.org
        dnslists      = sbl-xbl.spamhaus.org:relays.ordb.org:multi.surbl.org



  accept  domains       = +local_domains
          endpass
          message       = unknown user
          verify        = recipient
          delay         = 20s


  accept  domains       = +relay_to_domains
          endpass
          message       = unrouteable address
          verify        = recipient
          delay         = 20s


  accept  hosts         = +relay_from_hosts



  accept  authenticated = *
          delay         = 20s




acl_check_content:
    deny    message = This message contains an unwanted file extension ($found_extension)
             demime = scr:com:vbs:bat:lnk:pif




        accept


######################################################################
#                      ROUTERS CONFIGURATION                         #
#               Specifies how addresses are handled                  #
######################################################################
#     THE ORDER IN WHICH THE ROUTERS ARE DEFINED IS IMPORTANT!       #
# An address is passed to each router in turn until it is accepted.  #
######################################################################


begin routers

dnslookup:
        driver = dnslookup
        domains = ! +local_domains
        transport = remote_email
        ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
        no_more


amavis:
       driver = manualroute
       transport = amavis
       route_list = "* localhost byname"
       self = send
       condition = "${if or {{eq {$interface_port}{10025}} \
                         {eq {$received_protocol}{spam-scanned}} \
                         {eq {$sender_address}{}} \
                        }{0}{1}}"


autorespond:
        driver = accept
        condition = ${if eq{} {${lookup mysql{SELECT autoresponder FROM email WHERE autoresponder='YES' AND address="$local_part" AND domain="$domain" AND in_use='1'}}}{no}{yes}}
        no_verify
        no_expn
        unseen
        transport = auto_responder


email:
        driver = accept
        condition = ${if eq{} {${lookup mysql {SELECT address FROM email WHERE address="$local_part" AND domain="$domain" AND in_use='1' and email_type="1" }}}{no}{yes}}
        transport = local_email


wildcards:
        driver = redirect
        file_transport = address_file
        pipe_transport = address_pipe
        data = ${lookup mysql{SELECT pointer FROM email WHERE address="@" AND domain="$domain" AND email_type='3'}}


system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/aliases}}
file_transport = address_file
pipe_transport = address_pipe

aliases:
        driver = redirect
        file_transport = address_file
        pipe_transport = address_pipe
        data = ${lookup mysql{SELECT pointer FROM email WHERE address="$local_part" AND domain="$domain" AND email_type="2"}}


exilist_post_router:
    driver = accept
    verify_sender = false
    condition = ${lookup mysql {select id from lists where name='$local_part' and domain='$domain'}}
    transport = exilist_post_transport


exilist_bounce_router:
    driver = accept
    verify_sender = false
    condition = ${if match {$local_part}{^[0-9]+_return_[0-9]+\\.[A-Za-z0-9-]+\$}{1}{0}}
                transport = exilist_bounce_transport


localuser:
driver = accept
check_local_user
transport = local_delivery
cannot_route_message = Unknown user


######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
#                       ORDER DOES NOT MATTER                        #
#     Only one appropriate transport is called for each delivery.    #
######################################################################


begin transports

amavis:
        driver = smtp
    hosts = 10.0.0.52
        port = 10024
        allow_localhost
        user = exim
    hosts_override


remote_email:
        driver = smtp
        user = exim


local_email:
        driver = appendfile
        file = /var/mail/$domain/$local_part
        create_directory
        delivery_date_add
        envelope_to_add
        return_path_add
        user = web
        group = web
        mode = 0660
        directory_mode = 0770
        quota = ${lookup mysql{select mquota from email where address="$local_part" and domain="$domain"}{$value} {5M}}
        quota_warn_threshold = 90%
        quota_warn_message = "\
        To: $local_part@$domain\n\
        Subject: Your mailbox\n\n\
        Greetings\n\n\
        Your mailbox is using 90% of its quota.\n\
        For further information contact your ISP Support.\n\n\
        \n\n\"


auto_responder:
        driver   = autoreply
        reply_to = "${local_part}@${domain}"
        from = "${local_part}@${domain}"
        to       = "${sender_address}"
        once = "/autoreply/${domain}-${local_part}"
        once_repeat = 500s
#       headers  = "MIME-Version: 1.0\n\
#Content-type: text/html; charset=iso-8859-1\n"


        subject  = ${lookup mysql{SELECT arsubject FROM email WHERE address="$local_part" AND domain="$domain"}{$value}{Automatic reply from ${local_part}@${domain}}}
        text     = ${lookup mysql{SELECT artext FROM email WHERE address="$local_part" AND domain="$domain"}{$value}}
        user = web
        group = web


exilist_post_transport:
    driver = pipe
    command = EXILIST_BIN "${lookup mysql {select id from lists where name='$local_part' and domain='$domain'}}" post none $message_id $sender_address $reply_address
    user = EXILIST_UID
    group = EXILIST_GID
    current_directory = EXILIST_HOME
    home_directory = EXILIST_HOME
    return_fail_output


exilist_bounce_transport:
    driver = pipe
    command = EXILIST_BIN ${extract{1}{_}{$local_part}} ${extract{2}{_}{$local_part}} ${extract{3}{_}{$local_part}} $message_id $sender_address $reply_address
    user = EXILIST_UID
    group = EXILIST_GID
    current_directory = EXILIST_HOME
    home_directory = EXILIST_HOME
    return_fail_output


local_delivery:
driver = appendfile
file = /var/mail/$domain/$local_part
delivery_date_add
envelope_to_add
return_path_add

#localuser:
# driver = accept
# check_local_user
# transport = local_delivery
# cannot_route_message = Unknown user

######################################################################
#                      RETRY CONFIGURATION                           #
######################################################################


begin retry

# Domain               Error            Retries
# ------               -----            -------
*                                               quota
*                                               *                       F,2h,15m; G,16h,1h,1.5; F,3d,6h




######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################


# There are no rewriting specifications in this default configuration file.

begin rewrite



######################################################################
#                   AUTHENTICATION CONFIGURATION                     #
######################################################################


# There are no authenticator specifications in this default configuration file.

begin authenticators

######################################################################
#                   CONFIGURATION FOR local_scan()                   #
######################################################################


# If you have built Exim to include a local_scan() function that contains
# tables for private options, you can define those options here. Remember to
# uncomment the "begin" line. It is commented by default because it provokes
# an error with Exim binaries that are not built with LOCAL_SCAN_HAS_OPTIONS
# set in the Local/Makefile.

# begin local_scan


# End of Exim configuration file