Re: [Exim] SMTP/LMTP callouts: How to pass some remote 4??/5…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andrzej Filip
Date:  
À: exim-users
CC: Christiaan den Besten
Sujet: Re: [Exim] SMTP/LMTP callouts: How to pass some remote 4??/5?? replies "as they are" ?
Philip Hazel wrote:
> On Tue, 10 Aug 2004, Christiaan den Besten wrote:
>
>>> Aug 9 22:53:58 cyrus exim[14185]: 2004-08-09 22:53:58
>>> H=ch.its.tudelft.nl
>>> [130.161.156.139] F=<chris@???> rejected RCPT
>>> <collect@???>: response to "RCPT
>>> TO:<collect@???>" from 127.0.0.1 [127.0.0.1] was: 552
>>> 5.2.2 Over quota
>>>
>>> But user gets:
>>> --- part of body of return msg
>>> This message was created automatically by mail delivery software.
>>>
>>> A message that you sent could not be delivered to one or more of its
>>> recipients. This is a permanent error. The following address(es) failed:
>>>
>>>   collect@???
>>>     SMTP error from remote mailer after RCPT
>>> TO:<collect@???>:
>>>     host cyrus.jvb.tudelft.nl [130.161.82.46]: 550 Recipient
>>> unknown/invalid

>
>
> That's because the ACL specifies that message:
>
>>>   # Accept valid (and reject invalid) recipient adresses in cyrus
>>> domains
>>>   accept  domains       = +cyrus_domains
>>>           endpass
>>>           message       = Recipient unknown/invalid
>>>           verify        = recipient/callout=random,5s

>
>
>>> any hints or tips ?
>
> Look at $acl_verify_message.


Thanks Philip,

The only task left is to prune "uninteresting" part of $acl_verify_message
using regular expressions (I can do it myself).

It is so simple *after* :)

P.S.
It is possible to preserve 5?? code obtained by callout ?
Exim "converts" 552 into 550
(It may be important for passing other problem reports).

--
Andrzej [en:Andrew] Adam Filip anfi@??? anfi@???
Home Page http://anfi.homeunix.net/ [ PageRank 6 ]