I have mailcow installed using docker and runs very well in sending and receiving mails using the defined domain. I have no customization implemented or configured. BUT..
I have the following issue:
From the Docker host system there were some system emails sent to root@localhost. This emails are stuck
mailcowdockerized-watchdog-mailcow-1 | "rcpt": "root@localhost",
mailcowdockerized-watchdog-mailcow-1 | "from": "",
mailcowdockerized-watchdog-mailcow-1 | "user": "unknown",
mailcowdockerized-watchdog-mailcow-1 | "rl_info": "bounce_to(RL7o39sx5xp11kahu376cub)",
mailcowdockerized-watchdog-mailcow-1 | "rl_name": "bounce_to",
mailcowdockerized-watchdog-mailcow-1 | "rl_hash": "RL7o39sx5xp11kahu376cub",
mailcowdockerized-watchdog-mailcow-1 | "qid": "AEC2F16A1EEE",
mailcowdockerized-watchdog-mailcow-1 | "ip": "172.22.1.1",
mailcowdockerized-watchdog-mailcow-1 | "message_id": "202204020441.2324f1Gx2828316@localhost",
mailcowdockerized-watchdog-mailcow-1 | "header_subject": "Warning: could not send message for past 4 hours",
mailcowdockerized-watchdog-mailcow-1 | "header_from": "Mail Delivery Subsystem <MAILER-DAEMON@localhost>"
mailcowdockerized-watchdog-mailcow-1 | }
So question(s):
- How can I remove them from the queue ?
- Optional - If any of you know, how can I map the rcpt: root@localhost to a specific real email address?
I thank you for any hints or even links where I can find out more.