it’s already done my brother it’s my third installation and my two
We need to see the relevant maillog/mail.log entries, or the relevant journal entries (the postfix
unit is probably the relevant one).
e.g. start a tail on the postfix
log:
journalctl -fu postfix
And, then try to send mail. See what happens in the log. Show us what happens in the log if you don’t understand it (don’t post a million lines…we probably just need to see the two or three entries that appear right when you try to send mail).
What about: Just one domain, 2 email clients in that same domain, send email between them from client1@domain to client2@domain ?
[Mon Nov 27 18:39:42.621587 2023] [ssl:warn] [pid 70354:tid 140060949936000] AH01906: amanet.xyz:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Nov 27 19:24:00.467097 2023] [proxy_fcgi:error] [pid 161599:tid 140060569601600] [client 20.235.243.146:59575] AH01071: Got error ‘Primary script unknown’
[Mon Nov 27 20:24:21.309490 2023] [proxy_fcgi:error] [pid 175273:tid 140060603172416] [client 35.186.174.3:64365] AH01071: Got error ‘Primary script unknown’
[Mon Nov 27 21:20:13.103552 2023] [proxy_fcgi:error] [pid 175273:tid 140060536030784] [client 139.196.25.23:34954] AH01071: Got error ‘Primary script unknown’
[Mon Nov 27 21:39:25.950918 2023] [proxy_fcgi:error] [pid 175273:tid 140060443711040] [client 172.104.176.123:62484] AH01071: Got error ‘Primary script unknown’
[Mon Nov 27 21:46:18.717016 2023] [proxy_fcgi:error] [pid 175273:tid 140060711958080] [client 47.236.11.40:53399] AH01071: Got error ‘Primary script unknown’
[Mon Nov 27 21:46:19.274019 2023] [proxy_fcgi:error] [pid 175271:tid 140060527638080] [client 47.236.11.40:54236] AH01071: Got error ‘Primary script unknown’
[Mon Nov 27 23:05:50.848663 2023] [proxy_fcgi:error] [pid 175271:tid 140060015978048] [client 176.53.219.216:41705] AH01071: Got error ‘Primary script unknown’
[Mon Nov 27 23:05:51.503268 2023] [proxy_fcgi:error] [pid 175273:tid 140060586387008] [client 176.53.220.149:46073] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 00:07:00.561795 2023] [proxy_fcgi:error] [pid 10097:tid 140143767840320] [client 170.64.212.255:64999] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 00:09:43.539931 2023] [proxy_fcgi:error] [pid 10097:tid 140143725876800] [client 170.64.212.255:53786] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 00:10:16.436249 2023] [proxy_fcgi:error] [pid 10097:tid 140143759447616] [client 170.64.212.255:63885] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 00:15:26.145423 2023] [proxy_fcgi:error] [pid 10097:tid 140143767840320] [client 181.214.164.62:2079] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 00:44:05.326223 2023] [proxy_fcgi:error] [pid 10097:tid 140143767840320] [client 157.230.251.48:62579] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 00:56:10.912435 2023] [proxy_fcgi:error] [pid 10097:tid 140143767840320] [client 5.101.156.211:57029] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 01:13:37.746432 2023] [proxy_fcgi:error] [pid 10097:tid 140143885862464] [client 20.70.235.244:56196] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 02:14:28.756227 2023] [proxy_fcgi:error] [pid 10097:tid 140143751054912] [client 157.230.251.48:53053] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 05:38:50.498182 2023] [proxy_fcgi:error] [pid 10097:tid 140143692305984] [client 35.236.77.171:51791] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 06:13:43.858480 2023] [proxy_fcgi:error] [pid 10096:tid 140143709091392] [client 46.20.46.198:39258] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 06:13:51.544392 2023] [proxy_fcgi:error] [pid 10097:tid 140143869060672] [client 46.20.46.198:46820] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 06:13:52.188360 2023] [proxy_fcgi:error] [pid 10097:tid 140143767840320] [client 46.20.46.198:46836] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 06:13:53.406651 2023] [proxy_fcgi:error] [pid 10097:tid 140143751054912] [client 46.20.46.198:46852] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 06:13:53.946597 2023] [proxy_fcgi:error] [pid 10096:tid 140143633557056] [client 46.20.46.198:46866] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 07:10:46.741359 2023] [proxy_fcgi:error] [pid 10097:tid 140143172253248] [client 194.169.175.26:49213] AH01071: Got error ‘Primary script unknown’, referer: www.google.com
[Tue Nov 28 07:29:35.297102 2023] [proxy_fcgi:error] [pid 10097:tid 140143885862464] [client 178.128.84.228:65353] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 07:46:09.374592 2023] [proxy_fcgi:error] [pid 10097:tid 140143767840320] [client 20.235.243.146:57099] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 09:30:14.615833 2023] [proxy_fcgi:error] [pid 10097:tid 140143877461568] [client 185.198.89.235:36710] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 17:05:32.822392 2023] [proxy_fcgi:error] [pid 10097:tid 140143767840320] [client 20.197.9.248:53157] AH01071: Got error ‘Primary script unknown’
[Tue Nov 28 17:43:15.956509 2023] [proxy_fcgi:error] [pid 10097:tid 140143852258880] [client 20.163.8.43:53431] AH01071: Got error ‘Primary script unknown’
when i can cherche this file or find
tankyou
Those logs have nothing to do with mail.
Is there a mail.log
? It doesn’t look like it is logging to the journal.
I have a remark I send a lot of emails but only the emails with the same domain which comes out of the email but it does not reach the email I receive an error message that the recipient is not found
for the mail.log please where should I go to extract it thank you
response that is not DNSSEC validated
Nov 29 02:12:27 amanet postfix/smtp[108404]: connect to gmail-smtp-in.l.google.com[142.250.31.27]:25: Connection timed out
Nov 29 02:12:27 amanet postfix/smtp[108404]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4004:c08::1b]:25: Network is unreachable
Nov 29 02:12:27 amanet postfix/smtp[108404]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:400b:c00::1a]:25: Network is unreachable
Nov 29 02:12:27 amanet postfix/smtp[108403]: connect to reception.mail-tester.com[94.23.206.89]:25: Connection timed out
Nov 29 02:12:27 amanet postfix/smtp[108403]: 0E2A45D1: to=test-m4xoqxg2a@srv1.mail-tester.com, relay=none, delay=109661, delays=109630/0.03/30/0, dsn=4.4.1, status=deferred (connect to reception.mail-tester.com[94.23.206.89]:25: Connection timed out)
Nov 29 02:12:57 amanet postfix/smtp[108404]: connect to alt1.gmail-smtp-in.l.google.com[209.85.202.27]:25: Connection timed out
Nov 29 02:13:27 amanet postfix/smtp[108404]: connect to alt2.gmail-smtp-in.l.google.com[64.233.184.27]:25: Connection timed out
Nov 29 02:13:27 amanet postfix/smtp[108404]: 36C0321B9: to=alaaeddine?benabid@gmail.com, relay=none, delay=110706, delays=110616/0.03/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[64.233.184.27]:25: Connection timed out)
Nov 29 02:16:57 amanet postfix/qmgr[1841]: D36F821BB: from=contact@amanet.xyz, size=1073, nrcpt=1 (queue active)
Nov 29 02:16:57 amanet postfix/smtp[108639]: warning: DNSSEC validation may be unavailable
Nov 29 02:16:57 amanet postfix/smtp[108639]: warning: reason: dnssec_probe ‘ns:.’ received a response that is not DNSSEC validated
Nov 29 02:16:57 amanet postfix/smtp[108639]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4004:c19::1a]:25: Network is unreachable
Nov 29 02:17:27 amanet postfix/smtp[108639]: connect to gmail-smtp-in.l.google.com[142.251.167.27]:25: Connection timed out
Nov 29 02:17:27 amanet postfix/smtp[108639]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:400b:c00::1a]:25: Network is unreachable
Nov 29 02:17:57 amanet postfix/smtp[108639]: connect to alt1.gmail-smtp-in.l.google.com[209.85.202.26]:25: Connection timed out
Nov 29 02:17:57 amanet postfix/smtp[108639]: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c0b::1b]:25: Network is unreachable
Nov 29 02:17:57 amanet postfix/smtp[108639]: D36F821BB: to=alaaeddine.benabid@gmail.com, relay=none, delay=110948, delays=110888/0.03/60/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c0b::1b]:25: Network is unreachable)
Nov 29 02:31:57 amanet postfix/qmgr[1841]: E1F1472D: from=contact@amanet.xyz, size=996, nrcpt=2 (queue active)
Nov 29 02:31:57 amanet postfix/smtp[109555]: warning: DNSSEC validation may be unavailable
Nov 29 02:31:57 amanet postfix/smtp[109555]: warning: reason: dnssec_probe ‘ns:.’ received a response that is not DNSSEC validated
Nov 29 02:32:27 amanet postfix/smtp[109555]: connect to gmail-smtp-in.l.google.com[142.251.163.27]:25: Connection timed out
Nov 29 02:32:27 amanet postfix/smtp[109555]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4004:c0b::1b]:25: Network is unreachable
Nov 29 02:32:57 amanet postfix/smtp[109555]: connect to alt1.gmail-smtp-in.l.google.com[209.85.202.26]:25: Connection timed out
Nov 29 02:32:57 amanet postfix/smtp[109555]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:400b:c00::1b]:25: Network is unreachable
Nov 29 02:33:27 amanet postfix/smtp[109555]: connect to alt2.gmail-smtp-in.l.google.com[64.233.184.26]:25: Connection timed out
Nov 29 02:33:27 amanet postfix/smtp[109555]: E1F1472D: to=alaaeddine.benabid@gmail.com, relay=none, delay=11194, delays=11104/0.02/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[64.233.184.26]:25: Connection timed out)
Nov 29 02:36:19 amanet postfix/smtpd[109899]: connect from unknown[91.92.247.52]
Nov 29 02:36:21 amanet postfix/smtpd[109899]: warning: unknown[91.92.247.52]: SASL LOGIN authentication failed: authentication failure
Nov 29 02:36:21 amanet postfix/smtpd[109899]: disconnect from unknown[91.92.247.52] ehlo=1 auth=0/1 quit=1 commands=2/3
Nov 29 02:36:57 amanet postfix/qmgr[1841]: 974B7CF9: from=contact@amanet.xyz, size=928, nrcpt=1 (queue active)
Nov 29 02:36:57 amanet postfix/smtp[109906]: warning: DNSSEC validation may be unavailable
Nov 29 02:36:57 amanet postfix/smtp[109906]: warning: reason: dnssec_probe ‘ns:.’ received a response that is not DNSSEC validated
Nov 29 02:36:57 amanet postfix/smtp[109906]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4004:c0b::1b]:25: Network is unreachable
Nov 29 02:37:27 amanet postfix/smtp[109906]: connect to gmail-smtp-in.l.google.com[142.251.163.26]:25: Connection timed out
Nov 29 02:37:27 amanet postfix/smtp[109906]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:400b:c00::1a]:25: Network is unreachable
Nov 29 02:37:57 amanet postfix/smtp[109906]: connect to alt1.gmail-smtp-in.l.google.com[209.85.202.27]:25: Connection timed out
Nov 29 02:37:57 amanet postfix/smtp[109906]: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c0b::1a]:25: Network is unreachable
Nov 29 02:37:57 amanet postfix/smtp[109906]: 974B7CF9: to=alaaeddine.benabid@gmail.com, relay=none, delay=11146, delays=11086/0.02/60/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c0b::1a]:25: Network is unreachable)
Nov 29 02:39:41 amanet postfix/anvil[109901]: statistics: max connection rate 1/60s for (smtp:91.92.247.52) at Nov 29 02:36:19
Nov 29 02:39:41 amanet postfix/anvil[109901]: statistics: max connection count 1 for (smtp:91.92.247.52) at Nov 29 02:36:19
Nov 29 02:39:41 amanet postfix/anvil[109901]: statistics: max cache size 1 at Nov 29 02:36:19
Nov 29 02:41:57 amanet postfix/qmgr[1841]: 34441CEF: from=contact@amanet.xyz, size=892, nrcpt=2 (queue active)
Nov 29 02:41:57 amanet postfix/qmgr[1841]: 17BCF21CB: from=info@amanet.xyz, size=922, nrcpt=1 (queue active)
Nov 29 02:41:57 amanet postfix/smtp[110326]: warning: DNSSEC validation may be unavailable
Nov 29 02:41:57 amanet postfix/smtp[110326]: warning: reason: dnssec_probe ‘ns:.’ received a response that is not DNSSEC validated
Nov 29 02:41:57 amanet postfix/smtp[110326]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4004:c19::1b]:25: Network is unreachable
Nov 29 02:41:57 amanet postfix/smtp[110327]: warning: DNSSEC validation may be unavailable
Nov 29 02:41:57 amanet postfix/smtp[110327]: warning: reason: dnssec_probe ‘ns:.’ received a response that is not DNSSEC validated
Nov 29 02:42:27 amanet postfix/smtp[110326]: connect to gmail-smtp-in.l.google.com[142.251.111.26]:25: Connection timed out
Nov 29 02:42:27 amanet postfix/smtp[110326]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:400b:c00::1a]:25: Network is unreachable
Nov 29 02:42:28 amanet postfix/smtp[110327]: connect to reception.mail-tester.com[94.23.206.89]:25: Connection timed out
Nov 29 02:42:28 amanet postfix/smtp[110327]: 17BCF21CB: to=test-igtndwcf6@srv1.mail-tester.com, relay=none, delay=113937, delays=113907/0.03/30/0, dsn=4.4.1, status=deferred (connect to reception.mail-tester.com[94.23.206.89]:25: Connection timed out)
Nov 29 02:42:57 amanet postfix/smtp[110326]: connect to alt1.gmail-smtp-in.l.google.com[209.85.202.26]:25: Connection timed out
Nov 29 02:42:57 amanet postfix/smtp[110326]: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c0b::1a]:25: Network is unreachable
Nov 29 02:42:57 amanet postfix/smtp[110326]: 34441CEF: to=alaaeddine.benabid@gmail.com, relay=none, delay=31417, delays=31356/0.02/60/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c0b::1a]:25: Network is unreachable)
Nov 29 02:56:08 amanet dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=198.235.24.220, lip=207.148.23.231, session=
Nov 29 02:56:57 amanet postfix/qmgr[1841]: BE992108C: from=contact@amanet.xyz, size=1065, nrcpt=2 (queue active)
Nov 29 02:56:57 amanet postfix/qmgr[1841]: D702120B2: from=info@amanet.xyz, size=901, nrcpt=1 (queue active)
Nov 29 02:56:57 amanet postfix/smtp[111555]: warning: DNSSEC validation may be unavailable
Nov 29 02:56:57 amanet postfix/smtp[111555]: warning: reason: dnssec_probe ‘ns:.’ received a response that is not DNSSEC validated
Nov 29 02:56:57 amanet postfix/smtp[111556]: warning: DNSSEC validation may be unavailable
Nov 29 02:56:57 amanet postfix/smtp[111556]: warning: reason: dnssec_probe ‘ns:.’ received a response that is not DNSSEC validated
Nov 29 02:56:57 amanet postfix/smtp[111556]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4004:c1b::1b]:25: Network is unreachable
Nov 29 02:57:27 amanet postfix/smtp[111555]: connect to gmail-smtp-in.l.google.com[142.251.167.26]:25: Connection timed out
Nov 29 02:57:27 amanet postfix/smtp[111555]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4004:c1b::1b]:25: Network is unreachable
Nov 29 02:57:27 amanet postfix/smtp[111556]: connect to gmail-smtp-in.l.google.com[142.251.167.26]:25: Connection timed out
Nov 29 02:57:57 amanet postfix/smtp[111555]: connect to alt1.gmail-smtp-in.l.google.com[209.85.202.26]:25: Connection timed out
Nov 29 02:57:57 amanet postfix/smtp[111555]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:400b:c00::1a]:25: Network is unreachable
Nov 29 02:57:57 amanet postfix/smtp[111556]: connect to alt1.gmail-smtp-in.l.google.com[209.85.202.26]:25: Connection timed out
Nov 29 02:57:57 amanet postfix/smtp[111556]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:400b:c00::1a]:25: Network is unreachable
Nov 29 02:57:57 amanet postfix/smtp[111556]: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c0b::1b]:25: Network is unreachable
Nov 29 02:57:57 amanet postfix/smtp[111556]: D702120B2: to=alaaeddine.benabid@gmail.com, relay=none, delay=114928, delays=114868/0.03/60/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c0b::1b]:25: Network is unreachable)
Nov 29 02:58:27 amanet postfix/smtp[111555]: connect to alt2.gmail-smtp-in.l.google.com[64.233.184.26]:25: Connection timed out
Nov 29 02:58:27 amanet postfix/smtp[111555]: BE992108C: to=alaaeddine.benabid@gmail.com, relay=none, delay=32199, delays=32109/0.02/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[64.233.184.26]:25: Connection timed out)
Nov 29 03:10:16 amanet postfix/smtpd[112855]: connect from scan-04.shadowserver.org[184.105.139.70]
Nov 29 03:10:16 amanet postfix/smtpd[112855]: warning: non-SMTP command from scan-04.shadowserver.org[184.105.139.70]: GET / HTTP/1.1
Nov 29 03:10:16 amanet postfix/smtpd[112855]: disconnect from scan-04.shadowserver.org[184.105.139.70] unknown=0/1 commands=0/1
mail.log (292.2 KB)
The tests with port tester above tests for incoming, not outgoing - which is why you are able to receive but not send.
Vultr blocks a certain number of ports outgoing and you need to open a ticket with them to get it unblocked.
Vultr has never blocked smtp port on any VPS i’ve setup with them and I’ve installed alot for testing.
I’m very surprised to see that page.
Maybe they talking about the server itself rather then there firewall, virtualmin install will open that port.
Older accounts don’t have this initial block, same as with old Digital ocean accounts and so on. It’s a newer thing, but still applies on network level, not server.
Really, I better do some testing.
Like I said in my message, this is INCOMING, not for the outgoing part. Contact Vultr, they are the only ones that can help you.
- As mentioned above, this does not appear to be a stack issue but more a connectivity issue. This means your email will work fine if you put the server on the internet properly.
- Stupid question, do you have your DNS and Gateway setup in your network card: Webmin → Networkin → Network Configuration → (routing and gateways | Hostname and DNS client)
- disable DNNSEC on all of your servers and see if things work. A failed DNSSEC chain will always deliver a NXDOMAIN response.
https://dnsviz.net/d/amanet.xys/dnssec/
We have a winner , this is full of DNSSEC errors. Is your hostname for your server under this domain?
please my brother who exactly what I must do you convince me I think you have an idea on my problem thank you for showing me what I must do and where I must go thank you very much