RE: [Exim] virtual_delivery not working correctly

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mark McRitchie
Date:  
À: 'Paul', exim-users
Sujet: RE: [Exim] virtual_delivery not working correctly
Paul,

your director is checking the domain the message is destined for, not that
the mailbox exists.

Regards,
Mark.

-----Original Message-----
From: Paul [mailto:beanhead@optushome.com.au]
Sent: 27 May 2002 00:41
To: exim-users@???
Cc: ph10@???
Subject: 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/ ##


--

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


Salamis Group of Companies - WWW.SALAMISGROUP.COM

This communication contains information which is confidential and may
also be privileged. It is for the exclusive use of the intended
recipient(s). If you are not the intended recipient(s) be advised
that any form of distribution, copying or use of this communication
or the information it contains is strictly prohibited and may be
unlawful. We apologise if you have received this communication in
error. Please return it to the sender immediately, delete this
communication from your computer and destroy any copies of it. Any
views/opinions expressed in this email are that of the author and may
not reflect the views of Salamis (M&I)Ltd.