# Watcher email configuration postfix 7.5

**URL:** <https://discuss.elastic.co/t/watcher-email-configuration-postfix-7-5/262262>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [January 26, 2021, 5:24pm UTC](https://discuss.elastic.co/t/watcher-email-configuration-postfix-7-5/262262 "2021-01-26T17:24:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [January 26, 2021, 5:24pm UTC](https://discuss.elastic.co/t/watcher-email-configuration-postfix-7-5/262262/1 "2021-01-26T17:24:44Z")

</div>

Hi, I was using this configuration in elasticsearch.yml for the email, but a friend told me that I was suposed to use the local postfix for the email, currently is pointing to the relay.

```auto
xpack.notification.email.account:
   mail1:
    profile: standard
    smtp.host: 172.21.0.321
    smtp.port: 25
    smtp.auth: false
    smtp.starttls.enable: false

```

so to change to postfix I just have to change the smtp.host to 127.0.0.1?  
or there is another seeting that I must change to use postfix?

elasticsearch 7.5

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 23, 2021, 5:24pm UTC](https://discuss.elastic.co/t/watcher-email-configuration-postfix-7-5/262262/2 "2021-02-23T17:24:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
