I think I've got a plan for adding valias support. It looks easier than writing the files directly. The PHP prototype is already using only vpopmail calls for data retrieval and I've got all the lookup function working.
http://kimberly.developersdesk.com/ then select pMailAdmin
There are a few questions and things I would like to understand better...
Does your valias mod for QmailAdmin check if enable-valias is set anywhere? I don't see it... you just ALWAYS go through the vpopmail calls instead of direct file access. Right?
Is there any way of getting just the alias names, without the actual forwarding information?
Does vpopmail maintain the order of alies lines? I think I read somewhere that if you are using database storage it does not. I think that may be a serious problem.
Am I correct...
With enable-valias forwards and robots are handled by vdelivermail instead of having a .qmail- file in the domain directory and if a database is not used, then .qmail files _are_ used.
Mailing lists are not handled by valias.
I can do anything in a database alias that I can do from a .qmail file alias.
Thanks, Rick