RE: [exim] Bounce message not containing :fail: message

Top Page
Delete this message
Reply to this message
Author: Mark Smith
Date:  
To: exim-users
Subject: RE: [exim] Bounce message not containing :fail: message


> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Pieter Ennes
> Sent: 09 September 2005 15:16
> To: exim-users@???
> Subject: [exim] Bounce message not containing :fail: message
>
> Hi all.
>
> I'm :fail:-ing some addresses of unemployed people in a
> virtual users list, like this:
>
> sjoerd@???:        :fail: Not employed at Q-go anymore

>
> Philip's excellent Exim4 book mentions:
>
> "If :fail: is encountered while a message is being delivered,
> the text is included in the bounce message that Exim
> generates; the text for
> :defer: appears in the log line for the deferral, but is not
> otherwise used."
>
> However, i'm seeing this in the bounce message:
>
>    sjoerd@???
>      SMTP error from remote mailer after RCPT TO:<sjoerd@???>:
>      host angie.q-go.net [212.72.55.132]: 550 unknown user

>
> While the log does give it correctly:
>
> 2005-09-09 16:01:43 H=host-213-201-236-212.argeweb.nl
> (pooh.febe.nl) [213.201.236.212] F=<test@???> rejected RCPT
> <sjoerd@???>: Not employed at Q-go anymore
>
> Why would the 'Not employed anymore' text not be included in
> the generated bounce message?
>


I think you need to include the string $acl_verify_message in the message
specified in the deny stanza, e.g.

  deny
    message = Unknown user - $acl_verify_message 
    !verify = recipient


- Mark