postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: "virtual pipe" (i.e. in SQL database)?

"virtual pipe" (i.e. in SQL database)?

From: Tomasz Chmielewski <mangoo_at_nospam>
Date: Wed Oct 27 2010 - 17:58:40 GMT
To: Postfix users <>

So far, I've been managing virtual users in a database. Works great, allows you lot of flexibility.

However, this is not the case with pipes for virtual users.

To add pipes for virtual users, I've been doing the below configuration:
mypipe unix - n n - - pipe flags=O user=someuser:someuser argv=/shared/scripts/ $recipient
otherpipe unix - n n - - pipe flags=O user=otheruser:otheruser argv=/shared/scripts/ $recipient
transport_maps = hash:/etc/postfix/transport, hash:/shared/etc/postfix/pipes

/shared/etc/postfix/pipes: mypipe: otherpipe:

It works OK, but I'd rather keep it in MySQL only, or, have it somehow without having to edit each time.

Is it possible?

-- Tomasz Chmielewski