Re: [Exim] virtual_delivery not working correctly

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Paul
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] virtual_delivery not working correctly
On Mon, 27 May 2002, Paul wrote:

> 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


> 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...


As I said, get the *director* not to recognize the address. Add a
setting of "local_parts" to your director so that it only works for
local parts that are valid.




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