Oops, that should have been 'Philip' offcourse ... some many lists, so
many developers :)
bye,
Chris
On Tue, 10 Aug 2004 chris@??? wrote:
> Perhaps it's easier to just ask Julian direct ?
>
> Julian: Is it possible to return the error message provided by the
> tranport(er) as shown below:
>
> --- Transport says: ---
> --- /var/log/maillog
> 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
> ---
> RCPT ACL (fyi: made by Andrzej Filip !!)
>
> # Reject "faked" sender addresses in cyrus domains
> deny sender_domains= +cyrus_domains
> message = Sender unknown/invalid
> !verify = sender/callout=defer_ok,5s
>
> # Accept valid (and reject invalid) recipient adresses in cyrus domains
> accept domains = +cyrus_domains
> endpass
> message = Recipient unknown/invalid
> verify = recipient/callout=random,5s
>
> ---
>
> For the sender the message "Recipient unknown/invalid" it very misleading
> at the very least :)
>
> any hints or tips ?
>
> bye,
> Chris
>
> > -----Original Message-----
> > From: exim-users-admin@???
> > [mailto:exim-users-admin@exim.org] On Behalf Of Andrzej Filip
> > Sent: maandag 9 augustus 2004 21:24
> > To: exim-users@???
> > Cc: Tony Finch
> > Subject: Re: [Exim] SMTP/LMTP callouts: How to pass some
> > remote 4??/5?? replies "as they are" ?
> >
> > Tony Finch wrote:
> > > On Sun, 8 Aug 2004, Andrzej Filip wrote:
> > >
> > >>Is it possible to make exim pass some 4??/5?? replies
> > received by SMTP/LMTP
> > >>recipient verification callouts in its own "RCPT TO:" replies ?
> > >>
> > >>I would like to make exim pass "user is over quota"
> > messages intact - AFAIK
> > >>now the replies are "masqueraded" and put in 4?? or 5??
> > replies rubber bags.
> > >
> > > The closest option is smtp_return_error_details which is global and
> > > entails a fair amount of verbose wrapping.
> >
> > I have tested it and it does not fix the problem. I have set
> > smtp_return_error_details to true but exim simply produced
> > longer "rubber bag"
> > reply.
> >
> >
> > <LMTP_callout>
> > SMTP>> MAIL FROM:<>
> > read response data: size=14
> > SMTP<< 250 2.1.0 ok
> > SMTP>> RCPT TO:<test@???>
> > read response data: size=22
> > SMTP<< 452 4.2.2 Over quota
> > </LMTP_callout>
> >
> > <SMTP_reply>
> > 451-Could not complete recipient verify callout for
> > <test@???>.
> > 451-The mail server(s) for the domain may be temporarily
> > unreachable, or
> > 451-they may be permanently unreachable from this server.
> > In the latter case,
> > 451 the address will never be accepted.
> > 221 anfi.homeunix.org closing connection
> > </SMTP_reply>
> >
> > --
> > Andrzej [en:Andrew] Adam Filip anfi@??? anfi@???
> > Home Page http://anfi.homeunix.net/ [ PageRank 6 ]
> >
> > --
> >
> > ## List details at
> > http://www.exim.org/mailman/listinfo/exim-users Exim details
> > at http://www.exim.org/ ##
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>