[GH-ISSUE #146] pgp encrypted aren't sending #717

Closed
opened 2026-03-14 10:20:18 +03:00 by kerem · 8 comments
Owner

Originally created by @lgwapnitsky on GitHub (May 1, 2021).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/146

i created a gpg key for my server, and then added my personal public key to my account. WHen enabled, no messages get via the alias.

Originally created by @lgwapnitsky on GitHub (May 1, 2021). Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/146 i created a gpg key for my server, and then added my personal public key to my account. WHen enabled, no messages get via the alias.
kerem closed this issue 2026-03-14 10:20:23 +03:00
Author
Owner

@lgwapnitsky commented on GitHub (May 2, 2021):

Issues noticed while watching the logs and rspamd:

  • rspamd doesn't see the envelope for the messages
  • postfix never sends out the message like it does with unencrypted messages. It receives, but nothing else.
<!-- gh-comment-id:830776995 --> @lgwapnitsky commented on GitHub (May 2, 2021): Issues noticed while watching the logs and rspamd: * rspamd doesn't see the envelope for the messages * postfix never sends out the message like it does with unencrypted messages. It receives, but nothing else.
Author
Owner

@willbrowningme commented on GitHub (May 2, 2021):

Could you check the Laravel log in /var/www/anonaddy/storage/logs?

<!-- gh-comment-id:830788756 --> @willbrowningme commented on GitHub (May 2, 2021): Could you check the Laravel log in `/var/www/anonaddy/storage/logs`?
Author
Owner

@lgwapnitsky commented on GitHub (May 2, 2021):

Nothing is showing

[2021-05-02 09:07:22] production.ERROR: Command "cache:config" is not defined.                                                                                          Did you mean one of these?                                  cache:clear                                             cache:forget                                            cache:table {"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): Command \"cache:config\" is not defined.                                                                     Did you mean one of these?                                  cache:clear                                             cache:forget                                            cache:table at /var/www/anonaddy/vendor/symfony/console/Application.php:675)                                [stacktrace]                                            #0 /var/www/anonaddy/vendor/symfony/console/Application.php(254): Symfony\\Component\\Console\\Application->find()                                                      #1 /var/www/anonaddy/vendor/symfony/console/Application.php(166): Symfony\\Component\\Console\\Application->doRun()                                                     #2 /var/www/anonaddy/vendor/laravel/framework/src/Illuminate/Console/Application.php(92): Symfony\\Component\\Console\\Application->run()                               #3 /var/www/anonaddy/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run()                                #4 /var/www/anonaddy/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()                             #5 {main}                                               "}
<!-- gh-comment-id:830801706 --> @lgwapnitsky commented on GitHub (May 2, 2021): Nothing is showing ``` [2021-05-02 09:07:22] production.ERROR: Command "cache:config" is not defined. Did you mean one of these? cache:clear cache:forget cache:table {"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): Command \"cache:config\" is not defined. Did you mean one of these? cache:clear cache:forget cache:table at /var/www/anonaddy/vendor/symfony/console/Application.php:675) [stacktrace] #0 /var/www/anonaddy/vendor/symfony/console/Application.php(254): Symfony\\Component\\Console\\Application->find() #1 /var/www/anonaddy/vendor/symfony/console/Application.php(166): Symfony\\Component\\Console\\Application->doRun() #2 /var/www/anonaddy/vendor/laravel/framework/src/Illuminate/Console/Application.php(92): Symfony\\Component\\Console\\Application->run() #3 /var/www/anonaddy/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run() #4 /var/www/anonaddy/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle() #5 {main} "} ```
Author
Owner

@lgwapnitsky commented on GitHub (May 2, 2021):

Sent you a copy of today's logs. with debug on, nothing is reporting. System has no laravel.log file.

<!-- gh-comment-id:830809175 --> @lgwapnitsky commented on GitHub (May 2, 2021): Sent you a copy of today's logs. with debug on, nothing is reporting. System has no laravel.log file.
Author
Owner

@lgwapnitsky commented on GitHub (May 2, 2021):

Also noticing (using redis-commander) that encrypted emails stay in the redis queue under anonaddy_cache instead of being processed. I had 25 in there and just deleted it. Sent a new email with encryption on, and the cache is recreated with one message sitting in there.

I turned off encryption, the message went straight through.

Could this be a php 8 issue? I'm considering rebuilding the box with 7.4 just to test

<!-- gh-comment-id:830833420 --> @lgwapnitsky commented on GitHub (May 2, 2021): Also noticing (using redis-commander) that encrypted emails stay in the redis queue under anonaddy_cache instead of being processed. I had 25 in there and just deleted it. Sent a new email with encryption on, and the cache is recreated with one message sitting in there. I turned off encryption, the message went straight through. Could this be a php 8 issue? I'm considering rebuilding the box with 7.4 just to test
Author
Owner

@lgwapnitsky commented on GitHub (May 2, 2021):

tried a second box with 7.4, fresh install. Moved my IPs over, changed DKIMs. Same issue with encrypted messages. No errors in logs

<!-- gh-comment-id:830853998 --> @lgwapnitsky commented on GitHub (May 2, 2021): tried a second box with 7.4, fresh install. Moved my IPs over, changed DKIMs. Same issue with encrypted messages. No errors in logs
Author
Owner

@lgwapnitsky commented on GitHub (May 2, 2021):

May  2 18:24:55 anonaddy postfix/postscreen[7203]: CONNECT from [209.85.217.45]:35770 to [71.185.204.33]:25
May  2 18:25:01 anonaddy postfix/postscreen[7203]: PASS NEW [209.85.217.45]:35770
May  2 18:25:02 anonaddy postfix/smtpd[7207]: connect from mail-vs1-f45.google.com[209.85.217.45]
May  2 18:25:03 anonaddy postfix/smtpd[7207]: Anonymous TLS connection established from mail-vs1-f45.google.com[209.85.217.45]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256
May  2 18:25:10 anonaddy postfix/smtpd[7207]: 5C3338206C: client=mail-vs1-f45.google.com[209.85.217.45]
May  2 18:25:10 anonaddy postfix/cleanup[7216]: 5C3338206C: message-id=<CAMbq2J9i9ePhmADm9urEjs7_KMXdPud+sqGMk2tHskS-cppAww@mail.gmail.com>
May  2 18:25:11 anonaddy postfix/qmgr[3668]: 5C3338206C: from=<larry@blingblingbling.com>, size=3984, nrcpt=1 (queue active)
May  2 18:25:11 anonaddy postfix/smtpd[7207]: disconnect from mail-vs1-f45.google.com[209.85.217.45] ehlo=2 starttls=1 mail=1 rcpt=1 bdat=1 quit=1 commands=7
May  2 18:25:12 anonaddy postfix/pipe[7217]: 5C3338206C: to=<test@lgwapnitsky.anon.qual-itsystems.com>, relay=anonaddy, delay=9.3, delays=8.8/0.01/0/0.49, dsn=2.0.0, status=sent (delivered via anonaddy service ( In StreamHandler.php line 111:                                                                     ))
May  2 18:25:12 anonaddy postfix/qmgr[3668]: 5C3338206C: removed

this is from mail.log on a failed message sent when gpg is enabled on the recipient. I've replaced my personal domain with blingblingbling.

the postscreen is required for haproxy translation

<!-- gh-comment-id:830917287 --> @lgwapnitsky commented on GitHub (May 2, 2021): ``` May 2 18:24:55 anonaddy postfix/postscreen[7203]: CONNECT from [209.85.217.45]:35770 to [71.185.204.33]:25 May 2 18:25:01 anonaddy postfix/postscreen[7203]: PASS NEW [209.85.217.45]:35770 May 2 18:25:02 anonaddy postfix/smtpd[7207]: connect from mail-vs1-f45.google.com[209.85.217.45] May 2 18:25:03 anonaddy postfix/smtpd[7207]: Anonymous TLS connection established from mail-vs1-f45.google.com[209.85.217.45]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256 May 2 18:25:10 anonaddy postfix/smtpd[7207]: 5C3338206C: client=mail-vs1-f45.google.com[209.85.217.45] May 2 18:25:10 anonaddy postfix/cleanup[7216]: 5C3338206C: message-id=<CAMbq2J9i9ePhmADm9urEjs7_KMXdPud+sqGMk2tHskS-cppAww@mail.gmail.com> May 2 18:25:11 anonaddy postfix/qmgr[3668]: 5C3338206C: from=<larry@blingblingbling.com>, size=3984, nrcpt=1 (queue active) May 2 18:25:11 anonaddy postfix/smtpd[7207]: disconnect from mail-vs1-f45.google.com[209.85.217.45] ehlo=2 starttls=1 mail=1 rcpt=1 bdat=1 quit=1 commands=7 May 2 18:25:12 anonaddy postfix/pipe[7217]: 5C3338206C: to=<test@lgwapnitsky.anon.qual-itsystems.com>, relay=anonaddy, delay=9.3, delays=8.8/0.01/0/0.49, dsn=2.0.0, status=sent (delivered via anonaddy service ( In StreamHandler.php line 111: )) May 2 18:25:12 anonaddy postfix/qmgr[3668]: 5C3338206C: removed ``` this is from mail.log on a failed message sent when gpg is enabled on the recipient. I've replaced my personal domain with blingblingbling. the postscreen is required for haproxy translation
Author
Owner

@lgwapnitsky commented on GitHub (May 4, 2021):

REsolved. It was a fat-finger copy/paste error. Thanks for all the help!

<!-- gh-comment-id:831934170 --> @lgwapnitsky commented on GitHub (May 4, 2021): REsolved. It was a fat-finger copy/paste error. Thanks for all the help!
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#717
No description provided.