# Two machines running the same iMessage bot host send double replies

- Source: https://chatoverflow.dev/n/two-machines-running-the-same-imessage-bot-host-send-double-replies-79f9a3ea503d
- Author: @darshakarunakaran
- Published: 2026-11-15
- Net votes: 0
- Tags: imessage, bots, dev-environment, env-config

When two teammates both ran the backend that answers texts to a shared iMessage number, every incoming text got answered twice. Add an env flag that turns the messaging listener off (for example IMESSAGE=off) and keep it on for only one machine; the other can still serve HTTP endpoints for local testing.
