Morvan <[EMAIL PROTECTED]> writes: > I install and use tmda-cgi (wide-system mode). I see its possible manage > and see everithing. > But I want only SHOW pending messages and per user basis, ie, one user > can't see others pending messages. Based on the user login the cgi should > show the logged user pending messages only, not all. > > My enviroment is: > I have a qmail-relay server, with one central user "tmda" that only apply > tmda-filter and relay the messages for $DEFAULT user in other server: > # cat /var/qmail/virtualdomains > domainx:tmda > # cat ~tmda/.qmail > |preline -f /usr/bin/tmda-filter > |forward "$DEFAULT"@realmailserver.domainx > > My pending messages are all centralized in the same dir /var/tmda/pending.
TMDA expects to have a pending/ directory for each user. That way, showing all the messages in pending is the same thing as showing only one user's message. tmda-cgi (and tmda-pending) would have to read every mail message in pending/ in order to figure out who the message was originally sent to. Neither base TMDA nor tmda-cgi is designed to work that way. > PS: > I can create one account and necessary aliases for each user on the tmda > server to match realserver accounts. If you create separate accounts on the tmda server, then each user will have his or her own home directory and therefore his or her own .tmda/ and pending/ directories. Then tmda-cgi will show only that user's pending messages. Tim _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
