So does anyone have postfix configured to check users against the database as described here:
http://pbj.ca/postfix.htmlIn a sandbox system I have postfix configured as a catch all and forward to maildaemon.php and it works fine. I have been trying to learn all the finer aspects of virtual mail routing and DB querying with postfix but so far have been unsuccessful. The doc seems to be missing or assuming some things in the postfix config. If anyone has any additional details not mentioned in the above link please post.
Comments
1. If I follow the config guide above I get an error (unknown user: "post"). Do you have to create a user named 'post' ?
2. If I change this to be a system user that I created the mail is delivered to the user's home/mail directory properly. If I setup a .forward the maildaemon.php throws a "could not parse" error. So I am guessing that during lookup the TO or FROM is getting messed up.
if you connect postfix to the user table, and have a user and group with uid and gid as noted, the .forward will work
email me if you need assistance; the doc works, but it is admittedly terse :)
Stefan Caunter
http://mapguy.ca/ http://pbj.ca/