[EXIM] Lost mail due to `message retry timeout exceeded'

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Ian Jackson
Data:  
Para: exim-users
Assunto: [EXIM] Lost mail due to `message retry timeout exceeded'
I had a bounced bounce in my mail queue:

-chiark:~> mailq
 7d  4.7K 10wUvn-0003X5-00 <> *** frozen ***
        D pinard@???
          ian@???
...
-chiark:~> exim -Mar 10wUvn-0003X5-00 ijackson@???
Message 10wUvn-0003X5-00 has been modified
-chiark:~> exim -Mmd 10wUvn-0003X5-00 ian@???
Message 10wUvn-0003X5-00 has been modified
-chiark:~> exim -M 10wUvn-0003X5-00
-chiark:~> mailq
-chiark:~>


The message was generated by an autoreply in my personal filter file.
The original message was discarded; the autoreply is supposed to
inform the sender where to send mail. The autoreply had a typo in the
BCC recipient - it CC'd it to ian@??? (note the
extra `e').

Then I made the same typo in the new recipient. The result was that
the autoreply was discarded !

Below are the log entries and a copy of my exim.conf (with various
irrelevant bits removed).

Why did Exim decide to throw this message away ? How can I persuade
it not to in a similar situation in future ? Why is that not the
default ?

Ian.


1999-06-22 19:05:59 10wUvn-0003X5-00 <= <> R=10wUvm-0003WU-00 U=ian P=local S=4806
1999-06-22 19:05:59 10wUvn-0003X5-00 ** ian@???: unrouteable mail domain "chiark.greeenend.org.uk"
1999-06-22 19:05:59 10wUvn-0003X5-00 Frozen (delivery error message)
1999-06-22 19:06:06 10wUvn-0003X5-00 => pinard@??? R=lookuphost T=smtp H=jupiter.rtsq.qc.ca [199.84.132.81] C="250 OAA11511 Message accepted for delivery"

1999-06-29 18:03:52 10wUvn-0003X5-00 recipient <ijackson@???> added by ian
1999-06-29 18:04:00 10wUvn-0003X5-00 address <ian@???> marked delivered by ian
1999-06-29 18:04:06 10wUvn-0003X5-00 Unfrozen by forced delivery
1999-06-29 18:04:06 10wUvn-0003X5-00 ** ijackson@???: unrouteable mail domain "chiark.greeenend.org.uk"
1999-06-29 18:04:06 10wUvn-0003X5-00 Frozen (delivery error message)
1999-06-29 18:04:06 10wUvn-0003X5-00 ** ijackson@???: message retry timeout exceeded
1999-06-29 18:04:06 10wUvn-0003X5-00 ijackson@???: error ignored
1999-06-29 18:04:06 10wUvn-0003X5-00 Completed



# This is the main exim configuration file.

LOCAL_HOSTS=chiark.greenend.org.uk:localhost:permutation-city.greenend.org.uk:test.culture.dotat.at

HANDLING_DOMAINS=lsearch;/etc/mail/handling-domains
PRIVATEVIRTUAL_DOMAINS=lsearch;/etc/mail/privatevirtual-domains
PUREVIRTUAL_DOMAINS=hemmel.com:bdsm.org.uk
VIRTUAL_DOMAINS=PUREVIRTUAL_DOMAINS:HANDLING_DOMAINS
RELAYFOR_HOSTS=shadbolt.demon.co.uk

local_interfaces=127.0.0.1:195.224.76.132

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_batch=false
sender_verify_log_details=false
sender_verify_reject
headers_sender_verify
headers_check_syntax
rbl_domains=rbl.maps.vix.com:dul.maps.vix.com:dssl.imrss.org:relays.orbs.org:mr-out.imrss.org:relays.radparker.com
# Currently candidates for turning into errors are
# rbl.maps.vix.com:dul.maps.vix.com:dssl.imrss.org
rbl_reject_recipients=false
rbl_warn_header
percent_hack_domains=

smtp_load_reserve=8
deliver_load_max=8
deliver_queue_load_max=8

check_spool_space=5M
check_spool_inodes=100
delay_warning=4h:24h:48h
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_receive_timeout=15m
smtp_expn_hosts=*
trusted_users=majordom:ijackson:ian
trusted_groups=mail:daemon:news:majordom:root:Mgend:richard

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:fowler-schocken.culture.dotat.at:VIRTUAL_DOMAINS
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:RELAYFOR_HOSTS
relay_domains=VIRTUAL_DOMAINS

#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
    envelope_to_add
    return_path_add
    group=mail
    mode=0660
    file=/var/spool/mail/${local_part}


address_file:
    driver=appendfile


address_directory:
    driver=appendfile
    envelope_to_add
    return_path_add
    no_from_hack
    prefix=""
    suffix=""


mlist_dir_tra:
[deleted - iwj]

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


address_reply:
    driver=autoreply


smtp:
    driver=smtp


handling_tra:
[deleted - iwj]

end

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



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


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


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


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


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


mailmanlists:
    driver=aliasfile
    except_domains=VIRTUAL_DOMAINS
    errors_to=owner-mailman
    file=/etc/mailman/aliases
    search_type=lsearch
    user=list
    initgroups
    modemask=002


usersuffix:
    driver=forwardfile
    suffix=+*
    except_domains=VIRTUAL_DOMAINS
    file=.forward-suffix
    filter
    initgroups
    modemask=002


usersuffixk:
    driver=forwardfile
    suffix=k.*
    prefix=0
    except_domains=VIRTUAL_DOMAINS
    file=.forward-suffix
    filter
    initgroups
    modemask=002


usersuffixdot:
    driver=forwardfile
    suffix=.*
    prefix=0
    except_domains=VIRTUAL_DOMAINS
    file=.forward-suffix
    filter
    initgroups
    modemask=002


userforward:
    driver=forwardfile
    no_verify
    except_domains=VIRTUAL_DOMAINS
    file=.forward
    filter
    initgroups
    modemask=002


real_localuser:
    driver=localuser
    prefix=real-
    transport=local_delivery
    except_domains=VIRTUAL_DOMAINS


localuser:
    driver=localuser
    transport=local_delivery
    except_domains=VIRTUAL_DOMAINS


mlist_dir_dir:
[ deleted - iwj ]

purevirtual_alias_dir:
    driver=aliasfile
    domains=PUREVIRTUAL_DOMAINS
    search_type=lsearch
    modemask=002
    errors_to=postmaster
    file=/etc/mail/aliases-$domain
    user=mail
    initgroups


privatevirtual_alias_dir:
    driver=aliasfile
    domains=PRIVATEVIRTUAL_DOMAINS
    search_type=lsearch
    modemask=002
    freeze_missing_include=false
    optional
    skip_syntax_errors
    syntax_errors_to=${extract{errors}{$domain_data}}
    errors_to=${extract{errors}{$domain_data}}
    file=/etc/mail/privatevirtual-aliases/$domain
    user=${extract{user}{$domain_data}}
    initgroups


handling_alias_dir:
[ deleted - iwj ]

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


handling_route:
    driver=domainlist
    domains=lsearch;/etc/mail/handling-sites
    user=${extract{user}{$domain_data}}
    route_list="* ${extract{queue}{$domain_data}}";
#    initgroups
    transport=handling_tra


end

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


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


end

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


# ^(.*)_([^_]*)@.*\.site-gate.chiark.greenend.org.uk    $1@$2    T


# End of Exim configuration file

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