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:


master.cf:
mypipe unix - n n - - pipe flags=O user=someuser:someuser 
argv=/shared/scripts/mypipe.sh $recipient
otherpipe unix - n n - - pipe flags=O user=otheruser:otheruser 
argv=/shared/scripts/otherpipe.sh $recipient


main.cf:
transport_maps = hash:/etc/postfix/transport, hash:/shared/etc/postfix/pipes


/shared/etc/postfix/pipes:
t...@example.com        mypipe:
ot...@new.example.com   otherpipe:



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

Is it possible?


-- 
Tomasz Chmielewski
http://wpkg.org

Reply via email to