Re: [exim] Need to generate a "reject" message with correct …

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Kenevel
Data:  
Para: exim-users
Asunto: Re: [exim] Need to generate a "reject" message with correct headers
Hi there,

I've tried the suggested solution of using VERP but am having no luck
testing it.

I must be doing something wrong as although I can see that the return_path
has been set correctly, in that it has the VERP-mangled local_part, the
failure notification which is returned has none of this information present;
in fact, it only has the sender address. I've tried to tidy up the relevant
log entries for plain-text email:

** notexist@???
    F=<rewrite-michael@???>
    P=<noreply-notexist=targetdomain.co.uk@???>
    R=verp_outbound_router
    T=verp_smtp: SMTP error from remote mail server after RCPT
TO:<notexist@???>: host mailserver.targetdomain.co.uk
[xxx.xxx.xxx.xxx]: 550 <notexist@???>: Recipient address
rejected: User unknown in virtual mailbox table


<= <> R=1F4V3W-0003RG-EI =exim P=local S=1816
    T="Mail delivery failed: returning message to sender" from <> for
rewrite-michael@???


** rewrite-michael@???
    F=<>
    P=<>
    R=cyrus_vdom
    T=cyrus_ltcp: SMTP error from remote mail server after RCPT
TO:<rewrite-michael@???>: host 127.0.0.1 [127.0.0.1]:
550-Mailbox unknown.  Either there is no mailbox associated with
this\n550-name or you do not have authorization to see it.\n550 5.1.1 User
unknown


I understand that it's a requirement of a bounce message to have a
null-sender field to prevent failure messages from bouncing backward and
forward across the internet. However, I need to be able to identify the
header field which contains the VERP details: which $variable is that saved
in? Judging from the log details, it doesn't seem to have made it back to me
at all.

Cheers

Mike

PS: the FTP link to the VERP text available here
(http://exim.org/exim-html-4.60/doc/html/spec.html/ch44.html#id2685805)
doesn't seem to work for me; Google suggests http://cr.yp.to/proto/verp.txt

----- Original Message -----
From: "Marc Sherman" <msherman@???>
To: <exim-users@???>
Sent: Wednesday, February 01, 2006 2:08 PM
Subject: Re: [exim] Need to generate a "reject" message with correct headers


> Kenevel wrote:
> >
> > The club would be a sports club and the invitees would be its
> > players. In the sense that the players want to manage their
> > availability through my site they are solicited.
>
> Ok. Your fake name and hotmail address made your initial request sound
> pretty shady.
>
> > I have a Java web-app through which a club administrator can send out
> > an invite to someone via email. The "reply-to" address is currently
> > set to a "noreply", non-existent mailbox, so if someone does try to
> > reply, their email should bounce and they should be aware that this
> > has happened.
>
> What you want to do is send a message with the Reply-To header set to
> the noreply address (which you already have set up to bounce correctly),
> but with the envelope sender set to a VERP address.
>
> Setting up VERP with Exim is documented in chapter 44:
> http://exim.org/exim-html-4.60/doc/html/spec.html/ch44.html#id2685805
>
> - Marc
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>