Files
mail-worker/README.md
AyrisAI 17ad42b3b9 vbsgf
2026-05-14 19:29:58 +03:00

1.4 KiB
Raw Blame History

AyrisTech Mail Worker (V10.3)

Mailcow Dovecot loglarını ve dosya sistemini izleyerek yeni gelen mailleri Next.js webhook'una ileten servis.

Kurulum (Türkçe)

1. Dosyaları Hazırlayın

Örnek dosyayı kopyalayın ve bilgilerinizi girin:

cp .env.example .env

2. Çalıştırma (Docker Compose)

En kolay ve tavsiye edilen yöntem:

docker compose up -d --build

3. Manuel Çalıştırma (Geliştirme)

npm install
npm start

AyrisTech Mail Worker (V10.3) - English

Service that monitors Mailcow Dovecot logs and filesystem to forward new incoming emails to a Next.js webhook.

Installation (English)

1. Prepare Files

Copy the example file and enter your details:

cp .env.example .env

2. Execution (Docker Compose)

The easiest and recommended method:

docker compose up -d --build

3. Manual Run (Development)

npm install
npm start

Önemli Notlar / Important Notes

  • TR: Servis docker exec komutu kullandığı için /var/run/docker.sock erişimine ihtiyaç duyar.
  • EN: The service requires access to /var/run/docker.sock to execute docker exec commands.
  • TR: Mailcow mail dosyaları /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data/ yolunda olmalıdır.
  • EN: Mailcow email files must be located at /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data/.