Hi Everyone,
Sending mail from mutt failedError:
SMTP session failed: 501 5.5.4 https://support.google.com/mail/?p=helo a67sm14180316pgc.5 - gsmtp
I follow the instructions from
to setup environments and send patch to linux kernel for review.
Mutt able to fetch mail from my gmail mail box but sending mail fails with
following error:
SSL/TLS connection using TLS1.2 (ECDHE-RSA/AES-128-GCM/AEAD)
-- Mutt: Compose [Approx. msg size: 0.1K Atts: 1]-------------------------------------------------------------------------------------------
SMTP session failed: 501 5.5.4 https://support.google.com/mail/?p=helo a67sm14180316pgc.5 - gsmtp
krishna@krishna-pc:~$ tail -f /var/log/mail.log
Dec 9 01:01:03 krishna-pc sm-msp-queue[15372]: unable to qualify my own domain name (krishna-pc) -- using short name
Dec 9 01:20:01 krishna-pc sm-msp-queue[16297]: My unqualified host name (krishna-pc) unknown; sleeping for retry
Dec 9 09:32:48 krishna-pc sm-mta[2043]: starting daemon (8.15.2): SMTP+queueing@00:10:00
Dec 9 09:32:49 krishna-pc sm-msp-queue[1325]: unable to qualify my own domain name (krishna-pc) -- using short name
Dec 9 09:40:01 krishna-pc sm-msp-queue[3338]: My unqualified host name (krishna-pc) unknown; sleeping for retry
krishna@krishna-pc:~$
following error:
SSL/TLS connection using TLS1.2 (ECDHE-RSA/AES-128-GCM/AEAD)
-- Mutt: Compose [Approx. msg size: 0.1K Atts: 1]-------------------------------------------------------------------------------------------
SMTP session failed: 501 5.5.4 https://support.google.com/mail/?p=helo a67sm14180316pgc.5 - gsmtp
krishna@krishna-pc:~$ tail -f /var/log/mail.log
Dec 9 01:01:03 krishna-pc sm-msp-queue[15372]: unable to qualify my own domain name (krishna-pc) -- using short name
Dec 9 01:20:01 krishna-pc sm-msp-queue[16297]: My unqualified host name (krishna-pc) unknown; sleeping for retry
Dec 9 09:32:48 krishna-pc sm-mta[2043]: starting daemon (8.15.2): SMTP+queueing@00:10:00
Dec 9 09:32:49 krishna-pc sm-msp-queue[1325]: unable to qualify my own domain name (krishna-pc) -- using short name
Dec 9 09:40:01 krishna-pc sm-msp-queue[3338]: My unqualified host name (krishna-pc) unknown; sleeping for retry
krishna@krishna-pc:~$
Following are my configuration which is setup on
krishna@krishna-pc:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
krishna@krishna-pc:~$ uname -a
Linux krishna-pc 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
krishna@krishna-pc:~$
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
krishna@krishna-pc:~$ uname -a
Linux krishna-pc 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
krishna@krishna-pc:~$
krishna@krishna-pc:~$ cat ~/.muttrc
set sendmail="/usr/bin/esmtp"
set realname = "Pravin Shedge"
set from = "pravin.shedge4linux@xxxxxxxxx"
set use_from = yes
set envelope_from = yes
set edit_headers = yes
set smtp_url = 'smtps://pravin.shedge4linux@xxxxxxxxx@smtp.gmail.com'
set smtp_pass = '****'
set imap_user = 'pravin.shedge4linux@xxxxxxxxx'
set imap_pass = '****'
set folder = 'imaps://imap.gmail.com/'
set spoolfile = +INBOX
set ssl_force_tls = yes
#set ssl_starttls = yes
#
## G to get mail
#bind index G imap-fetch-mail
set editor = "vi"
set edit_headers = yes # See the headers when editing
set charset = UTF-8 # value of $LANG; also fallback for send_charset
set send_charset="us-ascii:utf-8"
set record=""
set postponed="+[Gmail]/Drafts"
set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
set trash="imaps://imap.gmail.com/[Gmail]/Trash"
# Sender, email address, and sign-off line must match
#
unset use_domain # because joe@localhost is just embarrassing
#set include=ask-yes
#set print=ask-yes
#set postpone=ask-yes
#set postponed = "imaps://imap.gmail.com/[Gmail]/Drafts"
#set header_cache = "~/.mutt/cache/headers"
#set message_cachedir = "~/.mutt/cache/bodies"
#set certificate_file = "~/.mutt/certificates"
#set move = no
#set imap_keepalive = 900
#set imap_passive
krishna@krishna-pc:~$
krishna@krishna-pc:~$ cat .gitconfig
[user]
email = pravin.shedge4linux@xxxxxxxxx
name = Pravin Shedge
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
smtpuser = pravin.shedge4linux@xxxxxxxxx
smtpserverport = 587
smtppass = "****"
set sendmail="/usr/bin/esmtp"
set realname = "Pravin Shedge"
set from = "pravin.shedge4linux@xxxxxxxxx"
set use_from = yes
set envelope_from = yes
set edit_headers = yes
set smtp_url = 'smtps://pravin.shedge4linux@xxxxxxxxx@smtp.gmail.com'
set smtp_pass = '****'
set imap_user = 'pravin.shedge4linux@xxxxxxxxx'
set imap_pass = '****'
set folder = 'imaps://imap.gmail.com/'
set spoolfile = +INBOX
set ssl_force_tls = yes
#set ssl_starttls = yes
#
## G to get mail
#bind index G imap-fetch-mail
set editor = "vi"
set edit_headers = yes # See the headers when editing
set charset = UTF-8 # value of $LANG; also fallback for send_charset
set send_charset="us-ascii:utf-8"
set record=""
set postponed="+[Gmail]/Drafts"
set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
set trash="imaps://imap.gmail.com/[Gmail]/Trash"
# Sender, email address, and sign-off line must match
#
unset use_domain # because joe@localhost is just embarrassing
#set include=ask-yes
#set print=ask-yes
#set postpone=ask-yes
#set postponed = "imaps://imap.gmail.com/[Gmail]/Drafts"
#set header_cache = "~/.mutt/cache/headers"
#set message_cachedir = "~/.mutt/cache/bodies"
#set certificate_file = "~/.mutt/certificates"
#set move = no
#set imap_keepalive = 900
#set imap_passive
krishna@krishna-pc:~$
krishna@krishna-pc:~$ cat .gitconfig
[user]
email = pravin.shedge4linux@xxxxxxxxx
name = Pravin Shedge
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
smtpuser = pravin.shedge4linux@xxxxxxxxx
smtpserverport = 587
smtppass = "****"
krishna@krishna-pc:~$ cat ~/.esmtprc
identity "pravin.shedge4linux@xxxxxxxxx"
hostname smtp.gmail.com:587
username "pravin.shedge4linux@xxxxxxxxx"
password "****"
starttls required
identity "pravin.shedge4linux@xxxxxxxxx"
hostname smtp.gmail.com:587
username "pravin.shedge4linux@xxxxxxxxx"
password "****"
starttls required
krishna@krishna-pc:~$ tail -f /var/log/syslog
Dec 9 10:40:01 krishna-pc CRON[4755]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
Dec 9 10:44:30 krishna-pc systemd-timesyncd[609]: Timed out waiting for reply from [2001:67c:1560:8003::c7]:123 (ntp.ubuntu.com).
Dec 9 10:45:01 krishna-pc CRON[4831]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
krishna@krishna-pc:~$
krishna@krishna-pc:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
search photonmax3g.wifi
krishna@krishna-pc:~$
krishna@krishna-pc:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 00:26:2d:74:82:d3 brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 90:4c:e5:56:c5:a0 brd ff:ff:ff:ff:ff:ff
5: enx001e101f0000: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1e:10:1f:00:00 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.100/24 brd 192.168.1.255 scope global dynamic enx001e101f0000
valid_lft 86387sec preferred_lft 86387sec
inet6 fe80::8fff:8915:878b:1b6b/64 scope link
valid_lft forever preferred_lft forever
krishna@krishna-pc:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
search photonmax3g.wifi
krishna@krishna-pc:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.0.1 krishna-pc
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
krishna@krishna-pc:~$
Dec 9 10:40:01 krishna-pc CRON[4755]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
Dec 9 10:44:30 krishna-pc systemd-timesyncd[609]: Timed out waiting for reply from [2001:67c:1560:8003::c7]:123 (ntp.ubuntu.com).
Dec 9 10:45:01 krishna-pc CRON[4831]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
krishna@krishna-pc:~$
krishna@krishna-pc:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
search photonmax3g.wifi
krishna@krishna-pc:~$
krishna@krishna-pc:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 00:26:2d:74:82:d3 brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 90:4c:e5:56:c5:a0 brd ff:ff:ff:ff:ff:ff
5: enx001e101f0000: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1e:10:1f:00:00 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.100/24 brd 192.168.1.255 scope global dynamic enx001e101f0000
valid_lft 86387sec preferred_lft 86387sec
inet6 fe80::8fff:8915:878b:1b6b/64 scope link
valid_lft forever preferred_lft forever
krishna@krishna-pc:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
search photonmax3g.wifi
krishna@krishna-pc:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.0.1 krishna-pc
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
krishna@krishna-pc:~$
Do I missing something ?
Please let me know....
Thanks & Regards
PraviN
+919156991946
PraviN
+919156991946
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies