# 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: ```bash cp .env.example .env ``` ### 2. Çalıştırma (Docker Compose) En kolay ve tavsiye edilen yöntem: ```bash docker compose up -d --build ``` ### 3. Manuel Çalıştırma (Geliştirme) ```bash 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: ```bash cp .env.example .env ``` ### 2. Execution (Docker Compose) The easiest and recommended method: ```bash docker compose up -d --build ``` ### 3. Manual Run (Development) ```bash 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/`.