To Glenn:

On Tue, 2024-03-12 at 02:08 -0400, Viktor Dukhovni via Postfix-users
wrote:
> (...)
> Your intuiting is way off base, best to resist the temptation to make
> guesses.  If you don't know, that's fine, no need to waste time
> chasing
> shadows, just ask.
> 

<quote: screenshot headers from gmail>
Return-Path: <soyeo...@gmail.com>
Received: from thinkpad-e495.YW ([223.39.248.127])
        by smtp.gmail.com with ESMTPSA id f49-
20020a056a000b3100b006e4dad633e1sm5738341pfu.177.2024.03.12.01.40.33
        for <soyeo...@gmail.com>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Tue, 12 Mar 2024 01:40:33 -0700 (PDT)
Received: by thinkpad-e495.YW (Postfix, from userid 1000) id
4C35CD816F8; Tue, 12 Mar 2024 17:40:28 +0900 (KST)
Date: Tue, 12 Mar 2024 17:40:28 +0900
From: Byunghee HWANG <soyeo...@doraji.xyz>
To: soyeo...@gmail.com
Subject: 123
Message-ID: <20240312084028.ga18...@thinkpad-e495.yw>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.9.4 (2018-02-28)
</quote>

<quote: postfix maillog>
Mar 12 17:40:07 thinkpad-e495 postfix/postfix-script[18629]: starting
the Postfix mail system
Mar 12 17:40:07 thinkpad-e495 postfix/master[18631]: daemon started --
version 3.3.0, configuration /etc/postfix
Mar 12 17:40:28 thinkpad-e495 postfix/pickup[18632]: 4C35CD816F8:
uid=1000 from=<soyeomul>
Mar 12 17:40:28 thinkpad-e495 postfix/cleanup[18661]: 4C35CD816F8:
message-id=<20240312084028.ga18...@thinkpad-e495.yw>
Mar 12 17:40:28 thinkpad-e495 postfix/qmgr[18633]: 4C35CD816F8: from=<
soyeo...@thinkpad-e495.yw>, size=517, nrcpt=1 (queue active)
Mar 12 17:40:34 thinkpad-e495 postfix/smtp[18663]: 4C35CD816F8: to=<
soyeo...@gmail.com>, relay=smtp.gmail.com[64.233.188.108]:587,
delay=6.4, delays=0.02/0.03/4.9/1.4, dsn=2.0.0, status=sent (250 2.0.0
OK  1710232834 f49-20020a056a000b3100b006e4dad633e1sm5738341pfu.177 -
gsmtp)
Mar 12 17:40:34 thinkpad-e495 postfix/qmgr[18633]: 4C35CD816F8: removed
</quote>

<quote: postfix main.cf>
smtp_tls_security_level = encrypt
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl/gmail_passwd
smtp_sasl_tls_security_options = noanonymous
relayhost = [smtp.gmail.com]:587
</quote>

<quote: gmail_passwd.db permission>
$ ls -l /etc/postfix/sasl
total 12
-rw------- 1 root root    57 Mar 12 16:56 gmail_passwd
-rw-r--r-- 1 root root 12288 Mar 12 16:57 gmail_passwd.db
</quote>

<quote: gmail_passwd content>
[smtp.gmail.com]:587 soyeo...@gmail.com:my_app_password_16_digit

<quote: ~/.muttrc>
set realname = "Byunghee HWANG"
set from = "soyeo...@doraji.xyz"
set charset = UTF-8
</quote>

This is minimal example for smarthost with gmail. You should check log
carefully. Then try again repeat until you succeed. In my case, it took
me 15 attempts before I succeeded. 


Thanks, Byunghee from South Korea

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to