-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/27/2012 8:10 PM, IMAP List Administration wrote:
> Hello Folks,
> 
> I'm using postfix-2.9.20120102-sasl2 with cyrus-imapd-2.4.13p0
> on OpenBSD v5.1.
> 
> There are unix-users and pure-cyrus-users on the system.  Most
> of the unix-users have mail delivered to an identical
> cyrus-user, but for a few "local" transport should be used.
> 
> What is the best way to arbitrarily configure whether postfix
> delivers a mail addressed to a unix-user either using the
> "local" transport or to cyrus?
> 
> I have tried leaving mailbox_transport at the default, and
> creating a transport_map for every unix-user for which mail
> should be delivered to cyrus, like this:
> 
> <user>    cyrus:
> 
> -or with lmtp transport-
> 
> <user>    lmtp:unix:/path/to/socket
> 
> these both work, but they're cumbersome.

Yes, that's the right idea.

> 
> I've tried setting
> 
> mailbox_transport = lmtp:unix:/path/to/socket
> 
> and then adding a transport_map for the few unix-users for
> which "local" transport should be used, but this does not
> work.

To do it this way, use local_transport rather than mailbox_transport.

See the http://www.postfix.org/MAILDROP_README.html document for
hints on configuring an external delivery agent.  The postfix
interface is the same, only the external command differs.



  -- Noel Jones
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQPCNrAAoJEJGRUHb5Oh6glG8H/RWaElaKwSNDl2d5E1NLlTMx
08qiIKp0RyKDwdM3tzLOz2UVRf1hdosNXQgXF4dFoemBWo5aemzsTOyvN4yQe7+Y
5M27tEUAgQN9SbM3v06GspM5qsfRVkjC5V1tXCQMIJVeM74AjAtoCBhZP8mPX9cr
LdcbmA9YtuuHFx31fpypMWkUTNXcwk26b2uKpdMK1Bi4C/kIRoHUgTKzAZLXu/Lk
jFrCUFjPupP32CveCYdt1QE7qSxxac28lUafXkUPWU5fLlHzOOHPHBJd5yDIoRnh
JLwcluw8XeO9qiGyvkQPQdlC5tWzn95uUNjal8RXJ0FkgZ2BVInWVhmvwAIqJEU=
=qvtk
-----END PGP SIGNATURE-----

Reply via email to