Skip to contentSkip to conversation

DISCUSSION Sumitra Sharma 2 participants 8 messages Mar 17, 2023 – Mar 19, 2023

lore
Share & tools
lore
#0 lore raw

, [email protected]
Bcc:
Subject: Re: [KERNEL NEWBIES ACCESS] Sumitra Sharma Reply-To:
In-Reply-To: <[email protected]>

Quoted 14 lines · Bagas Sanjaya
Quoted 7 lines · Sumitra Sharma
Quoted 6 lines

On Outreachyfirstpatch, there is a pointer to Outreachyfirstpatchalt (which contains instructions on spinning up Ubuntu VM), so you need to install your tools (including postfix and mutt) there if you want to contribute through there. So I think the latter doc should be kept as is.

Quoted 5 lines

Hi

Can you send me a link to Outreachyfirstpatchalt, I am unable to find it.

Quoted 7 lines

For your completeness, see https://kernelnewbies.org/OutreachyfirstpatchAlt.

Again, what I mean that OutreachyfirstpatchAlt is about spinning up Linux VM. If you need follow setting up tools in Outreachyfirstpatch, you can do that in the VM. So I suggest not to modify OutreachyfirstpatchAlt for now. (But I wish the slug could be better named as LinuxVMSetup).

Hi,

Since we discussed all about the outreachyfirstpatchalt only and you
also suggested not to modify it for now. I want to clarify that whether we are working on these below changes for the "outreachyfirstpatch". I am again mentioning them below.

1. The outreachy document does not include the steps to make the inbox with mutt. The steps below can be added to configure mutt with gmail.

- Open the ~/.muttrc
- Add the information

set sendmail="/usr/bin/esmtp" set envelope_from=yes
set from="Your Name <[email protected]>" set use_from=yes
set edit_headers=yes

# IMAP settings
set imap_user = "[email protected]" set imap_pass = "<mailbox password>"

# SMTP settings
set smtp_url = "smtps://[email protected]" set smtp_pass = "<mailbox password>"

# Remote Gmail folders
set folder = "imaps://imap.gmail.com/" set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts" set record = "+[Gmail]/Sent Mail" set trash = "+[Gmail]/Trash"

- Where the imap_pass, smtp_pass would be the App password or the mailbox password.

Regards,

Sumitra

#1 lore raw

Re: your mail

Quoted 29 lines · Sumitra Sharma

, [email protected]
Bcc:
Subject: Re: [KERNEL NEWBIES ACCESS] Sumitra Sharma Reply-To:
In-Reply-To: <[email protected]>

Quoted 14 lines · Bagas Sanjaya
Quoted 7 lines · Sumitra Sharma
Quoted 6 lines

On Outreachyfirstpatch, there is a pointer to Outreachyfirstpatchalt (which contains instructions on spinning up Ubuntu VM), so you need to install your tools (including postfix and mutt) there if you want to contribute through there. So I think the latter doc should be kept as is.

Quoted 5 lines

Hi

Can you send me a link to Outreachyfirstpatchalt, I am unable to find it.

Quoted 7 lines

For your completeness, see https://kernelnewbies.org/OutreachyfirstpatchAlt.

Again, what I mean that OutreachyfirstpatchAlt is about spinning up Linux VM. If you need follow setting up tools in Outreachyfirstpatch, you can do that in the VM. So I suggest not to modify OutreachyfirstpatchAlt for now. (But I wish the slug could be better named as LinuxVMSetup).

Quoted 4 lines

Hi,

Since we discussed all about the outreachyfirstpatchalt only and you
also suggested not to modify it for now. I want to clarify that whether we are working on these below changes for the "outreachyfirstpatch". I am again mentioning them below.

In https://kernelnewbies.org/Outreachyfirstpatch, there is a section called Set up email. This is followed by some sections related to gmail, yahoo, etc. So you could find the best place around there for the new information.

It could be nice to use some subsections, so that one can easily identify the complete section about email.

I notice also that there seems to be randomly "set up" and "setup". I have the impression that "set up" is a verb and "setup" is a noun., so it should be "Set up vim as your default editor" (not Setup...) and it should be "Gmail setup" (not Gmail set up).

thanks,
julia

Quoted 36 lines

1. The outreachy document does not include the steps to make the inbox with mutt. The steps below can be added to configure mutt with gmail.

- Open the ~/.muttrc
- Add the information

set sendmail="/usr/bin/esmtp" set envelope_from=yes
set from="Your Name <[email protected]>" set use_from=yes
set edit_headers=yes

