RE: [exim] missing email problem

Top Pagina
Delete this message
Reply to this message
Auteur: Thad Bryson
Datum:  
Aan: exim-users
Onderwerp: RE: [exim] missing email problem
This is the contents of /etc/vfilters/velocenet.com:

# Exim filter

if error_message then finish endif

if
$header_subject: contains "*homebuyer*"
or $header_subject: contains "*homeowner*"
or $header_subject: contains "Increase your manhood"
or $header_subject: matches "Home theater system"
or $message_body contains "Dear Homeowner,"
or $message_body contains "Dear homebuyer*"
or $message_body contains "Dear homeowner*"
or $message_body contains "Increase your manhood"
or $message_body contains "PharmOnline"
or $message_body contains "Viagra"
or $message_body contains "Viiagrra"
or $message_body contains "cialis"
or $message_body contains "clitoris"
or $message_body contains "cum"
or $message_body contains "medz"
or $message_body contains "penus"
or $message_body contains "riverto.com"
or $message_body contains "sperm"
or $message_body contains "viiagrra"
or $message_body contains "website promotion"
or $message_headers contains "*.freehongkong.com"
or $message_headers contains "*freehongkong.com"
or $message_headers contains "Medicines"
or $message_headers contains "Save money*"
or $message_headers contains "Save your money*"
or $message_headers contains "Viiagrra"
or $message_headers contains "cialis"
or $message_headers contains "clitoris"
or $message_headers contains "drugs"
or $message_headers contains "freehongkong.com"
or $message_headers contains "gals need this*"
or $message_headers contains "guys need this*"
or $message_headers contains "medz"
or $message_headers contains "penis"
or $message_headers contains "penus"
or $message_headers contains "riverto.com"
or $message_headers contains "sex"
or $message_headers contains "sperm"
or $message_headers contains "viagra"
then
save "/dev/null" 660
endif



-----Original Message-----
From: Phil Pennock [mailto:exim-users@spodhuis.demon.nl]
Sent: Saturday, March 11, 2006 10:12 PM
To: Thad Bryson
Subject: Re: [exim] missing email problem

On 2006-03-10 at 12:02 -0500, Thad Bryson wrote:
> Here's my entire exim configuration file. Exim.conf. Does this help?


Yes. See my previous post, which detailed how to find the bit you're
interested in; the quick hack command-line I gave would have exactly
told you the file to look in: /etc/vilters/${domain}

  central_filter:
  #!!# filter renamed allow_filter
    driver = redirect
    allow_filter
    no_check_local_user
    file = /etc/vfilters/${domain}
    file_transport = address_file
    pipe_transport = virtual_address_pipe
    reply_transport = address_reply
    retry_use_local_part
    user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
    no_verify


And the log line you gave:
  2006-03-09 13:28:36 1FHPrg-0005IS-3C
    => /dev/null (tbryson@???)
    <tbryson@???>
    R=central_filter T=**bypassed**


So, look in the file /etc/vfilters/velocenet.com for a line where the
left-hand column is "tbryson". The filename is defined on the "file ="
line and uses the mail-domain. The other relevant file is
/etc/userdomains, where the domain is the left column and the right
column is the Unix usercode to use for running programs from the filter
lookup file in /etc/vfilters.

-Phil