Added a message that is logged every time Petidomo starts up. This
message will "dump" the configuration of Petidomo so that the user has a clue which Petidomo instance is doing what.
This commit is contained in:
parent
0670963e12
commit
dfa298ce19
5
main.c
5
main.c
@ -103,6 +103,11 @@ main(int argc, char * argv[])
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/* Log a few helpful facts about this Petidomo instance. */
|
||||
|
||||
syslog(LOG_DEBUG, "Petidomo starting up; mode=%s, listname=%s, approved=%s, ruid=%d, euid=%d, gid=%d, egid=%s",
|
||||
mode, listname, (g_is_approved) ? "true" : "false", getuid(), geteuid(), getgid(), getegid());
|
||||
|
||||
/* Now decide what we actually do with the mail. */
|
||||
|
||||
if (strcasecmp("listserv", mode) == 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user