WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mutt mail client  (Read 2193 times)

Offline Iowa_Nate

  • Newbie
  • *
  • Posts: 23
mutt mail client
« on: July 27, 2020, 03:36:05 PM »
any help would be appreciated
Code: [Select]
tc@box:~$ mkdir -p ~/.mutt/cache/headers
tc@box:~$ mkdir ~/.muttcache/bodies
mkdir: can't create directory '/home/tc/.muttcache/bodies': No such file or directory
tc@box:~$ mkdir ~/.mutt/cache/bodies
tc@box:~$ touch ~/.mutt/certificates
tc@box:~$ touch ~/.mutt/muttrc
tc@box:~$ vim ~/.mutt/muttrc
sh: vim: not found
tc@box:~$ editor ~/.mutt/muttrc

is what i did in the terminal


Code: [Select]
set ssl_starttls=yes
set ssl_force_tls=yes
set pop_user='proudboyiniowa@gmail.com'
set pop_pass=9e4ksURh3T8tZWq
set from='proudboyiniowa@gmail.com'
set realname='Nathan'
set folder = pops://pop.gmail.com:995
set spoolfile = pops://pop.gmail.com/INBOX
set postponed="pops://pop.gmail.com/[Gmail]/Drafts"
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache/bodies"
set certificate_file = "~/.mutt./certificates"
set stmp_url = 'smtps://smtp.gmail.com:587
set move = no


is my muttrc file


any suggestions?

    [EDIT]: Added code tags.  Rich
« Last Edit: August 07, 2020, 06:19:00 AM by Rich »

Offline Iowa_Nate

  • Newbie
  • *
  • Posts: 23
Re: mutt mail client
« Reply #1 on: July 27, 2020, 04:16:32 PM »
allright so i took out the spaces
 i type: <mutt> in the terminal and i get

Error in /home/tc/.mutt/muttrc, line 13: stmp_url: unknown variable
Error in /home/tc/.mutt/muttrc, line 14: :587/: unknown command
source: errors in /home/tc/.mutt/muttrc
Press any key to continue..


so I press any key. then it asks me to accept or reject certs
I press a to accept always then it says could not save certs
then closes the connection

I'm pretty lost

i think i've got it all good excpept for telling mutt how to save certs and wich adress and port for stmp
of course i could use claws or just my web browser but i'd like to save system resources

also any advice on how to use mplayer.cli for optical media would be awesome
cdparanoia to rip and then mplayer to play is pretty simple but id like to save my self some time and just play cd's directly if possible


Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Re: mutt mail client
« Reply #2 on: July 27, 2020, 07:27:39 PM »
...
set stmp_url = 'smtps://smtp.gmail.com:587
...
Change them into this :
Code: [Select]
set smtp_url = "smtps://smtp.gmail.com@(your gmail):587/"See this : https://unix.stackexchange.com/questions/296810/syntax-of-smtp-url-in-muttrc

Offline Iowa_Nate

  • Newbie
  • *
  • Posts: 23
Re: mutt mail client
« Reply #3 on: July 28, 2020, 04:20:42 PM »
please spare the insults. I realize what i did  by posting my info.
i'll check back in a few days once im done feeling sorry for myself.
I realize that mutt is ussually for system admins and i'm just making it hard on myself by not using a graphical email client. i bought a old machine to tinker with and i'm kinda forcing myself to learn command line before i get a newer faster laptop.

Offline Iowa_Nate

  • Newbie
  • *
  • Posts: 23
Re: mutt mail client
« Reply #4 on: August 06, 2020, 07:17:57 PM »
ok well according to mutt -v
smtp is not enabled when compiled. I shall attempt to compile it with smtp or posibly there is a config file

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: mutt mail client
« Reply #5 on: August 06, 2020, 11:54:46 PM »
Are you speaking of the version in Core (32-bit) or CorePure64 (64-bit)?

Offline Iowa_Nate

  • Newbie
  • *
  • Posts: 23
Re: mutt mail client
« Reply #6 on: August 10, 2020, 08:30:39 PM »
the 32 bit version.
i'm very new to all this and i figured I may as well learn something so i downloaded the newest version off of mutt.org and honestly it took me the whole day off and on to do it but i configured and compiled it for 5.4.3-tinycore 32 bit version. I had a previous muttrc file from before so its working great now.
I struggled a bit with the syntax and the configure script seemed to be kinda picky as far as the order in wich the arguments were added. it was just a matter of deciding wich features i wanted and defining the path correctly for the various libs. it took me awhile to figure out what header files were and how to find my host and build names. that one frustrated me for quite awhile

after a day of scouring websites and trying different things ive got it working with pop,smtp,ssl,sasl and eventually i'll figure out pgp.

after watching the script run and fail a bazillion times i now have a pretty good understanding of how things work. it was pretty cool to watch "make install"  do its thing, linking all the various libs together.  now when I download a lib file, i have a small understanding of its purpose.
i think i'll try and tackle scrummvm next

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 915
Re: mutt mail client
« Reply #7 on: August 10, 2020, 11:10:00 PM »
Nice!  I liked mutt a lot.

I used to run mutt with SLRN as my usenet newsgroup reader.  Too bad most of that is spam these days.
That's a UNIX book! - cool  -- Garth