this post was submitted on 16 Sep 2023
17 points (90.5% liked)

Linux

48017 readers
1194 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 
  • installed emacs and use rmail as email client for multiple pop3 email servers with [ gmail, yahoo, etc.. ].
  • is there any good guide to setup rmail as email client on termux?
you are viewing a single comment's thread
view the rest of the comments
[–] jindam_vani@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

this code is for one [ my ] email id only

replace my email id, smtp, etc..

code is available also @_ https://lists.gnu.org/archive/html/help-gnu-emacs/2023-09/msg00142.html

~ /.emacs

;; pop3

(require 'smtpmail)
(require 'rmail)

(setq user-mail-address "jindam@list.ru") 
(setq user-full-name "జిందం వాఐి") 
(setq smtpmail-smtp-user "jindam@list.ru"    
          smtpmail-smtp-server "smtp.mail.ru" 
           smtpmail-smtp-service 465 
           smtpmail-stream-type 'ssl)

(setq
     rmail-preserve-inbox 1                     ; Don't delete mail from server
     rmail-mail-new-frame 1                     ; Compose in a full frame
     rmail-delete-after-output 1                ; Delete original mail after copying
     rmail-mime-prefer-html nil                 ; Prefer plaintext when possible
     rmail-file-name   "~/mail/inbox"           ; The path to our inbox file
     rmail-secondary-file-directory "~/mail"    ; The path to our other mbox files
     message-default-headers "Fcc: ~/mail/sent") ; Copy sent mail to the "sent" file

;; Debug
(setq smtpmail-debug-info t)
(setq smtpmail-debug-verb t)

;; html
(setq
 shr-use-fonts nil  ; Don't load fancy fonts
 shr-indentation 2  ; A left-margin of 2 columns
 shr-use-colors nil ; Don't load special colors
 shr-width 32       ; Fix width to 70 columns
 shr-bullet "• ")   ; A bullet character for <li> elements

;; tls
(setq rmail-movemail-flags "--tls")

;; Use Mail mode to compose messages (default)
(setq mail-user-agent 'sendmail-user-agent)

;; If you're using rmail
(setq read-mail-command 'rmail)

;;(setq rmail-primary-inbox-list
&nbsp; ;;&nbsp; &nbsp; (cons (concat "pop3://"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;&nbsp; &nbsp; &nbsp; "jindam@list.ru"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;&nbsp; &nbsp; &nbsp; "@pop.mail.ru") nil))

(setq
;; The mail URL, specifying a remote mail account
;; (Omit this to read from /var/mail/user)
rmail-primary-inbox-list
  '("pops://jindam@list.ru@pop.mail.ru"))
```</li>