Jeff Rice wrote:

Hello,
I'd like to get my postfix system to pull the virtual transport from a table, so that I can have some domains use procmail and others use Dovecot's deliver while I test this out.

I'm adding this to a system that is already up and running using mysql for lookups of users, passwords, etc. So the other parts are all working, and procmail/deliver work if I set them in virtual_transport.

I'm not sure exactly how to do this. I have a table containing the fields 'domain' and 'transport'. In 'transport', I've listed the transport as it appears in master.cf: either dovecot or procmail.

Am I on the right track?  How then do I get postfix to use this?

Jeff

You're almost there. Use the new table as a transport_maps lookup. See:
http://www.postfix.org/postconf.5.html#virtual_transport
http://www.postfix.org/postconf.5.html#transport_maps
http://www.postfix.org/transport.5.html

The virtual_mailbox_domains use virtual_transport as a default, overrides go in transport_maps.

  -- Noel Jones

Reply via email to