[EXIM] Exim 1.82 -> Exim 1.82 SMTP protocol errors !

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Ian Jackson
Datum:  
To: exim-users
Betreff: [EXIM] Exim 1.82 -> Exim 1.82 SMTP protocol errors !
(This is my second attempt to send this to the mailing list. I am, as
the message I got the first time, behind an exploder. I've now
subscribed from my main account and I suppose I'll just have to
procmail out the mailing list traffic.)

Please observe the bounce message below. You'll see that Exim (1.82,
config file included below the bounce) has been unable to deliver this
message correctly due to failure to agree on how to do SMTP correctly
when talking to another instance of Exim 1.82 !

This effect happens much more when I say `-odqs' when injecting these
mailing list messages; presumably this encourages Exim to reuse
connections which are in strange states.

I haven't straced or tcpdumped a failure of this nature, not having a
scratch machine to play with. In the meantime I've removed the -odqs
and am doing immediate delivery, which appears to greatly reduce or
eliminate this problem (perhaps I then get hardly any connection
reuse).

The Exim source I'm using is Debian's 1.82-7; the diff between that
and stock 1.82 doesn't touch the core Exim source at all. I compiled
the binary myself from that source code.

Ian.


Return-path: <postmaster@???>
Envelope-to: owner-majordomo@???
Delivery-date: Thu, 26 Feb 1998 18:23:10 +0000
Received: from mail by chiark.greenend.org.uk with local (Exim 1.82 #2)
    id 0y87xc-0002do-00 (Debian); Thu, 26 Feb 1998 18:23:08 +0000
Message-Id: <E0y87xc-0002do-00@???>
From: Mail Delivery System <Mailer-Daemon@???>
To: owner-majordomo@???
Subject: Mail delivery failed
Date: Thu, 26 Feb 1998 18:23:08 +0000


This message was created automatically by mail delivery software.

A message sent by

<owner-rocksoc-chat@???>

could not be delivered to all of its recipients. The following address(es)
failed:

  jg1@???:
    (generated from rocksoc-chat-outgoing@???):
    SMTP error from remote mailer after RCPT TO:
    <jg1@???>:
    host ppsw3.cam.ac.uk [131.111.8.38]:
    503 Sender already given
  dh219@???:
    (generated from rocksoc-chat-outgoing@???):
    SMTP error from remote mailer after RCPT TO:
    <dh219@???>:
    host ppsw3.cam.ac.uk [131.111.8.38]:
    503 Sender already given\r
    250 <glt1000@???> verified


------ This is a copy of the message, including all the headers. ------

Return-path: <owner-rocksoc-chat@???>
Received: from majordom by chiark.greenend.org.uk with local (Exim 1.82 #2)
    id 0y87ss-0002Ys-00 (Debian); Thu, 26 Feb 1998 18:18:14 +0000
Received: from ursa.cus.cam.ac.uk [131.111.8.6] (cusexim)
    by chiark.greenend.org.uk with smtp (Exim 1.82 #2)
    id 0y87sn-0002XV-00 (Debian); Thu, 26 Feb 1998 18:18:09 +0000
Received: from glt1000 (helo=localhost)
    by ursa.cus.cam.ac.uk with smtp (Exim 1.854 #2)
    id 0y87sj-0004YL-00; Thu, 26 Feb 1998 18:18:05 +0000
Date: Thu, 26 Feb 1998 18:18:05 +0000 (GMT)
From: Gareth Taylor <glt1000@???>
To: "hmm..." <rocksoc-chat@???>
Subject: Re: Vegetable matters (was re: stupid test)
In-Reply-To: <Pine.LNX.3.96.980226172859.14331r-100000@???>
Message-ID: <Pine.SOL.3.96.980226181727.17162A-100000@???>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-rocksoc-chat@???
Precedence: bulk



# This is the main exim configuration file.

LOCAL_HOSTS=chiark.greenend.org.uk:localhost:permutation-city.greenend.org.uk

accept_8bitmime
delivery_date_remove
envelope_to_remove
return_path_remove
local_domains_include_host=false
local_domains_include_host_literals

receiver_verify_except_hosts=LOCAL_HOSTS
smtp_verify
receiver_verify
sender_verify
sender_verify_log_details
sender_verify_reject
sender_verify_except_hosts=relay.lsl.co.uk:stormcloud.acs.ohio-state.edu
#headers_sender_verify
#headers_check_syntax
#rbl_domains=rbl.maps.vix.com
#rbl_reject_recipients=false
percent_hack_domains=

#check_spool_space=5M
#check_spool_inodes=100
delay_warning=24h
#delay_warning=4h:24h:48h
deliver_load_max=4
#deliver_queue_load_max=2
queue_only_load=5
queue_run_max=3
remote_max_parallel=2
smtp_accept_queue=10
smtp_accept_reserve=5
smtp_reserve_hosts=LOCAL_HOSTS
smtp_connect_backlog=50
smtp_load_reserve=8
smtp_receive_timeout=15m
#smtp_expn_hosts=*
trusted_users=majordom
trusted_groups=mail:daemon:news:majordom:root
#uucp_from_pattern=

security=setuid+seteuid
exim_group=mail
exim_user=mail
no_prod_requires_admin

freeze_tell_mailmaster
keep_malformed=100d

gecos_pattern=^([^,:]*)
gecos_name=$1

primary_hostname=chiark.greenend.org.uk
local_domains=LOCAL_HOSTS:davenant.greenend.org.uk
qualify_domain=chiark.greenend.org.uk
qualify_recipient=chiark.greenend.org.uk
receiver_unqualified_hosts=LOCAL_HOSTS
sender_unqualified_hosts=LOCAL_HOSTS
sender_host_accept_relay=LOCAL_HOSTS
relay_domains=chiark.greenend.org.uk:davenant.greenend.org.uk:permutation-city.greenend.org.uk

#log_received_recipients
#log_received_sender
#log_refused_recipients
log_smtp_confirmation

received_header_text = "Received: \
          ${if def:sender_fullhost {from ${sender_fullhost} \
          ${if def:sender_ident {(${sender_ident})}}\n\t}\
          {${if def:sender_ident {from ${sender_ident} }}}}\
          by ${primary_hostname} \
          ${if def:received_protocol {with ${received_protocol}}} \
          (Exim ${version_number} #${compile_number})\n\t\
          id ${message_id} (Debian)"
end


######################################################################
#                      TRANPORTS CONFIGURATION                       #
######################################################################


local_delivery:
    driver=appendfile;
    group=mail
    mode=0660
    file=/var/spool/mail/${local_part}


address_pipe:
    driver=pipe;
    path="/usr/local/bin:/bin:/usr/bin"
    initgroups,
    envelope_to_add,
    log_output,
    return_fail_output,
    return_path_add,
    umask=002


address_file:
    driver=appendfile


address_reply:
    driver=autoreply


smtp:
    driver=smtp;


end

######################################################################
#                      DIRECTORS CONFIGURATION                       #
######################################################################



system_aliases:
    driver=aliasfile;
    errors_to=postmaster,
    file=/etc/aliases,
    search_type=lsearch,
    user=mail,
    modemask=002,
    initgroups


aliases_bounceerrs:
    driver=aliasfile;
    file=/etc/aliases-bounceerrs,
    search_type=lsearch,
    user=mail,
    modemask=002,
    initgroups


aliases_asroot:
    driver=aliasfile;
    errors_to=postmaster,
    file=/etc/aliases-asroot,
    search_type=lsearch
    modemask=002,
    user=root


mailinglists:
    driver=aliasfile;
    errors_to=newsmaster,
    file=/etc/news/mailinglists,
    search_type=lsearch,
    user=news,
    initgroups,
    modemask=002


majordomolists:
    driver=aliasfile;
    errors_to=owner-majordomo,
    file=/etc/majordomo/aliases,
    search_type=lsearch,
    user=majordom,
    initgroups,
    modemask=002


userforward:
    driver=forwardfile,
    no_verify;
    errors_to=real-${local_part},
    file=.forward,
    filter,
    initgroups,
    modemask=002


real_localuser:
    driver=localuser,
    prefix=real-,
    transport=local_delivery;


localuser:
    driver=localuser,
    transport=local_delivery;


end

######################################################################
#                      ROUTERS CONFIGURATION                         #
######################################################################


# This router routes to remote hosts over SMTP using a DNS lookup with
# default options.

lookuphost:
    driver=lookuphost,
    transport=smtp;


literal:
    driver=ipliteral,
    transport=smtp;
end


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


# Domain               Error       Retries
# ------               -----       -------
*                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h


end

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


# End of Exim configuration file


--
*** Exim information can be found at http://www.exim.org/ ***