Re: [Exim] temporarily rejected RCPT w/o reason

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Andreas Gietl
Fecha:  
A: exim-users
Asunto: Re: [Exim] temporarily rejected RCPT w/o reason
On Sunday 16 February 2003 20:04, Andreas Gietl wrote:

Any further ideas about this issue?

this is the hostlist-defintion:
domainlist local_domains = lsearch;/etc/localdomains
domainlist relay_to_domains = lsearch;/etc/localdomains
hostlist relay_from_hosts = 127.0.0.1 : /etc/relayhosts

acl-defintion:
acl_smtp_rcpt = acl_check_rcpt

This is my complete acl section:
begin acl

# This access control list is used for every RCPT command in an incoming
# SMTP message. The tests are run in order until the address is either
# accepted or denied.

acl_check_rcpt:

accept hosts = :

  deny    local_parts   = ^.*[@%!/|]
          message       = localpart contains odd signs
          log_message   = localpart contains odd signs


  accept  local_parts   = postmaster
          domains       = +local_domains



  require verify        = sender
          message       = sender did not verify
          log_message   = sender did not verify



accept authenticated = *

  accept  hosts         = +relay_from_hosts


  accept  domains       = +local_domains
          endpass
          message       = unknown user
          log_message   = unknown user
          verify        = recipient


  deny    message       = relay not permitted
          log_message   = relay not permitted


so every deny has a log_message set.

But still sometimes relays are denied w/o any reason as described below. i
quoted the complete thread again, because the thread is already 10 days old.

The /etc/relayhosts-file contains about 300 entries like:

80.132.57.63 # 1046210804
62.214.32.39 # 1046210814
212.114.173.150 # 1046210816

thanx for your suggestions

Andreas
> On Saturday 15 February 2003 19:22, Andreas Gietl wrote:
>
> i tracked the error down and found out the following:
>
> 4611 processing "accept"
> 4611 check hosts = +relay_from_hosts
> 4611 gethostbyname returned 3 (NO_RECOVERY)
> 4611 host not found
> 4611 host in "127.0.0.1 : /etc/relayhosts"? lookup deferred for
> /etc/relayhosts
> 4611 host in "+relay_from_hosts"? lookup deferred for +relay_from_hosts
> 4611 accept: condition test deferred
> 4611 SMTP>> 451 Temporary local problem - please try later
> 4611 LOG: MAIN REJECT
>
> looks like exim failed to handle the data-input from the /etc/relayhosts
> file defined in exim.conf:
>
> hostlist relay_from_hosts = 127.0.0.1 : /etc/relayhosts
>
> maybe some misformat in this file caused the error? the file was readable,
> so that is not the problem.
>
> Any ideas?
>
> > Hi,
> >
> > i upgraded one of our major mailservers to exim-4.12 + exiscan-4.12-22
> > yesterday and everything works smoothly except for one strange thing.
> >
> > Sometimes relaying users are rejected with the following message:
> >
> > temporarily rejected RCPT
> >
> > In the main an reject-log the following appears:
> >
> > 2003-02-15 14:55:57 H=(hostname) [111.111.111.111] F=<sender-foo@???>
> > temporarily rejected RCPT <recipient@???>
> >
> > So no reason is given, why these mails are rejected.
> >
> > Both the recipient and the sender are valid Adresses working just fine.
> > And a few minutes later the same Mail simply works and is accepted.
> >
> > I already turned off hostlookups and re-checked the configuration, but
> > did not find any suspicious things. The mails are not rejected by an ACL
> > as far as i can see. Since this behavior appears for a few minutes and
> > disappears later i can not go into debug mode an watch it, because i
> > never saw it live.
> >
> > One more interesting thing: this behavior occurs concentrated on a few
> > minutes and disappears after this for hours. So i have about 30 of these
> > entries in the log between 10 minutes and then it suddenly stops. But in
> > this 10 minutes time-slot other mails are successfully relayed.
> >
> > Before i go into an in-depth analysis i would like to hear your comments,
> > since this is gonna take me hours.
> >
> > Any ideas? Any suggestions? Do you need any further information?
> >
> > Thank you
> >
> > Andreas
> > --
> > e-admin internet gmbh
> > Andreas Gietl                                            tel +49 941
> > 3810884 Ludwig-Thoma-Strasse 35                      fax +49 89 244329104
> > 93051 Regensburg                                  mobil +49 171 6070008

> >
> > PGP/GPG-Key unter http://www.e-admin.de/gpg.html
> >
> >
> >
> >
> >
> > --
> >
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> > details at http://www.exim.org/ ##


--
e-admin internet gmbh
Andreas Gietl                                            tel +49 941 3810884
Ludwig-Thoma-Strasse 35                      fax +49 89 244329104
93051 Regensburg                                  mobil +49 171 6070008


PGP/GPG-Key unter http://www.e-admin.de/gpg.html