# IMAP settings
set imap_user = "[email protected]" set imap_pass = "<mailbox password>"

# SMTP settings
set smtp_url = "smtps://[email protected]" set smtp_pass = "<mailbox password>"

# Remote Gmail folders
set folder = "imaps://imap.gmail.com/" set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts" set record = "+[Gmail]/Sent Mail" set trash = "+[Gmail]/Trash"

- Where the imap_pass, smtp_pass would be the App password or the mailbox password.

Regards,

Sumitra

#2 lore raw

Re: your mail

Quoted 38 lines · Julia Lawall
Quoted 29 lines · Sumitra Sharma

, [email protected]
Bcc:
Subject: Re: [KERNEL NEWBIES ACCESS] Sumitra Sharma Reply-To:
In-Reply-To: <[email protected]>

Quoted 14 lines · Bagas Sanjaya
Quoted 7 lines · Sumitra Sharma
Quoted 6 lines

On Outreachyfirstpatch, there is a pointer to Outreachyfirstpatchalt (which contains instructions on spinning up Ubuntu VM), so you need to install your tools (including postfix and mutt) there if you want to contribute through there. So I think the latter doc should be kept as is.

Quoted 5 lines

Hi

Can you send me a link to Outreachyfirstpatchalt, I am unable to find it.

Quoted 7 lines

For your completeness, see https://kernelnewbies.org/OutreachyfirstpatchAlt.

Again, what I mean that OutreachyfirstpatchAlt is about spinning up Linux VM. If you need follow setting up tools in Outreachyfirstpatch, you can do that in the VM. So I suggest not to modify OutreachyfirstpatchAlt for now. (But I wish the slug could be better named as LinuxVMSetup).

Quoted 4 lines

Hi,

Since we discussed all about the outreachyfirstpatchalt only and you
also suggested not to modify it for now. I want to clarify that whether we are working on these below changes for the "outreachyfirstpatch". I am again mentioning them below.

Quoted 8 lines

In https://kernelnewbies.org/Outreachyfirstpatch, there is a section called Set up email. This is followed by some sections related to gmail, yahoo, etc. So you could find the best place around there for the new information.

It could be nice to use some subsections, so that one can easily identify the complete section about email.

Actually, the only issue I faced was that the outreachyfirstpatch document do not contain the informatio of how to set your inbox in mutt. Due to which I was facing issues to send and reply mails. This below configuration update will enable the inbox at the client side.

How about this...

Under the section "Configure esmtp":

###
Next, set up the mail client, mutt, with some defaults, by creating a .muttrc file in your homedirectory:

Note: The imap_pass, smtp_pass would be the App password or
the mailbox password.

set sendmail="/usr/bin/esmtp" set envelope_from=yes
set from="Your Name <[email protected]>" set use_from=yes
set edit_headers=yes

# IMAP settings
set imap_user = "[email protected]" set imap_pass = "<mailbox password>"

# SMTP settings
set smtp_url = "smtps://[email protected]" set smtp_pass = "<mailbox password>"

# Remote Gmail folders
set folder = "imaps://imap.gmail.com/" set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts" set record = "+[Gmail]/Sent Mail" set trash = "+[Gmail]/Trash"
###

Quoted 5 lines

I notice also that there seems to be randomly "set up" and "setup". I have the impression that "set up" is a verb and "setup" is a noun., so it should be "Set up vim as your default editor" (not Setup...) and it should be "Gmail setup" (not Gmail set up).

Okay! I will take care of it. Thank you.

Regards,

Sumitra

Quoted 39 lines

thanks,
julia

Quoted 36 lines

1. The outreachy document does not include the steps to make the inbox with mutt. The steps below can be added to configure mutt with gmail.

- Open the ~/.muttrc
- Add the information

set sendmail="/usr/bin/esmtp" set envelope_from=yes
set from="Your Name <[email protected]>" set use_from=yes
set edit_headers=yes

# IMAP settings
set imap_user = "[email protected]" set imap_pass = "<mailbox password>"

# SMTP settings
set smtp_url = "smtps://[email protected]" set smtp_pass = "<mailbox password>"

# Remote Gmail folders
set folder = "imaps://imap.gmail.com/" set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts" set record = "+[Gmail]/Sent Mail" set trash = "+[Gmail]/Trash"

- Where the imap_pass, smtp_pass would be the App password or the mailbox password.

Regards,

Sumitra

#3 lore raw

Re: your mail

