[Exim] SMTP protocol error in "DATA"

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Johann Spies
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] SMTP protocol error in "DATA"
The following log on the mail server (smarthost) indicates the problem as

-----------------
2003-03-25 12:30:45 SMTP connection from webct-tyg1.sun.ac.za [146.232.197.237]
(TCP/IP connection count = 9)
2003-03-25 12:30:45 H=webct-tyg1.sun.ac.za (webct-tyg1) [146.232.197.237] F=<root@webct-tyg1> rejected RCPT <jspies@???>
2003-03-25 12:30:45 SMTP protocol error in "DATA" H=webct-tyg1.sun.ac.za (webct-tyg1) [146.232.197.237] valid RCPT command must precede DATA
2003-03-25 12:30:45 SMTP connection from webct-tyg1.sun.ac.za (webct-tyg1) [146.232.197.237] closed by QUIT
-----------------

The configuration file on the sending machine:
--------------
qualify_domain = webct-tyg1.sun.ac.za
local_domains = webct-tyg1.sun.ac.za:localhost
local_domains_include_host = true
local_domains_include_host_literals = true
never_users = root
host_lookup = *
host_accept_relay = localhost
trusted_users = mail
smtp_verify = false
gecos_pattern = ^([^,:]*)
gecos_name = $1
smtp_accept_queue_per_connection = 100
freeze_tell_mailmaster = true
received_header_text = "Received: \
         ${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}\
         {${if def:sender_ident {from ${sender_ident} }}\
         ${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}}}\
         by ${primary_hostname} \
         ${if def:received_protocol {with ${received_protocol}}} \
         (Exim ${version_number} #${compile_number} (Red Hat Linux))\n\t\
         id ${message_id}\
         ${if def:received_for {\n\tfor <$received_for>}}"
local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  file = /var/spool/mail/${local_part}
address_pipe:
  driver = pipe
  return_output
address_file:
  driver = appendfile
address_directory:
  driver = appendfile
  no_from_hack
  prefix = ""
  suffix = ""
address_reply:
  driver = autoreply
remote_smtp:
  driver = smtp
real_local:
  prefix = real-
  driver = localuser
  transport = local_delivery
system_aliases:
  driver = aliasfile
  file_transport = address_file
  pipe_transport = address_pipe
  file = /etc/aliases
  search_type = lsearch
userforward:
  driver = forwardfile
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
  no_verify
  check_ancestor
  file = .forward
  modemask = 002
  filter
localuser:
  driver = localuser
  transport = local_delivery
smarthost:
  driver = domainlist
  transport = remote_smtp
  route_list = "* mail.sun.ac.za bydns_a"
*                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h
---------------------


In the server's exim.conf:
----------------------------------
domainlist relay_domains    = *sun.ac.za :
dbm;/etc/exim/relaydomains.db
hostlist   relay_from_hosts = 146.232.0.0/16 : 192.168.0.0/24 :
127.0.0.1
-----------------------------------


So I figure it can't be a relaydomain problem.

I would appreciate some help on solving this problem.


Johann
--
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch


     "Why are you downcast, O my soul? Why so disturbed
      within me? Put your hope in God, for I will yet praise
      Him, my Saviour and my God."       Psalm 42:11