ยง2024-04-26
alexlai@h2Jammy:~$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 h2Jammy.yushei.net ESMTP Postfix (Ubuntu)
EHLO h2jammy.yushei.net
250-h2Jammy.yushei.net
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250-SMTPUTF8
250 CHUNKING
MAIL FROM: alexlai@h2jammy.yushei.net
250 2.1.0 Ok
RCPT TO: rai.sousuke@mac.com
250 2.1.5 Ok
RCPT TO: rai.sousuke@gmail.com
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: from h2jammy.yushei.net
Time 2024-04-26 07:22
Hi
Bye
.
250 2.0.0 Ok: queued as 99B222964925C
quit
221 2.0.0 Bye
Connection closed by foreign host.
- /var/log/mail.log
Apr 26 07:21:25 h2Jammy postfix/smtpd[27481]: connect from localhost[127.0.0.1]
Apr 26 07:21:25 h2Jammy postfix/smtpd[27481]: warning: connect to Milter service inet:localhost:8891: Connection refused
Apr 26 07:22:13 h2Jammy postfix/smtpd[27481]: 99B222964925C: client=localhost[127.0.0.1]
Apr 26 07:23:11 h2Jammy postfix/cleanup[27540]: 99B222964925C: message-id=<20240425232213.99B222964925C@h2Jammy.yushei.net>
Apr 26 07:23:11 h2Jammy postfix/qmgr[22083]: 99B222964925C: from=<alexlai@h2jammy.yushei.net>, size=406, nrcpt=2 (queue active)
Apr 26 07:23:13 h2Jammy postfix/smtp[27545]: 99B222964925C: to=<rai.sousuke@gmail.com>, relay=gmail-smtp-in.l.google.com[64.233.187.27]:25, delay=78, delays=76/0.02/1/0.97, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[64.233.187.27] said: 550-5.7.26 This mail has been blocked because the sender is unauthenticated. 550-5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM. 550-5.7.26 550-5.7.26 Authentication results: 550-5.7.26 DKIM = did not pass 550-5.7.26 SPF [h2jammy.yushei.net] with ip: [59.126.118.194] = did not pass 550-5.7.26 550-5.7.26 For instructions on setting up authentication, go to 550 5.7.26 https://support.google.com/mail/answer/81126#authentication q37-20020a635065000000b005e85aa13467si13456972pgl.553 - gsmtp (in reply to end of DATA command))
Apr 26 07:23:16 h2Jammy postfix/smtp[27546]: 99B222964925C: to=<rai.sousuke@mac.com>, relay=mx02.mail.icloud.com[17.57.154.33]:25, delay=81, delays=76/0.04/1/4.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 01168D801D1)
Apr 26 07:23:16 h2Jammy postfix/cleanup[27540]: C2D6023A421BB: message-id=<20240425232316.C2D6023A421BB@h2Jammy.yushei.net>
Apr 26 07:23:16 h2Jammy postfix/bounce[27547]: 99B222964925C: sender non-delivery notification: C2D6023A421BB
Apr 26 07:23:16 h2Jammy postfix/qmgr[22083]: C2D6023A421BB: from=<>, size=3555, nrcpt=1 (queue active)
Apr 26 07:23:16 h2Jammy postfix/qmgr[22083]: 99B222964925C: removed
Apr 26 07:23:16 h2Jammy postfix/local[27548]: C2D6023A421BB: to=<alexlai@h2jammy.yushei.net>, relay=local, delay=0.02, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Apr 26 07:23:16 h2Jammy postfix/qmgr[22083]: C2D6023A421BB: removed
Apr 26 07:23:32 h2Jammy postfix/smtpd[27481]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=2 data=1 quit=1 commands=6