In reply to Julia Lawall
Quoted 38 lines · Julia Lawall
Quoted 29 lines · Sumitra Sharma

, [email protected]
Bcc:
Subject: Re: [KERNEL NEWBIES ACCESS] Sumitra Sharma Reply-To:
In-Reply-To: <[email protected]>

Quoted 14 lines · Bagas Sanjaya
Quoted 7 lines · Sumitra Sharma
Quoted 6 lines

On Outreachyfirstpatch, there is a pointer to Outreachyfirstpatchalt (which contains instructions on spinning up Ubuntu VM), so you need to install your tools (including postfix and mutt) there if you want to contribute through there. So I think the latter doc should be kept as is.

Quoted 5 lines

Hi

Can you send me a link to Outreachyfirstpatchalt, I am unable to find it.

Quoted 7 lines

For your completeness, see https://kernelnewbies.org/OutreachyfirstpatchAlt.

Again, what I mean that OutreachyfirstpatchAlt is about spinning up Linux VM. If you need follow setting up tools in Outreachyfirstpatch, you can do that in the VM. So I suggest not to modify OutreachyfirstpatchAlt for now. (But I wish the slug could be better named as LinuxVMSetup).

Quoted 4 lines

Hi,

Since we discussed all about the outreachyfirstpatchalt only and you
also suggested not to modify it for now. I want to clarify that whether we are working on these below changes for the "outreachyfirstpatch". I am again mentioning them below.

Quoted 8 lines

In https://kernelnewbies.org/Outreachyfirstpatch, there is a section called Set up email. This is followed by some sections related to gmail, yahoo, etc. So you could find the best place around there for the new information.

It could be nice to use some subsections, so that one can easily identify the complete section about email.

Actually, the only issue I faced was that the outreachyfirstpatch document does not contain the information of how one can set their inbox in mutt. Due to which I had problems to send and reply mails. This below configuration update will enable the inbox at the client side.

How about this...

Under the section "Configure esmtp":

###
Next, set up the mail client, mutt, with some defaults, by creating a .muttrc file in your homedirectory:

Note: The imap_pass, smtp_pass would be the App password or
the mailbox password.

set sendmail="/usr/bin/esmtp" set envelope_from=yes
set from="Your Name <[email protected]>" set use_from=yes
set edit_headers=yes

# IMAP settings
set imap_user = "[email protected]" set imap_pass = "<mailbox password>"

# SMTP settings
set smtp_url = "smtps://[email protected]" set smtp_pass = "<mailbox password>"

# Remote Gmail folders
set folder = "imaps://imap.gmail.com/" set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts" set record = "+[Gmail]/Sent Mail" set trash = "+[Gmail]/Trash"
###

Quoted 5 lines

I notice also that there seems to be randomly "set up" and "setup". I have the impression that "set up" is a verb and "setup" is a noun., so it should be "Set up vim as your default editor" (not Setup...) and it should be "Gmail setup" (not Gmail set up).

Okay! I will take care of it. Thank you.

In addition to this, I would like to bring to your notice that a hyperlink in outrachyfirstpatch document, under the section "Git post-commit hooks" does not work and it must be changed.

under Git post-commit hooks; checkpatch.pl:
http://lxr.free-electrons.com/source/scripts/checkpatch.pl
------------------------------------------------------------------
https://elixir.bootlin.com/linux/latest/source/scripts/checkpatch.pl

Regards,

Sumitra

Quoted 4 lines

thanks,
julia

#4 lore raw

Re: your mail

Quoted 35 lines

Actually, the only issue I faced was that the outreachyfirstpatch document does not contain the information of how one can set their inbox in mutt. Due to which I had problems to send and reply mails. This below configuration update will enable the inbox at the client side.

How about this...

Under the section "Configure esmtp":

###
Next, set up the mail client, mutt, with some defaults, by creating a .muttrc file in your homedirectory:

Note: The imap_pass, smtp_pass would be the App password or

(quoted diff) +0 -0
 	  the mailbox password.
 
 		set sendmail="/usr/bin/esmtp"
 		set envelope_from=yes
 		set from="Your Name <[email protected]>"
 		set use_from=yes
 		set edit_headers=yes
 
 		# IMAP settings
 		set imap_user = "[email protected]"
 		set imap_pass = "<mailbox password>"
 
 		# SMTP settings
 		set smtp_url = "smtps://[email protected]"
 		set smtp_pass = "<mailbox password>"
 
 		# Remote Gmail folders
 		set folder = "imaps://imap.gmail.com/"
 		set spoolfile = "+INBOX"
 		set postponed = "+[Gmail]/Drafts"
 		set record = "+[Gmail]/Sent Mail"
 		set trash = "+[Gmail]/Trash"
