Gmail SMTP 501-5.5.4

Michael fax12345 at gmail.com
Thu Nov 26 21:48:58 UTC 2020


Hi all,

I've been searching for a solution for two days and I'm at a point where I
can not figure out what is wrong with my mutt configuration. Included are
the salted versions of my muttrc and a level 5 debug log. The problem that
I am having is that I can not send emails via Gmal, but I can receive just
fine.

To what I've narrowed down in the log, it smells to me like the user
credentials might be the problem, but I don't understand why and where the
mistake is in the muttrc file.

Any help would be appreciated.

Thanks,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20201126/ea394a77/attachment-0001.html>
-------------- next part --------------
[2020-11-26 17:10:31] Mutt/1.9.4 (2018-02-28) debugging at level 5
[2020-11-26 17:10:31] In mutt_reflow_windows
[2020-11-26 17:10:31] In mutt_reflow_windows
[2020-11-26 17:10:31] In mutt_reflow_windows
[2020-11-26 17:10:31] In mutt_reflow_windows
[2020-11-26 17:10:31] Reading configuration file '/etc/Muttrc'.
[2020-11-26 17:10:31] parse_attach_list: ldata = 0x55a24daed448, *ldata = (nil)
[2020-11-26 17:10:31] parse_attach_list: added */.* [9]
[2020-11-26 17:10:31] parse_attach_list: ldata = 0x55a24daed440, *ldata = (nil)
[2020-11-26 17:10:31] parse_attach_list: added text/x-vcard [7]
[2020-11-26 17:10:31] parse_attach_list: added application/pgp.* [2]
[2020-11-26 17:10:31] parse_attach_list: ldata = 0x55a24daed440, *ldata = 0x55a24e75f0b0
[2020-11-26 17:10:31] parse_attach_list: skipping text/x-vcard
[2020-11-26 17:10:31] parse_attach_list: skipping application/pgp.*
[2020-11-26 17:10:31] parse_attach_list: added application/x-pkcs7-.* [2]
[2020-11-26 17:10:31] parse_attach_list: ldata = 0x55a24daed438, *ldata = (nil)
[2020-11-26 17:10:31] parse_attach_list: added text/plain [7]
[2020-11-26 17:10:31] parse_attach_list: ldata = 0x55a24daed440, *ldata = 0x55a24e75f0b0
[2020-11-26 17:10:31] parse_attach_list: skipping text/x-vcard
[2020-11-26 17:10:31] parse_attach_list: skipping application/pgp.*
[2020-11-26 17:10:31] parse_attach_list: skipping application/x-pkcs7-.*
[2020-11-26 17:10:31] parse_attach_list: added message/external-body [4]
[2020-11-26 17:10:31] parse_attach_list: ldata = 0x55a24daed430, *ldata = (nil)
[2020-11-26 17:10:31] parse_attach_list: added message/external-body [4]
[2020-11-26 17:10:31] Reading configuration file '/usr/lib/mutt/source-muttrc.d|'.
[2020-11-26 17:10:31] Reading configuration file '/etc/Muttrc.d/charset.rc'.
[2020-11-26 17:10:31] Reading configuration file '/etc/Muttrc.d/colors.rc'.
[2020-11-26 17:10:31] mutt_alloc_color(): Color pairs used so far: 1
[2020-11-26 17:10:31] mutt_alloc_color(): Color pairs used so far: 2
[2020-11-26 17:10:31] mutt_alloc_color(): Color pairs used so far: 3
[2020-11-26 17:10:31] mutt_alloc_color(): Color pairs used so far: 4
[2020-11-26 17:10:31] mutt_alloc_color(): Color pairs used so far: 5
[2020-11-26 17:10:31] mutt_alloc_color(): Color pairs used so far: 6
[2020-11-26 17:10:31] mutt_alloc_color(): Color pairs used so far: 7
[2020-11-26 17:10:31] mutt_alloc_color(): Color pairs used so far: 8
[2020-11-26 17:10:31] Reading configuration file '/etc/Muttrc.d/compressed-folders.rc'.
[2020-11-26 17:10:31] Reading configuration file '/etc/Muttrc.d/gpg.rc'.
[2020-11-26 17:10:31] Reading configuration file '/etc/Muttrc.d/smime.rc'.
[2020-11-26 17:10:31] Reading configuration file '/home/mike/.mutt/muttrc'.
[2020-11-26 17:10:31] Using default IMAP port 143
[2020-11-26 17:10:31] Using default IMAPS port 993
[2020-11-26 17:10:31] Reading imaps://imap.gmail.com:993/INBOX...
[2020-11-26 17:10:31] Looking up imap.gmail.com...
[2020-11-26 17:10:31] Connecting to imap.gmail.com...
[2020-11-26 17:10:31] SSL/TLS connection using TLS1.2 (ECDHE-ECDSA/CHACHA20-POLY1305/AEAD)
[2020-11-26 17:10:32] Connected to imap.gmail.com:993 on fd=4
[2020-11-26 17:10:32] imap_cmd_step: grew buffer to 512 bytes
[2020-11-26 17:10:32] 4< * OK Gimap ready for requests from 159.2.79.30 p19mb8423646qvt
[2020-11-26 17:10:32] IMAP queue drained
[2020-11-26 17:10:32] 4> a0000 CAPABILITY
[2020-11-26 17:10:32] 4< * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH
[2020-11-26 17:10:32] Handling CAPABILITY
[2020-11-26 17:10:32] 4< a0000 OK Thats all she wrote! p19mb8423646qvt
[2020-11-26 17:10:32] IMAP queue drained
[2020-11-26 17:10:32] imap_authenticate: Using any available method.
[2020-11-26 17:10:32] SASL local ip: 192.168.0.150;47966, remote ip:xxx.xxx.xxx.xxx;993
[2020-11-26 17:10:32] External SSF: 256
[2020-11-26 17:10:32] mutt_sasl_cb_authname: getting authname for imap.gmail.com:993
[2020-11-26 17:10:32] mutt_sasl_cb_authname: getting user for imap.gmail.com:993
[2020-11-26 17:10:32] mutt_sasl_cb_pass: getting password for username at gmail.com@imap.gmail.com:993
[2020-11-26 17:10:32] Authenticating (PLAIN)...
[2020-11-26 17:10:32] 4> a0001 AUTHENTICATE PLAIN ZGllcHBlLmRlYmlhbkBnbWFpbC5jb20AZGllcHBlLmRlYmlhbkBnbWFpbC5jb20AbXduYnRnYmhidXFrcWVteA==
[2020-11-26 17:10:32] 4< * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584
[2020-11-26 17:10:32] Handling CAPABILITY
[2020-11-26 17:10:32] 4< a0001 OK username at gmail.com authenticated (Success)
[2020-11-26 17:10:32] IMAP queue drained
[2020-11-26 17:10:32] SASL protection strength: 0
[2020-11-26 17:10:32] SASL protection buffer size: 65536
[2020-11-26 17:10:32] Communication encrypted at 256 bits
[2020-11-26 17:10:32] 4> a0002 CAPABILITY
a0003 ENABLE UTF8=ACCEPT
a0004 LIST "" ""
[2020-11-26 17:10:32] 4< * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584
[2020-11-26 17:10:32] Handling CAPABILITY
[2020-11-26 17:10:32] 4< a0002 OK Success
[2020-11-26 17:10:32] 4< * ENABLED UTF8=ACCEPT
[2020-11-26 17:10:32] Handling ENABLED
[2020-11-26 17:10:32] 4< a0003 OK Success
[2020-11-26 17:10:32] 4< * LIST (\Noselect) "/" "/"
[2020-11-26 17:10:32] 4< a0004 OK Success
[2020-11-26 17:10:32] IMAP queue drained
[2020-11-26 17:10:32] Selecting INBOX...
[2020-11-26 17:10:32] 4> a0005 SELECT "INBOX"
[2020-11-26 17:10:32] 4< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotPhishing $Phishing Old)
[2020-11-26 17:10:32] Getting mailbox FLAGS
[2020-11-26 17:10:32] 4< * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotPhishing $Phishing Old \*)] Flags permitted.
[2020-11-26 17:10:32] Getting mailbox PERMANENTFLAGS
[2020-11-26 17:10:32] 4< * OK [UIDVALIDITY 1] UIDs valid.
[2020-11-26 17:10:32] Getting mailbox UIDVALIDITY
[2020-11-26 17:10:32] 4< * 0 EXISTS
[2020-11-26 17:10:32] Handling EXISTS
[2020-11-26 17:10:32] cmd_handle_untagged: superfluous EXISTS message.
[2020-11-26 17:10:32] 4< * 0 RECENT
[2020-11-26 17:10:32] 4< * OK [UIDNEXT 29524] Predicted next UID.
[2020-11-26 17:10:32] Getting mailbox UIDNEXT
[2020-11-26 17:10:32] 4< * OK [HIGHESTMODSEQ 1727569]
[2020-11-26 17:10:32] 4< a0005 OK [READ-WRITE] INBOX selected. (Success)
[2020-11-26 17:10:32] IMAP queue drained
[2020-11-26 17:10:32] Mailbox flags: [2020-11-26 17:10:32] [\Answered] [2020-11-26 17:10:32] [\Flagged] [2020-11-26 17:10:32] [\Draft] [2020-11-26 17:10:32] [\Deleted] [2020-11-26 17:10:32] [\Seen] [2020-11-26 17:10:32] [$NotPhishing] [2020-11-26 17:10:32] [$Phishing] [2020-11-26 17:10:32] [Old] [2020-11-26 17:10:32] [\*] [2020-11-26 17:10:32] 
[2020-11-26 17:10:32] imap_open_mailbox: msgcount is 0
[2020-11-26 17:10:37] mutt_index_menu[717]: Got op 99
[2020-11-26 17:10:37] ../../send.c:1273: mutt_mktemp returns "/tmp/mutt-PCName-1000-2778-17956375371973550074".
[2020-11-26 17:10:51] In mutt_reflow_windows
[2020-11-26 17:10:55] Sending message...
[2020-11-26 17:10:55] ../../send.c:987: mutt_mktemp returns "/tmp/mutt-PCName-1000-2778-973990254990478076".
[2020-11-26 17:10:55] mwoh: buf[Subject: test-4] is short enough
[2020-11-26 17:10:55] Looking up smtp.gmail.com...
[2020-11-26 17:10:55] Connecting to smtp.gmail.com...
[2020-11-26 17:10:55] SSL/TLS connection using TLS1.2 (ECDHE-ECDSA/CHACHA20-POLY1305/AEAD)
[2020-11-26 17:10:56] Connected to smtp.gmail.com:465 on fd=5
[2020-11-26 17:10:56] 5< 220 smtp.gmail.com ESMTP k31sm3554405qtd.40 - gsmtp
[2020-11-26 17:10:56] 5> EHLO username at gmail.com
[2020-11-26 17:10:56] 5< 501-5.5.4 HELO/EHLO argument "username at gmail.com" invalid, closing
[2020-11-26 17:10:56] 5< 501-5.5.4 connection.
[2020-11-26 17:10:56] 5< 501 5.5.4  https://support.google.com/mail/?p=helo k31sm3554405qtd.40 - gsmtp
[2020-11-26 17:10:56] SMTP session failed: 501 5.5.4  https://support.google.com/mail/?p=helo k31sm3554405qtd.40 - gsmtp
[2020-11-26 17:11:02] mutt_free_body: unlinking /tmp/mutt-PCName-1000-2778-17956375371973550074.
[2020-11-26 17:11:02] Mail not sent.
[2020-11-26 17:11:04] mutt_index_menu[717]: Got op 149
[2020-11-26 17:11:04] Mailbox is unchanged.
[2020-11-26 17:11:04] Closing connection to imap.gmail.com...
[2020-11-26 17:11:04] 4> a0006 CLOSE
a0007 LOGOUT
[2020-11-26 17:11:04] 4< a0006 OK Returned to authenticated state. (Success)
[2020-11-26 17:11:04] 4< * BYE LOGOUT Requested
[2020-11-26 17:11:04] Handling BYE
[2020-11-26 17:11:04] 4< a0007 OK 73 good day (Success)
[2020-11-26 17:11:04] IMAP queue drained
-------------- next part --------------
A non-text attachment was scrubbed...
Name: muttrc
Type: application/octet-stream
Size: 463 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20201126/ea394a77/attachment-0001.obj>


More information about the Mutt-users mailing list