#!/bin/bash # Populate GreenMail test server with sample messages using Python script set -e cd "$(dirname "$0")" echo "Populating GreenMail with test messages..." # Check if Python 3 is available if ! command -v python3 &> /dev/null; then echo "❌ Python 3 is required but not installed" exit 1 fi # Run the Python script to populate messages python3 ./populate-greenmail.py