Quoted 1 line

###

Does this have anything to do with esmpt?

Does "<mailbox password>" mean that you have to put your password in plain text?

julia

#5 lore raw

Re: your mail

Quoted 37 lines · Julia Lawall
Quoted 35 lines

Actually, the only issue I faced was that the outreachyfirstpatch document does not contain the information of how one can set their inbox in mutt. Due to which I had problems to send and reply mails. This below configuration update will enable the inbox at the client side.

How about this...

Under the section "Configure esmtp":

###
Next, set up the mail client, mutt, with some defaults, by creating a .muttrc file in your homedirectory:

Note: The imap_pass, smtp_pass would be the App password or

(quoted diff) +0 -0
 	  the mailbox password.
 
 		set sendmail="/usr/bin/esmtp"
 		set envelope_from=yes
 		set from="Your Name <[email protected]>"
 		set use_from=yes
 		set edit_headers=yes
 
 		# IMAP settings
 		set imap_user = "[email protected]"
 		set imap_pass = "<mailbox password>"
 
 		# SMTP settings
 		set smtp_url = "smtps://[email protected]"
 		set smtp_pass = "<mailbox password>"
 
 		# Remote Gmail folders
 		set folder = "imaps://imap.gmail.com/"
 		set spoolfile = "+INBOX"
 		set postponed = "+[Gmail]/Drafts"
 		set record = "+[Gmail]/Sent Mail"
 		set trash = "+[Gmail]/Trash"
Quoted 1 line

###

Quoted 2 lines

Does this have anything to do with esmpt?

In the current version of the outreachy firstpatch document the configuration steps for .esmtp and .muttrc are written under the heading "Configure esmtp" and also to configure esmtp we are creating the muttrc file. So, both are linked in a way.

Quoted 3 lines

Does "<mailbox password>" mean that you have to put your password in plain text?

Yes, but it is always prefered to use the app password for better security.

Regards,

Sumitra

Quoted 1 line

julia

#6 lore raw

Re: your mail

Quoted 38 lines · Sumitra Sharma
Quoted 37 lines · Julia Lawall
Quoted 36 lines

Actually, the only issue I faced was that the outreachyfirstpatch document does not contain the information of how one can set their inbox in mutt. Due to which I had problems to send and reply mails. This below configuration update will enable the inbox at the client side.

How about this...

Under the section "Configure esmtp":

###
Next, set up the mail client, mutt, with some defaults, by creating a .muttrc file in your homedirectory:

Note: The imap_pass, smtp_pass would be the App password or

(quoted diff) +0 -0
 	  the mailbox password.
 
 		set sendmail="/usr/bin/esmtp"
 		set envelope_from=yes
 		set from="Your Name <[email protected]>"
 		set use_from=yes
 		set edit_headers=yes
 
 		# IMAP settings
 		set imap_user = "[email protected]"
 		set imap_pass = "<mailbox password>"
 
 		# SMTP settings
 		set smtp_url = "smtps://[email protected]"
 		set smtp_pass = "<mailbox password>"
 
 		# Remote Gmail folders
 		set folder = "imaps://imap.gmail.com/"
 		set spoolfile = "+INBOX"
 		set postponed = "+[Gmail]/Drafts"
 		set record = "+[Gmail]/Sent Mail"
 		set trash = "+[Gmail]/Trash"

###

Quoted 7 lines
Quoted 2 lines

Does this have anything to do with esmpt?

In the current version of the outreachy firstpatch document the configuration steps for .esmtp and .muttrc are written under the heading "Configure esmtp" and also to configure esmtp we are creating the muttrc file. So, both are linked in a way.

I don't think so. Comfiguring esmtp requires adding some information to the .muttrc, but people who don't want to configure esmtp may also want to add information to the .muttrc.

Quoted 6 lines
Quoted 4 lines

Does "<mailbox password>" mean that you have to put your password in plain text?

Yes, but it is always prefered to use the app password for better security.

The existing text about sending mesages with mutt says:

identity "[email protected]"
hostname smtp.gmail.com:587
username "[email protected]"
password "ThisIsNotARealPassWord"
starttls required

Why not put "ThisIsNotARealPassWord" in your text as well, if that is what you expect people to do?

