- /* Determine if the message originated here on the local system. If it did we will suppress printing of email addresses */
- is_local = 0;
- char *at = !IsEmptyStr(message->email) ? strchr(message->email,'@') : NULL;
- if (at) {
- if (!strcasecmp(++at, ipc->ServInfo.fqdn)) {
- is_local = 1;
- }
- }
- else {
- is_local = 1; // no address means it couldn't have originated anywhere else
- }
-