[Dovecot] %d in deliver

Timo Sirainen tss at iki.fi
Fri Nov 21 14:48:36 EET 2008


On Thu, 2008-11-20 at 11:05 +0000, Mark Zealey wrote:
> I run a system that has a lot of virtual users. We invoke deliver from
> exim and pass the directory to deliver into using the HOME environment
> variable, so deliver doesn't do any database lookups during the delivery
> process. The exim pipe environment is described at
> http://exim.org/exim-html-current/doc/html/spec_html/index.html#toc0239,
> but basically I'd like to know the domain as well as the user, however
> deliver doesn't seem to pick this up. Is there any way that you could
> extend deliver to make it either pick up the domain (or correct
> username) from the command line, but not do an authdb lookup; or get it
> to read the domain from an environment variable (or be able to print the
> contents of an arbitrary environment variable in a formatted string)?

If you set USER environment to user at domain, the domain is picked up.

Dovecot in general doesn't handle domains specially. There's only the
username and only in certain specific situations the user and domain
parts in it are handled specially.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081121/80210409/attachment.bin 


More information about the dovecot mailing list