1 Nov 18 01:28:37 rolly postfix/postscreen[26770]: CONNECT from 
[162.246.19.201]:61693 to [46.235.227.79]:25
2 Nov 18 01:28:43 rolly postfix/postscreen[26770]: PASS NEW 
[162.246.19.201]:61693
3 Nov 18 01:28:43 rolly postfix/smtpd[26774]: warning: hostname 
rever.aftermathdevelopment.com does not resolve to address 162.246.19.201: Name 
or service not known
4 Nov 18 01:28:43 rolly postfix/smtpd[26774]: connect from 
unknown[162.246.19.201]
5 Nov 18 01:28:44 rolly postfix/cleanup[26776]: 564F4A0054: 
message-id=<20191118012844.564f4a0...@mail.acrasis.net>
6 Nov 18 01:28:44 rolly postfix/qmgr[5583]: 564F4A0054: 
from=<double-bou...@acrasis.net>, size=266, nrcpt=1 (queue active)
7 Nov 18 01:28:44 rolly postfix/smtp[26777]: Trusted TLS connection established 
to gmail-smtp-in.l.google.com[2a00:1450:4013:c07::1a]:25: TLSv1.3 with cipher 
TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature 
RSA-PSS (2048 bits) server-digest SHA256
8 Nov 18 01:28:44 rolly postfix/smtp[26777]: 564F4A0054: 
to=<*******@gmail.com>, 
relay=gmail-smtp-in.l.google.com[2a00:1450:4013:c07::1a]:25, delay=0.5, 
delays=0.01/0.03/0.33/0.13, dsn=2.1.5, status=deliverable (250 2.1.5 OK 
j5si12868810edc.195 - gsmtp)
9 Nov 18 01:28:44 rolly postfix/qmgr[5583]: 564F4A0054: removed
10 Nov 18 01:28:47 rolly policyd-spf[26779]: prepend Authentication-Results: 
mail.acrasis.net; spf=none (no SPF record) smtp.mailfrom=test.com 
(client-ip=162.246.19.201; helo=win-sa71d6ou2qs.domain; envelope-from=t...@test.com; 
receiver=<UNKNOWN>)
11 Nov 18 01:28:47 rolly postfix/smtpd[26774]: NOQUEUE: reject: RCPT from unknown[162.246.19.201]: 554 
5.7.1 <*******@gmail.com>: Relay access denied; from=<t...@test.com> 
to=<*******@gmail.com> proto=SMTP helo=<win-sa71d6ou2qs.domain>
12 Nov 18 01:28:47 rolly postfix/smtpd[26774]: lost connection after RCPT from 
unknown[162.246.19.201]


As far as I can see everything works as it should.

In lines 1-2 postscreen checks that 162.246.19.201 is a legitimate client.

In lines 3-4 that client connects to your server.

In lines 5-9 your server checks that the recipient address of the email the client would like to send, namely "*******@gmail.com", is deliverable. This happens because you have "reject_unverified_recipient" in "smtpd_recipient_restrictions" (see http://www.postfix.org/ADDRESS_VERIFICATION_README.html ). The SMTP session ends with "2.1.5 status=deliverable", not with "2.0.0 status=sent", so no email is actually sent.

In lines 10-12 the client tries to actually send the email, but it is rejected because, as you wrote, "gmail.com" is not in relay_domains.

Gregory

Reply via email to