Re: Presort my email messages when exmh is the MUA.
I want to presort my email messages. Can you recommend a way to do it (procmail ? exmh capabilities for this task, if it got any ? other ?). Is the proposed way a popular one ? Is there a HOWTO, or similar staff, that explain how to do it ? Choose the Preferences/Incorporate Mail menu option and then change to presort and SAVE. Then create a .maildelivery file in your home directory to tell it how to sort. The program that actually does this is slocal, so do a man slocal to find out more. Make sure you do a chmod of the .maildelivery file so that only you can access it, otherwise it won't work. Ie, do chmod go-rw .maildelivery The man slocal will tell you the format for the .maildelivery file, but here's a sample: # # .maildelivery file for nmh's slocal # # Blank lines and lines beginning with a '#' # are ignored. # # FIELD PATTERN ACTION RESULT STRING # FromJohn Brown + ? academia/adelaide FromSue Blue + ? admin/cssip FromLinux-Announce + ? comp/linux/announce X-mailing-list debian-announce + ? comp/linux/deb-announce Cc debian-user + ? comp/linux/deb-user Fromdebian-user+ ? comp/linux/deb-user To debian-user+ ? comp/linux/deb-user X-mailing-list debian-user + ? comp/linux/deb-user Cc exmh-users + ? comp/linux/exmh-users Fromexmh-users + ? comp/linux/exmh-users To exmh-users + ? comp/linux/exmh-users FromBill Gates + ? personal/friends Subject Cron + ? sysadm default -+ ? inbox _/\___/~~\ /~~\_/~~\__/~~\__Mark_Phillips /~~\_/[EMAIL PROTECTED] /~~\HE___/~~\__/~~\APTAIN_ /~~\__/~~\ __ They told me I was gullible ... and I believed them!
Re: Presort my email messages when exmh is the MUA.
I want to presort my email messages. Can you recommend a way to do it (procmail ? exmh capabilities for this task, if it got any ? other ?). Is the proposed way a popular one ? Is there a HOWTO, or similar staff, that explain how to do it ? Choose the Preferences/Incorporate Mail menu option and then change to presort and SAVE. Then create a .maildelivery file in your home directory to tell it how to sort. The program that actually does this is slocal, so do a man slocal to find out more. Make sure you do a chmod of the .maildelivery file so that only you can access it, otherwise it won't work. Ie, do chmod go-rw .maildelivery Using a .forward file like this | /usr/lib/mh/slocal -user helge will run slocal as soon as a message arrives, so it can be delivered directly to the appropriate exmh/nmh folders. No waiting in mbox at all. I wonder though, if it is possible to have slocal sort some of the folders by subject rather than chronologically? I have no problems sorting folders using exmh menus, but having this happen automatically would be even better. Helge Hafting
Re: Presort my email messages when exmh is the MUA.
shaul wrote: I am using exmh to handle my email (MUA ?). The MTA is smail (is it also the MDA ? What are the differences between MDA and MTA ?). I want to presort my email messages. Can you recommend a way to do it (procmail ? exmh capabilities for this task, if it got any ? other ?). I use, Exmh, sendmail, and procmail and I think that is a great combination, someday (soon?) I will probably change sendmail to Postfix. But for now I have been using sendmail, I have also a short while used smail, but it's hard to configure the way I like it to work. I have read everything some ware in the exmh or the nmh documentation. My entries in the procmailrs files is something like this: :0 w: debian/announce/$LOCKEXT * [EMAIL PROTECTED] | /usr/lib/mh/rcvstore +debian/announce -create :0 w: inbox/$LOCKEXT | /usr/lib/mh/rcvstore +inbox -create Anv most important I have in the beginning of my procmailrc file: SHELL=/bin/sh PATH=/usr/local/lib:/usr/local/bin:/usr/bin:/bin MAILDIR=$HOME/Mail/ LOGFILE=$HOME/Mail/procmail-log LOCKEXT=.lock # This is to make sure I only get mail one. :0 Wh : msgid.lock | formail -D 8192 .msgid.cache # And rewrite to fit in mh folders. :0 Whf | formail -z -R 'From ' X-Envelope-From: / Anders
Re: Presort my email messages when exmh is the MUA.
On Tue, Dec 15, 1998 at 01:19:16AM +0200, shaul wrote: I am using exmh to handle my email (MUA ?). The MTA is smail (is it also the MDA ? What are the differences between MDA and MTA ?). MUA: Mail User Agent: interactive mailer examples: mutt, pine, Outlook, etc. MTA: Mail Transfer Agent: relays mail between hosts (usually via SMTP). examples: exim, sendmail, qmail. MDA: Mail Delivery Agent: delivers mail to users at a destination host. Sometimes, the MTA is also the MDA (for example, when exim puts mail directly into your mailbox with the appendfile rule). At other times, deliver or procmail might be acting as an MDA. Interestingly, delivery at the far end by the MDA, not transport across the Internet, is responsible for almost all of the time delay in sending email. miket
Presort my email messages when exmh is the MUA.
I am using exmh to handle my email (MUA ?). The MTA is smail (is it also the MDA ? What are the differences between MDA and MTA ?). I want to presort my email messages. Can you recommend a way to do it (procmail ? exmh capabilities for this task, if it got any ? other ?). Is the proposed way a popular one ? Is there a HOWTO, or similar staff, that explain how to do it ? Thank you.