DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th April 2013
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 546
Thanked 9 Times in 9 Posts
Default mutt-1.5.21p1v0-sasl pop3 - Mail to laptop and Desktop

The issue I am having with mutt1.5 is that the built in pop3 retrival
, with
Code:
set pop_last=yes
set pop_delete=no
is that I am only able to download the emails to one machine. I previously
would download to both my laptop and desktop.

Ideally, changing a setting in my present muttrc would simplest but my searches
suggest that the pop3 retrival function in mutt does not support UIDL.

My present muttrc with personal information redacted.
Code:
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#       *****'s personal .muttrc (Mutt 1.5.21)
#
# The format of this file is one command per line.  Everything after a pound
# sign (#) is a comment, unless a backward slash (\) precedes it
#

# Note: $folder should be set _before_ any other path vars where `+' or `='
# is used because paths are expanded when parsed
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#       Set MH folder structure
#
set mbox_type=MH                                # Use mh mail format
set move=yes                                    # Turn off move confirm prompt
set mbox="~/Mail/inbox"                         # Users active mail directory
set folder="~/Mail"                             # Mutt needs to make
set record="~/Mail/sent"                        # Mailbox to store sent messages
set postponed="~/Mail/draft"                    # Mailbox to store messages not ready to send
set spoolfile="~/Mail/spool"                    # Use spool file in home directory
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#       Set Global options
#
set autoedit                                    # Start vim when composing
auto_view text/html                             # Use lynx as default html viewer
set copy=yes                                    # Always save a copy of sent messages
set editor="vim"                                # Use vim editor
set edit_headers                                # Edit message headers when composing
set help                                        # Show the help lines
set include                                     # Include prior message when replying
set indent_string=">"                           # Prepend to each line of quoted text
set implicit_autoview=yes                       # View images and html as defined in mailcap
set noconfirmappend                             # Don't ask me if i want to append to mailboxes
set nomark_old                                  # Dont't mark old messages
set mail_check=20                               # Check for new messages every 20min
set mailcap_path="~/.rcconfig/.mailcap"         # Path to .mailcap
set mime_forward                                # Use message/rfc822 type to forward messages
set move=yes                                    # Don't prompt for message move
set pager_index_lines=8                         # Show 8 index lines in pager
set read_inc=25                                 # Show progress when reading a mailbox
set reply_to                                    # Use reply-to if present
set reverse_name                                # Use my name as it appears in the email
set nosave_empty                                # Remove files when no messages are left
#set sendmail="/usr/sbin/sendmail -oi -oem"     # Use sendmail wrapper for smtpauth
set text_flowed=yes                             # Format message text w/o weird line breaks
set abort_nosubject=yes                         # Don't send a blank subject line
set signature="~/.rcconfig/.signature"          # Set default signature file
set sort=reverse-date-received                  # Newest messages on top
set sort_aux=reverse-date-received              # Newest messages on top
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#       Set Default Information in headers
#
set from="********"             # Avoid Elink spam filter
set hdr_format="%4C %Z %{%m/%d} %-15.15F (%4c) %s"
set realname="**** *****"
set hostname=****.****.***
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#       Print with smallest font=1, no border, remove all comments 
#
set print_command="a2ps -1gEmail --borders=no --strip=3 -P hp5l"
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#       Penguin Innovations Email Headers
#
my_hdr From: "**** ****" <*******@earthlink.net>
my_hdr Reply-To: "**** *****" <*******@earthlink.net>
my_hdr Organization: Penguin Innovations
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#       AddressBook option with abook
#
set query_command="abook --mutt-query '%s'"
macro index a     "|abook --add-email\n" 'add sender to abook'
macro pager a     "|abook --add-email\n" 'add sender to abook'
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#       View URLs inside Mutt
#
macro index \cb   "|urlview\n"
macro pager \cb   "|urlview\n"
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#       Parse the Numerous Headers in incoming messages
ignore *
unignore From:
unignore To:
unignore Reply-To:
unignore Mail-Followup-To:
unignore Subject:
unignore Date:
unignore Organization:
unignore Newsgroups:
unignore CC:
unignore BCC:
unignore Message-ID:
unignore X-Mailer:
unignore User-Agent:
unignore X-Junked-Because:
unignore X-SpamProbe:
unignore X-Virus-hagbard:
unhdr_order *
hdr_order From: Subject: Date: To: Message-ID: CC: Date: Organization: X-Mailer: User-Agent:
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#       Macros - Map G to Invoke getmail
#       Commented out for Mutt 1.5
#
#macro index G  "!getmail --new\n" "Invoke getmail"
#macro pager G  "!getmail --new\n" "Invoke getmail"
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#       Earthlink Settings
#       Comment out for Mutt 1.4
#
set pop_user="*******@earthlink.net"
set pop_host="mail.earthlink.net"
set pop_last=yes
set pop_delete=no
set smtp_url="smtp://******@earthlink.net@smtpauth.earthlink.net"
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If there is no easy fix I will install getmail/nmh and use it to invoke getmail.

Last edited by shep; 6th April 2013 at 01:22 AM. Reason: UUID -> UIDL
Reply With Quote
  #2   (View Single Post)  
Old 6th April 2013
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 546
Thanked 9 Times in 9 Posts
Default

In followup, I'll post some information that I gleaned while addressing the task of maintaining the same messages on separate computers

1) When choosing an email provider make sure they provide imap support. My provider, Earthlink, only provides pop3. I 'm stuck with Earthlink in the near future.
2) The question has been posed to the Mutt developers in the past and to provide uidl support in the fetch mail function would require an additional cache.
3) Getmail with nmh will provide the functionality of maintaining the same emails on multiple computers.

nmh was needed to maintain backwards compatibility with my prior email client, Slypheed/Claws Mail. With the mh format, it is critical to have a .mh_sequences in the inbox directory, otherwise mutt will not open the folder.

The mutt documentation seems to push for either Maildir or mbox formats. I liked the idea of having each email consist of a file rather than having one massive file as in mbox.

Last edited by shep; 6th April 2013 at 11:41 PM. Reason: corrected error as pointed out by J65nko in next post
Reply With Quote
  #3   (View Single Post)  
Old 6th April 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,116
Thanked 182 Times in 149 Posts
Default

AFAIK mbox format is one large file, while in the Maildir format each mail is a separate file
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
any consequences to moving a laptop-based installed disk to another different laptop daemonfowl OpenBSD General 7 2nd August 2012 04:29 PM
mutt & fdm qmemo General software and network 25 16th May 2011 07:23 AM
Mutt and SASL divadgnol67 OpenBSD Packages and Ports 3 11th March 2011 04:48 PM
Courier IMAP/POP3 can't auth to mysql db revzalot OpenBSD Packages and Ports 5 6th September 2009 05:44 AM
fetchmail: POP3< -ERR internal server error graudeejs FreeBSD General 3 19th July 2008 02:02 PM


All times are GMT. The time now is 12:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick