# SMTP Extension for Sendmail or Postfix

**URL:** <https://community.dynatrace.com/t/smtp-extension-for-sendmail-or-postfix/33076>\
**Category:** Extensions\
**Tags:** technologies, extensions\
**Created:** [October 22, 2021, 5:08pm UTC](https://community.dynatrace.com/t/smtp-extension-for-sendmail-or-postfix/33076 "2021-10-22T17:08:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![borgesm](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/borgesm/32/32366_2.png) [@borgesm](https://community.dynatrace.com/u/borgesm)\
**Post date:** [October 22, 2021, 5:08pm UTC](https://community.dynatrace.com/t/smtp-extension-for-sendmail-or-postfix/33076/1 "2021-10-22T17:08:51Z")

</div>

Hi Team!  
Is there something on Dyna to we monitor outgoing messages from UNIX ( sendmail or postfix ) ?  
Something like [GitHub - smoeding/zabbix-sendmail: A native Zabbix Agent module to monitor Sendmail mail statistics · GitHub](https://github.com/smoeding/zabbix-sendmail) .  
If any plans on roadmap please let me know. Would be a great feature to we monitor messages from Unix Systems.  
Thanks, Mauricio

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 22, 2021, 6:29pm UTC](https://community.dynatrace.com/t/smtp-extension-for-sendmail-or-postfix/33076/2 "2021-10-22T18:29:06Z")

</div>

Hello&nbsp;[@borgesm](https://community.dynatrace.com/user/37249)&nbsp;,

you can meanwhile use the telegraf [postifx plugin](https://github.com/influxdata/telegraf/blob/release-1.20/plugins/inputs/postfix/README.md)&nbsp;and [push the data to Dynatrace.](https://www.dynatrace.com/news/blog/simplify-observability-for-all-your-custom-metrics-part-5-telegraf/)

Julius

---

<div class="post-metadata">

**Author:** ![borgesm](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/borgesm/32/32366_2.png) [@borgesm](https://community.dynatrace.com/u/borgesm)\
**Post date:** [October 22, 2021, 6:34pm UTC](https://community.dynatrace.com/t/smtp-extension-for-sendmail-or-postfix/33076/3 "2021-10-22T18:34:43Z")

</div>

Thanks Julius!  
I will take a look! Do y have something for Sendmail ? Most of our servers are running sendmail over AIX.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 23, 2021, 8:11am UTC](https://community.dynatrace.com/t/smtp-extension-for-sendmail-or-postfix/33076/4 "2021-10-23T08:11:24Z")

</div>

Hi&nbsp;[@borgesm](https://community.dynatrace.com/user/37249)&nbsp;,

not directly. I did not deal with sendmail for ages (I’m a happy postfix user), but the straightforward way would be to just write a simple shell script that will execute the mailstats command, simply process the output and push the metrics locally using the&nbsp;[dynatrace\_ingest](https://www.dynatrace.com/support/help/shortlink/pipe-metric-ingestion)&nbsp;tool available in OneAgent.&nbsp; You will just need to have it executed in a loop or from a cron daemon.

Julius
