A modern email client with SMTP server capabilities and advanced email filtering rules.
Clone the repository:
git clone https://github.com/starzeus/mailrelay-email-client.git
cd mailrelay-email-client
Install dependencies:
pnpm install
Copy the environment variables file:
cp .env.example .env
Update the environment variables in .env with your configuration.
Initialize the database:
pnpm db:migrate
# Run the Next.js client only
pnpm dev
# Run the SMTP server only
pnpm smtp
# Run both client and SMTP server
pnpm dev:all
pnpm build
pnpm start
Build and run with Docker Compose:
docker-compose up -d
The services will be available at:
POSTGRES_URL: PostgreSQL connection URLSMTP_HOST: SMTP server hostnameSMTP_PORT: SMTP server portSMTP_SECURE: Enable/disable TLSSMTP_USER: SMTP authentication usernameSMTP_PASS: SMTP authentication passwordSMTP_FROM: Default "From" addressAPP_MODE: Run mode ('client', 'smtp', or 'both')APP_PORT: Web client portSMTP_SERVER_PORT: SMTP server portKAFKA_BROKERS: Kafka broker addressesKAFKA_CLIENT_ID: Kafka client identifierJWT_SECRET: JWT signing secretMIT License - see LICENSE file for details
Content type
Image
Digest
sha256:02bc3bfed…
Size
455.2 MB
Last updated
over 1 year ago
docker pull starzeus/mailrelay-email-client