Quantcast
Viewing latest article 13
Browse Latest Browse All 47812

550 pubkey_unavailable

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.3
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version:  debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello, Everyone!!

I have set up a new fresh installation (with lets encrypt certificate pointing to mail.someotherdomain.com) as local server that will host 10 users or so.  the main point this servers has to be used as a smart host to relay the  internet facing emails of the domain so my hosting will not ban account for sending to much email,

some years ago this was done by having sasl_passwd file
user1@serverpro.mx   user1@serverpro.mx:SecretPassword

and by adding on main.cf
smtp_sender_dependent_authentication = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_type = cyrus
smtp_sasl_mechanism_filter = login
smtp_always_send_ehlo = yes
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
relayhost = [mail.serverpro.mx]:587

and that worked.

now i did this and configured thunderbird email client to point to mail.someotherdomain.com with port 587
starttls
normalpassword
user1@serverpro.mx

this is the massage the user gets

=================
Reporting-MTA: dns; mx.serverpro.local
X-Postfix-Queue-ID: 4ZZjzN2NpZzPljT
X-Postfix-Sender: rfc822; crm@serverpro.mx
Arrival-Date: Sat, 12 Apr 2025 13:19:28 -0600 (CST)

Final-Recipient: rfc822; rtrevino70@gmail.com
Original-Recipient: rfc822;rtrevino70@gmail.com
Action: failed
Status: 5.0.0
Remote-MTA: dns; mail.serverpro.mx
Diagnostic-Code: smtp; 550-DKIM: encountered the following problem validating
    serverpro.mx: 550 pubkey_unavailable
=================




this is my postfix log

=================
2025-04-12T13:19:27.304592-06:00 mx postfix/submission/smtpd[28605]: warning: hostname dsl-189-160-11-69-dyn.prod-infinitum.com.mx does not resolve to address 189.160.11.69: Name or service not known
2025-04-12T13:19:27.304888-06:00 mx postfix/submission/smtpd[28605]: connect from unknown[189.160.11.69]
2025-04-12T13:19:27.327866-06:00 mx postfix/submission/smtpd[28605]: discarding EHLO keywords: CHUNKING
2025-04-12T13:19:27.365147-06:00 mx postfix/submission/smtpd[28605]: Anonymous TLS connection established from unknown[189.160.11.69]: TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 s>
2025-04-12T13:19:27.367483-06:00 mx postfix/submission/smtpd[28605]: discarding EHLO keywords: CHUNKING
2025-04-12T13:19:27.528278-06:00 mx postfix/submission/smtpd[28605]: 4ZZjzM3lD5zPlhW: client=unknown[189.160.11.69], sasl_method=PLAIN, sasl_username=crm@serverpro.mx
2025-04-12T13:19:27.554103-06:00 mx postfix/cleanup[28611]: 4ZZjzM3lD5zPlhW: message-id=<b742ddbc-da35-41d4-b9bd-3f6da64c8564@serverpro.mx>
2025-04-12T13:19:27.559322-06:00 mx postfix/qmgr[2540]: 4ZZjzM3lD5zPlhW: from=<crm@serverpro.mx>, size=536, nrcpt=1 (queue active)
2025-04-12T13:19:28.323588-06:00 mx postfix/10025/smtpd[28621]: connect from localhost[127.0.0.1]
2025-04-12T13:19:28.323869-06:00 mx postfix/10025/smtpd[28621]: discarding EHLO keywords: CHUNKING
2025-04-12T13:19:28.337867-06:00 mx postfix/10025/smtpd[28621]: 4ZZjzN2NpZzPljT: client=localhost[127.0.0.1]
2025-04-12T13:19:28.339594-06:00 mx postfix/cleanup[28611]: 4ZZjzN2NpZzPljT: message-id=<b742ddbc-da35-41d4-b9bd-3f6da64c8564@serverpro.mx>
2025-04-12T13:19:28.344723-06:00 mx postfix/10025/smtpd[28621]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
2025-04-12T13:19:28.344891-06:00 mx postfix/qmgr[2540]: 4ZZjzN2NpZzPljT: from=<crm@serverpro.mx>, size=1782, nrcpt=1 (queue active)
2025-04-12T13:19:28.362213-06:00 mx amavis[1822]: (01822-01) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [189.160.11.69]:27396 [189.160.11.69] ESMTP/ESMTP <crm@serverpro.mx> -> <rtrevino70@gmail.com>, (ESMTPS>
2025-04-12T13:19:28.375830-06:00 mx postfix/amavis/smtp[28616]: 4ZZjzM3lD5zPlhW: to=<rtrevino70@gmail.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.9, delays=0.09/0.11/0.01/0.69, dsn=2.0.0, status=sent (250 2.0.0>
2025-04-12T13:19:28.376040-06:00 mx postfix/qmgr[2540]: 4ZZjzM3lD5zPlhW: removed
2025-04-12T13:19:29.293674-06:00 mx postfix/smtp[28622]: Trusted TLS connection established to mail.serverpro.mx[34.125.57.24]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 serv>
2025-04-12T13:19:30.025383-06:00 mx postfix/smtp[28622]: 4ZZjzN2NpZzPljT: to=<rtrevino70@gmail.com>, relay=mail.serverpro.mx[34.125.57.24]:587, delay=1.7, delays=0.01/0.12/1.3/0.22, dsn=5.0.0, status=bounced (host >
2025-04-12T13:19:30.028803-06:00 mx postfix/cleanup[28611]: 4ZZjzQ09fczPljV: message-id=<4ZZjzQ09fczPljV@mx.serverpro.local>
2025-04-12T13:19:30.032957-06:00 mx postfix/bounce[28623]: 4ZZjzN2NpZzPljT: sender non-delivery notification: 4ZZjzQ09fczPljV
2025-04-12T13:19:30.033392-06:00 mx postfix/qmgr[2540]: 4ZZjzQ09fczPljV: from=<>, size=3887, nrcpt=1 (queue active)
2025-04-12T13:19:30.037754-06:00 mx postfix/qmgr[2540]: 4ZZjzN2NpZzPljT: removed
2025-04-12T13:19:30.113677-06:00 mx postfix/pipe[28625]: 4ZZjzQ09fczPljV: to=<crm@serverpro.mx>, relay=dovecot, delay=0.09, delays=0.01/0.02/0/0.07, dsn=2.0.0, status=sent (delivered via dovecot service)
2025-04-12T13:19:30.113841-06:00 mx postfix/qmgr[2540]: 4ZZjzQ09fczPljV: removed
2025-04-12T13:19:32.791610-06:00 mx postfix/submission/smtpd[28605]: disconnect from unknown[189.160.11.69] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8

=================


What Im doing wrong?

thnks!


Viewing latest article 13
Browse Latest Browse All 47812

Trending Articles