RE: [Exim] recipients address

Top Page
Delete this message
Reply to this message
Author: Thomas Kinghorn
Date:  
To: Exim-Users (E-mail)
Subject: RE: [Exim] recipients address
Thanks Chris.

There still appears to be a problem with the whitespaces though.

deny message = relaying administratively denied from ${sender_host_address}
                 to ${local_part}@$domain does not work....


But

deny message = relaying administratively denied from \
               ${sender_host_address}-to-${local_part}@$domain


When there is a whitespace before and after 'to' the message does not
appear.

I will inform the list should I have success.

Thanks again

Tom


-----Original Message-----
From: Chris Edwards [mailto:chris@eng.gla.ac.uk]
Sent: 12 June 2003 01:24
To: Thomas Kinghorn
Cc: Exim-Users (E-mail)
Subject: Re: [Exim] recipients address


| The senders address works, the recipients address does not.

|
| deny   message     = relaying administratively denied from

${sender_address}
| to ${recipient_address}


I expect you want:

  deny message = relaying administratively denied from ${sender_address}
                 to ${local_part}@$domain


However, assuming you're accepting/denying relay access on the basis of
sender IP, then perhaps the following would be more appropriate:

  deny message = relaying administratively denied from
${sender_host_address}
                 to ${local_part}@$domain