Not sure how good it works, because, as always, I wrote it from my memory, after I configured my desktop pc to relay mail via my mailserver.

Probably next time, I lose my postfix config, I will fix bugs if any....
Or you can give me feedback (no much hopes, I will jump in and fix and help with everything, since I'm pretty dam busy right now, but it never hurts)

that person is me, using gmail with POP enabled, thankfully I can change that.

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!

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 Heirloom mailx and use command mv (move) to move messages to trash (which is alias for Gmail/Trash)

Code:

shortcut trash +[Gmail]/Trash

The messages get deleted automatically after 90 days. Here is full .nailrc for Gmail and Hotmail accounts.

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.

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 Heirlom Mailx.

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!

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.

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

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

No of course not. I am apologize for hijacking your thread. I am a Heilrloom mailx (aka. Nail) user so I used it to illustrate some of my answers. I see that now that I just caused confusion. Mutt is of course very different MUA and since I already admitted that I am clueless about it, this will be my last post in this thread.