[CentOS] Tracking down application sending mail in CentOS 7

Fri Jun 25 01:59:53 UTC 2021
H <agents at meddatainc.com>

On 06/23/2021 10:15 PM, Kenneth Porter wrote:
> --On Wednesday, June 23, 2021 10:54 PM -0400 H <agents at meddatainc.com> wrote:
>
>> Viewing /var/log/maillog I get some information but cannot see which
>> application generated that e-mail, nor the content of it which would
>> likely allow me to see where it comes from.
>>
>> Can anyone suggest how to track down the app so I can reconfigure the
>> mail address?
>
> Hold all delivery so you can examine the mystery message in the queue. I found this article on how to hold mail with Postfix:
>
> <https://serverfault.com/questions/92981/how-do-i-temporarily-suspend-mail-delivery-to-a-specific-domain-non-local-with>
>
> This requires creating the file /etc/postfix/hold with a static hold rule and "compiling" it with the postmap command. Add a line to main.cf to use the new map.
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

There are plenty of messages, basically every few minutes, see the e-mail I just posted.