Thread: mutt & fdm
View Single Post
Old 12th May 2011
qmemo's Avatar
qmemo qmemo is offline
Real Name: He
Package Pilot
 
Join Date: Jul 2008
Location: The big B
Posts: 141
Default

Quote:
Originally Posted by Oko View Post
That is silly. Gmail unlike Hotmail supports IMAP. I use Gmail with IMAP as my main e-mail account. Gmail also forwards e-mails from other domains so you can set your OpenSMTPd to use Gmail account as forwarding server. Read the documentation!

http://mail.google.com/support/bin/a...y?answer=77695

The only annoyance with Gmail is that when you delete messages they do not get expunged because they are still kept in the stupid Allmail folder. That is the only violation to honest IMAP protocol by Gmail that I am aware of. The work around is very simple. I use Hairloom mailx and use command mv (move) to move messages to trash (which is alias for Gmail/Trash)
The only reason I enapled POP on Gmail is to retrive all the email on a one GO & review later.

Code:
shortcut trash +[Gmail]/Trash
The messages get deleted automatically after 90 days. Here is full .nailrc for Gmail and Hotmail accounts.

I lost focus, what is Hairloom mailx and which app is .nailrc for?

Quote:
[code]
account gmail {
set folder=imaps://my_user_name@imap.gmail.com
set imap-use-starttls
set password-my_user_name@imap.gmail.com="password"
set record=+Sent MBOX=+mbox outfolder
set smtp="smtp.gmail.com:587"
set from="My Name <my_user_name@gmail.com>"
set smtp-use-starttls
set smtp-auth="login"
set smtp-auth-user=my_user_name
set smtp-auth-password="password"
# IMAP SHORTCUTS SECTION for standard Gmail folders
shortcut allmail +[Gmail]/All\ Mail
shortcut spam +[Gmail]/Spam
shortcut trash +[Gmail]/Trash
}



account hotmail {
set MAIL=pop3s://my_user_name@hotmail.com@pop3.live.com
set pop3-use-starttls
set password-my_user_name@hotmail.com@pop3.live.com="password"
set smtp="smtp.live.com:25"
set from="My Name <my_user_name@hotmail.com>"
set smtp-use-starttls
set smtp-auth="login"
set smtp-auth-user=my_user_name@hotmail.com
set smtp-auth-password="password"
# POP3 ACCT SHORTCUTS SECTION nail -f <account>
shortcut hotmail pop3s://my_user_name@hotmail.com@pop3.live.com
}



# Binary options
set askattach
set askcc
set autocollapse
set autothread
set emptystart

# String Options
set imap-keepalive=240
set imap-list-depth=5
set pop3-keepalive=30

# Reading HTML mail
set pipe-text/html="lynx -dump -force_html /dev/stdin"

# Address Book
alias my_friend my_friend@gmail.com
Quote:
Originally Posted by BSDfan666 View Post
There are some advantages to using fdm Oko, it was written by the same guy who wrote tmux.. it has advanced filtering capabilities and a syntax that could be loosely compared to OpenBSD's pf.
you should not have told me that Nicm owns *fdm* too

Quote:
Originally Posted by Oko View Post
Thanks for the post. I am fully aware how good is fdm as I was contemplating to switch to nmh+fdm. I had fully working configuration. On another hand I have never had any interest in Mutt nor desire to learn anything about it. I have friends who used for a long time so I know that support for IMAP/POP came as a big surprise as Mutt developers for a long time resisted that idea as being anti-Unix
(Mutt is a MUA and should do nothing less, nothing more). I kind a liked that approach even that I am in violation by using Hairlom Mailx.
umm, nhm+fdm? Hairlom Mailx?

nice, I forgot why I posted in the first place!

so which it gonna be? I switched to IMAP for my gmail accounts, now it's all IMAP
Reply With Quote