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

62 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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/`.