That is, when you put something in quotes, the reader doedn't know whether they are supposed to put exactly the thing that you have put in the quotes or something else. I guess that for eg "smtps://[email protected]" they should fill in their real username. But for "<mailbox password>" it is not clear what is expected.

julia

#7 lore raw

Re: your mail

Quoted 45 lines · Julia Lawall
Quoted 41 lines · Sumitra Sharma
Quoted 39 lines · Julia Lawall
Quoted 35 lines

Actually, the only issue I faced was that the outreachyfirstpatch document does not contain the information of how one can set their inbox in mutt. Due to which I had problems to send and reply mails. This below configuration update will enable the inbox at the client side.

How about this...

Under the section "Configure esmtp":

###
Next, set up the mail client, mutt, with some defaults, by creating a .muttrc file in your homedirectory:

Note: The imap_pass, smtp_pass would be the App password or

(quoted diff) +0 -0
 	  the mailbox password.
 
 		set sendmail="/usr/bin/esmtp"
 		set envelope_from=yes
 		set from="Your Name <[email protected]>"
 		set use_from=yes
 		set edit_headers=yes
 
 		# IMAP settings
 		set imap_user = "[email protected]"
 		set imap_pass = "<mailbox password>"
 
 		# SMTP settings
 		set smtp_url = "smtps://[email protected]"
 		set smtp_pass = "<mailbox password>"
 
 		# Remote Gmail folders
 		set folder = "imaps://imap.gmail.com/"
 		set spoolfile = "+INBOX"
 		set postponed = "+[Gmail]/Drafts"
 		set record = "+[Gmail]/Sent Mail"
 		set trash = "+[Gmail]/Trash"
Quoted 1 line

###

Does this have anything to do with esmpt?

Quoted 9 lines
Quoted 4 lines

In the current version of the outreachy firstpatch document the configuration steps for .esmtp and .muttrc are written under the heading "Configure esmtp" and also to configure esmtp we are creating the muttrc file. So, both are linked in a way.

I don't think so. Comfiguring esmtp requires adding some information to the .muttrc, but people who don't want to configure esmtp may also want to add information to the .muttrc.

Then, why dont we rename the section as "Configure MTA"

then it will go as follows:

Quoted 15 lines
Quoted 6 lines
Quoted 4 lines

Does "<mailbox password>" mean that you have to put your password in plain text?

Yes, but it is always prefered to use the app password for better security.

The existing text about sending mesages with mutt says:

identity "[email protected]"
hostname smtp.gmail.com:587
username "[email protected]"
password "ThisIsNotARealPassWord"
starttls required

Quoted 9 lines

Why not put "ThisIsNotARealPassWord" in your text as well, if that is what you expect people to do?

That is, when you put something in quotes, the reader doedn't know whether they are supposed to put exactly the thing that you have put in the quotes or something else. I guess that for eg "smtps://[email protected]" they should fill in their real username. But for "<mailbox password>" it is not clear what is expected.

###
Configure MTA

Note: These instructions assume you're using esmtp, but if you already have another mail transfer agent (MTA) installed, you do not need to install esmtp. Instead, change the .muttrc file "sendmail" line to be the path to your MTA. Mutt uses ssmtp by default, so if your MTA is ssmtp, you can leave that line out entirely.

First, create a .esmtprc file with the right permissions:

touch ~/.esmtprc
chmod g-rwx ~/.esmtprc
chmod o-rwx ~/.esmtprc

Edit the .esmtprc in your home directory, and add lines like this:

identity "[email protected]" hostname smtp.gmail.com:587 username "[email protected]" password "ThisIsNotARealPassWord" starttls required

(For Yahoo mail, replace hostname line with:

hostname smtp.mail.yahoo.com:587

Next, set up the mail client, mutt, with some defaults, by creating a .muttrc file in your homedirectory:
Note: The imap_pass, smtp_pass would be the App password or the mailbox password.

set sendmail="/usr/bin/esmtp" set envelope_from=yes
set from="Your Name <[email protected]>" set use_from=yes
set edit_headers=yes

# IMAP settings
set imap_user = "[email protected]" set imap_pass = "<ThisIsNotARealPassWord>"

# SMTP settings
set smtp_url = "smtps://[email protected]" set smtp_pass = "<ThisIsNotARealPassWord>"

# Remote Gmail folders
set folder = "imaps://imap.gmail.com/" set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts" set record = "+[Gmail]/Sent Mail" set trash = "+[Gmail]/Trash"

###

Regards,

Sumitra

Quoted 1 line

julia