Patrick Starrenburg <[EMAIL PROTECTED]> writes:

> Can anyone suggest the ideal user and group id to use in TMDA for
> writing out log files and how to get TMDA to use specific uid.gid
> for this?

It can only assume that the owner of the controlling Python process
is the rightful UID.

> I have TMDA setup in global or 'server' mode with central config
> files.

[...]

> Problem is that I see that the log files are also being written
> out with the same uid.gid current at the time of specific message
> delivery, which obviously is always changing. Also I see that the
> mode on log file is 644 so after TMDA writes the log file first
> as one user then second mail delivery process (with different
> uid) cannot write to log.
>
> Can the uid.gid of the log file(s) be specified and can logs
> (optionally) be written with mode 664?

If the log doesn't need to dynamically created by TMDA, then set
the permissions you want and leave it.  As long as TMDA can still
write to it, you should get the behavior you describe.



_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to