Re: [exim] Produce 550 error depending on sender's email

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jeffrey Starin
Fecha:  
A: Always Learning
Cc: Exim
Asunto: Re: [exim] Produce 550 error depending on sender's email
On 3/16/2012 11:26 AM, Always Learning wrote:
> Extending my last suggestion, because I more carefully re-read the requirement:
>
>
>
>> We need to send a 550 error to several senders even though the recipient
>> email address is, in fact, valid. This is because the recipient does
>> not want to receive any email from the sender and wishes them to think
>> that their email does not exist on our receiving servers.
> How about this ?
>
> acl_check_rcpt:
>
> deny   message    = [2C03] Unknown email address $local_part@$domain.
>         recipients = jonny@???
>         senders    = EXDIR/jonny.unwanted

>
>
> EXDIR is a predefined variable pointing to the location of Exim data files.
>
> jonny.unwanted contains
>
> sally@???
> fred@junk,com
>
>
>
>
>
>

I've tried both methods and the message gets through. . . can EXDIR
part look like:

senders = /etc/jonny.unwanted

or is, in fact, EXDIR an actual Exim reserved word?