[Exim] PIPING PROBLEMS

Pàgina inicial
Delete this message
Reply to this message
Autor: m. shahid
Data:  
A: exim-users
Assumpte: [Exim] PIPING PROBLEMS
[ Converted text/html to text/plain ]
Hi.
I'm just trying a very simple pipe command and I keep getting some errors. I
cant seem to figure out the problem.
######################################################################
#                  Runtime configuration file for Exim               #
######################################################################
######################################################################
#                    MAIN CONFIGURATION SETTINGS                     #
######################################################################
local_domains = localhost:comp.leeds.ac.uk
forbid_domain_literals
never_users = root
trusted_users = csxms
host_lookup = *
ignore_errmsg_errors_after = 2d
timeout_frozen_after = 7d
end
######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
#                       ORDER DOES NOT MATTER                        #
#     Only one appropriate transport is called for each delivery.    #
######################################################################
.
remote_smtp:
  driver = smtp
local_delivery:
  driver = appendfile
  file =  /home/cserv1_a/student/csx/csxms/exim/$local_part
  #/var/mail/$local_part
  delivery_date_add
  envelope_to_add
  return_path_add
# group = mail
# mode = 0660
address_pipe:
  driver = pipe
  return_output
dir_pipe:
  driver = appendfile
  file = /home/cserv1_a/student/csx/csxms/exim/spam/$local_part
  delivery_date_add
spam_pipe:
  driver = pipe
  command =
"/home/cserv1_a/student/csx/csxms/MODULES3/bogofilter/TESTING/bogofilter -p -v
-d /home/cserv1_a/student/csx/csxms/MODULES3/bogofilter/TESTING > exim.mbox "
  return_fail_output
#bogo_pipe:
#  driver = pipe
# command = "/home/cserv1_a/student/csx/csxms/MODULES3/exim-3.34/bin/exim
-oMr scanned-ok -bS"
#  transport_filter =
"/home/cserv1_a/student/csx/csxms/MODULES3/bogofilter/bg/bin/bogofilter -p -d
/home/cserv1_a/student/csx/csxms/MODULES3/bogofilter/TESTING "
#  bsmtp = all
#  prefix =
#  user = csxms
# # group = mail
#  return_fail_output
#address_file:
#  driver = appendfile
#  delivery_date_add
#  envelope_to_add
#  return_path_add
#address_reply:
#  driver = autoreply
end
######################################################################
#                      DIRECTORS CONFIGURATION                       #
#             Specifies how local addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#   A local address is passed to each in turn until it is accepted.  #
######################################################################
#smart_user:
#  condition = ${if eq{$received_protocol}{scanned-ok}{no}{yes}}
#  driver = localuser
#  transport = bogo_pipe
spam_check:
  driver = localuser
# condition = ${if def:header_X-Bogosity {true}}
  transport = spam_pipe
#dir_pipe
#system_aliases:
#  driver = aliasfile
#  file = /etc/aliases
#  search_type = lsearch
# user = exim
#  file_transport = address_file
#  pipe_transport = address_pipe
#userforward:
#  driver = forwardfile
#  file = .forward
#  no_verify
#  no_expn
#  check_ancestor
# filter
#  file_transport = address_file
#  pipe_transport = address_pipe
#  reply_transport = address_reply
localuser:
  driver = localuser
  transport = local_delivery
end
######################################################################
#                      ROUTERS CONFIGURATION                         #
#            Specifies how remote addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#  A remote address is passed to each in turn until it is accepted.  #
######################################################################
lookuphost:
  driver = lookuphost
  transport = remote_smtp
  ignore_target_hosts = 127.0.0.0/8
# domain_literal:
#   driver = ipliteral
#   transport = remote_smtp
end
######################################################################
#                      RETRY CONFIGURATION                           #
######################################################################
# Domain               Error       Retries
# ------               -----       -------
#*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h
end
######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################
# There are no rewriting specifications in this default configuration file.
end
######################################################################
#                   AUTHENTICATION CONFIGURATION                     #
######################################################################
# There are no authenticator specifications in this default configuration
#'file.
# End of Exim configuration file
As you can see it's just some testing, which I've reduced to a very simple
format.
Here's what I've been getting
cslin-gps% bin/exim -C configure csxms@???[1][2]
From: csxms@???[2][3]
To: csxms@???[3][4]
Subject: Test
This is a test
^D
2003-04-18 20:59:56 <= csxms@???[4][5] U=csxms
P=local S
=356
cslin-gps% bin/exim -d9 -C configure csxms@???[5][6]
Exim version 3.34 debug level 9 uid=7214 gid=2041
Berkeley DB: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
Removed setuid privilege: uid=7214 gid=2041 euid=7214 egid=2041
Caller is a trusted user
From: csxms@???[6][7]
To: csxms@???[7][8]
Subject: Test
This is a test
LOG: 0 MAIN
  <= csxms@???[8][9] U=csxms P=local S=356
delivering message 196c1l-0007by-00
cslin-gps% LOG: 0 MAIN
  ** csxms@???[9][10] D=spam_check T=spam_pipe: Child process of
spam_pipe
transport returned 1 from command:
/home/cserv1_a/student/csx/csxms/MODULES3/bo
gofilter/TESTING/bogofilter
Exim version 3.34 debug level 9 uid=7214 gid=2041
Berkeley DB: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
Removed setuid privilege: uid=7214 gid=2041 euid=7214 egid=2041
LOG: 0 PANIC DIE
  Failed to open configuration file configure
search_tidyup called
LOG: 0 MAIN
  Process failed (1) when writing error message to
csxms@???[10][11]
eeds.ac.uk
LOG: 0 MAIN
  Completed
cslin-gps%
Any help would be appreciated.
Thanks.
fizz


------------------------------------------------------------------------------
Protect your PC from e-mail viruses. Get MSN 8 today.[11]

===References:===
1. mailto:csxms@comp.leeds.ac.uk
2. mailto:csxms@comp.leeds.ac.uk
3. mailto:csxms@comp.leeds.ac.uk
4. mailto:csxms@cslin-gps.csunix.comp.leeds.ac.uk
5. mailto:csxms@comp.leeds.ac.uk
6. mailto:csxms@comp.leeds.ac.uk
7. mailto:csxms@comp.leeds.ac.uk
8. mailto:csxms@cslin-gps.csunix.comp.leeds.ac.uk
9. mailto:csxms@comp.leeds.ac.uk
10. mailto:csxms@cslin-gps.csunix.comp.l
11. http://g.msn.com/8HMKENUK/2752