This commit is contained in:
Andreas Knuth 2025-06-09 19:31:30 -05:00
parent 2ee59c6153
commit 71869cf458
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ logger = logging.getLogger(__name__)
SMTP_HOST = "postfix" # MailCow Postfix-Container
SMTP_PORT = 25 # Fest auf Port 25 ohne TLS
API_TOKEN = os.environ.get('API_TOKEN', 'your-api-token') # Muss mit Lambda übereinstimmen
logger.info(f"API_TOKEN: {API_TOKEN}")
@app.route('/process/<domain>', methods=['POST'])
def process_email(domain):