[GH-ISSUE #77] Self-Host | Email Received by Server but not being pushed to clients' email. #114

Closed
opened 2026-03-01 17:44:54 +03:00 by kerem · 1 comment
Owner

Originally created by @scmaruthi on GitHub (Sep 19, 2020).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/77

I've fully setup the server as per instructions on Self-Hosting.
The Issue is that emails are received by the server and Postfix passes the email to the Anonaddy Content Filter.
But then Anonaddy doesn't send them out to the intended recipients.
When sending email to blocked alias, the blocked count increases and but emails that pass through to anonaddy don't seem to add to the counter either.
I've tried to troubleshoot this by setting it to debug .env but I can't figure out where the output logs are.

With regards to the content filter, I find my issue quite similar to here as you can see from my logs. I shows sent by anonaddy but as you can see the sendmail from the server to the destination user address doesn't occur.

Sep 19 19:21:42 mail postfix/smtpd[13595]: connect from mail-mw2nam10olkn2069.outbound.protection.outlook.com[XX.XX.XX.XX]
Sep 19 19:21:42 mail postfix/smtpd[13595]: Anonymous TLS connection established from mail-mw2nam10olkn2069.outbound.protection.outlook.com[XX.XX.XX.XX]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Sep 19 19:21:43 mail policyd-spf[13597]: prepend Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=XX.XX.XX.XX; helo=nam10-mw2-obe.outbound.protection.outlook.com; envelope-from=username@outlook.msft; receiver=<UNKNOWN>
Sep 19 19:21:43 mail postfix/smtpd[13595]: 97BA9177B64: client=mail-mw2nam10olkn2069.outbound.protection.outlook.com[XX.XX.XX.XX]
Sep 19 19:21:43 mail postfix/cleanup[13598]: 97BA9177B64: message-id=<c-241e7-kfa25gcd-4ly3kv=9ktckb@2.somedomain.com>
Sep 19 19:21:43 mail opendmarc[556]: 97BA9177B64: live.in pass
Sep 19 19:21:43 mail postfix/qmgr[13447]: 97BA9177B64: from=<username@outlook.msft>, size=6441, nrcpt=1 (queue active)
Sep 19 19:21:43 mail postfix/smtpd[13595]: disconnect from mail-mw2nam10olkn2069.outbound.protection.outlook.com[XX.XX.XX.XX] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Sep 19 19:21:44 mail postfix/pipe[13599]: 97BA9177B64: to=<example@username.example.com>, relay=anonaddy, delay=1, delays=0.76/0.01/0/0.27, dsn=2.0.0, status=sent (delivered via anonaddy service)
Sep 19 19:21:44 mail postfix/qmgr[13447]: 97BA9177B64: removed

Also where should the logs for anonaddy be? I tried to make everything verbose by adding -vvv but to no avail.
Any help would be appreciated,,,

Originally created by @scmaruthi on GitHub (Sep 19, 2020). Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/77 I've fully setup the server as per instructions on Self-Hosting. The Issue is that emails are received by the server and Postfix passes the email to the Anonaddy Content Filter. But then Anonaddy doesn't send them out to the intended recipients. When sending email to blocked alias, the blocked count increases and but emails that pass through to anonaddy don't seem to add to the counter either. I've tried to troubleshoot this by setting it to debug .env but I can't figure out where the output logs are. With regards to the content filter, I find my issue quite similar to [here](https://serverfault.com/questions/664917/mail-command-does-content-filter-in-postfix-works) as you can see from my logs. I shows sent by anonaddy but as you can see the sendmail from the server to the destination user address doesn't occur. ``` Sep 19 19:21:42 mail postfix/smtpd[13595]: connect from mail-mw2nam10olkn2069.outbound.protection.outlook.com[XX.XX.XX.XX] Sep 19 19:21:42 mail postfix/smtpd[13595]: Anonymous TLS connection established from mail-mw2nam10olkn2069.outbound.protection.outlook.com[XX.XX.XX.XX]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits) Sep 19 19:21:43 mail policyd-spf[13597]: prepend Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=XX.XX.XX.XX; helo=nam10-mw2-obe.outbound.protection.outlook.com; envelope-from=username@outlook.msft; receiver=<UNKNOWN> Sep 19 19:21:43 mail postfix/smtpd[13595]: 97BA9177B64: client=mail-mw2nam10olkn2069.outbound.protection.outlook.com[XX.XX.XX.XX] Sep 19 19:21:43 mail postfix/cleanup[13598]: 97BA9177B64: message-id=<c-241e7-kfa25gcd-4ly3kv=9ktckb@2.somedomain.com> Sep 19 19:21:43 mail opendmarc[556]: 97BA9177B64: live.in pass Sep 19 19:21:43 mail postfix/qmgr[13447]: 97BA9177B64: from=<username@outlook.msft>, size=6441, nrcpt=1 (queue active) Sep 19 19:21:43 mail postfix/smtpd[13595]: disconnect from mail-mw2nam10olkn2069.outbound.protection.outlook.com[XX.XX.XX.XX] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7 Sep 19 19:21:44 mail postfix/pipe[13599]: 97BA9177B64: to=<example@username.example.com>, relay=anonaddy, delay=1, delays=0.76/0.01/0/0.27, dsn=2.0.0, status=sent (delivered via anonaddy service) Sep 19 19:21:44 mail postfix/qmgr[13447]: 97BA9177B64: removed ``` Also where should the logs for anonaddy be? I tried to make everything verbose by adding -vvv but to no avail. Any help would be appreciated,,,
kerem closed this issue 2026-03-01 17:44:54 +03:00
Author
Owner

@scmaruthi commented on GitHub (Sep 21, 2020):

Reinstalling on Ubuntu 18.04 fixed it.

<!-- gh-comment-id:696093593 --> @scmaruthi commented on GitHub (Sep 21, 2020): Reinstalling on Ubuntu 18.04 fixed it.
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/anonaddy#114
No description provided.