Re: [Exim] virtual_delivery not working correctly

Góra strony
Delete this message
Reply to this message
Autor: Paul
Data:  
Dla: exim-users
CC: ph10
Temat: Re: [Exim] virtual_delivery not working correctly
Dear Phillip,

Thanks for point this out, below is the original transport handler and it's
corresponding director below it.

virtual_delivery:
driver = appendfile
file = ${lookup mysql {MYSQL_MAILBOX}{$value}}
delivery_date_add
envelope_to_add
return_path_add
user = mail
group = mail

virtual_local_user:
domains = ${lookup mysql {MYSQL_DOMAIN}{$value}}
driver = smartuser
transport = virtual_delivery

Thanks
Paul

----- Original Message -----
From: Philip Hazel
To: Paul
Cc: exim-users@???
Sent: Friday, May 24, 2002 6:10 PM
Subject: Re: [Exim] virtual_delivery not working correctly


On Fri, 24 May 2002, Paul wrote:

> I would like the message to be bounced, as it's not a valid user because

the
> SQL lookup did not return any data.
> Exim tries to deliver to a blank mailbox as you stated, but I want Exim to
> return the usual 550: user unknown
>
> How can this be achieved?


By getting the *director* not to recognize the address. You haven't
posted the director you are using, so I can't tell you what's wrong with
it...

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##