On 08/06/05, Steven Wayne <[EMAIL PROTECTED]> wrote:
> Hello everybody,
> 
> I have a directory of userid's ( /popboxes/boxes/ ) and the idea is
> that if a directory exists under there it is a userid so accept the
> email.
> 
> The only example I've seen is:
> 
> virtual_users:
>  debug_print = "R: virtual_users for [EMAIL PROTECTED]"
>  driver = accept
>  domains = dsearch;/popboxes/config
>  local_parts = lsearch;/popboxes/config/$domain
>  transport = popboxesmailer_pipe
>  require_files = /popboxes/bin/popboxesmailer
>  no_verify
>  no_expn
> 
> Which works fine, so long as I have a directory /popboxes/config
> and file(s) in it corresponding to the domain(s), with userid's
> in.
> 
> To create a file I ran
> "ls -1 /popboxes/boxes >/popboxes/config/rebma.dyndns.org"
> 
> which does what I want.
> 
> If I send an email to [EMAIL PROTECTED] it is passed to my
> transport, which puts it in the correct Maildir.
> 
> As this server will only ever be sent emails to "rebma.dyndns.org"
> I'm sure there must be a way to configure this without the
> "domains dsearch" bit.

domains = rebma.dyndns.org
local_parts = dsearch;/popboxes/boxes

(untested, and given my record so far today, might not be quite right..)

Peter

-- 
Peter Bowyer
Email: [EMAIL PROTECTED]
Tel: +44 1296 768003
VoIP: sip:[EMAIL PROTECTED]

--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to