Ok here is what I understand if I use procmail it will deliver to mail to the appropriate folders based on the filtering rules. That means I would have to go over all of my folders to see if I have received email. Including the business mails I receive my daily email rate is somewhere between 500-750 depending the day. Especially the business mails I do not want to skip since I may have headaches later. So I would like to see them in one folder and once I have a look at them they should be delivered to the appropriate folders for archiveing purposes. So will procmail do this if the answer is yes then I am ready to go and play with it and of course call for help -- Togan Muftuoglu
* Togan Muftuoglu (toganm@users.sourceforge.net) [010505 13:59]: }=}Ok here is what I understand if I use procmail it will deliver to mail to the appropriate folders based on the filtering rules. }=} }=}That means I would have to go over all of my folders to see if I have received email. Including the business mails I receive my daily email rate is somewhere between 500-750 depending the day. Especially the business mails I do not want to skip since I may have headaches later. So I would like to see them in one folder and once I have a look at them they should be delivered to the appropriate folders for archiveing purposes. }=} }=}So will procmail do this if the answer is yes then I am ready to go and play with it and of course call for help Put this in your .muttrc and it will alert you to new emails in the folders you choose :) mailboxes =Incoming =SLE =work Well, you get the general idea..just replace the above mailboxes with how you have named your own and it will let you know if you have new mail. You can also use gkrellm to notify you..I have it pointed at 15 mailboxes and it's damn nice if your in X. :) -- Ben Rosenberg mailto:ben@whack.org ----- If two men agree on everything, you can be sure that only one of them is doing the thinking.
On Sat, May 05, 2001 at 02:09:19PM -0700, Ben Rosenberg wrote:
mailboxes =Incoming =SLE =work
Well, you get the general idea..just replace the above mailboxes with how you have named your own and it will let you know if you have new mail. You can also use gkrellm to notify you..I have it pointed at 15 mailboxes and it's damn nice if your in X. :)
Ok you convinced me (hope I do not loose mail) 1) Ben, you said in your previous mail that you had export MAIL=$HOME/Mail/incoming under my case do I still export MAIL as this one if not hwo do I define the ones like CRM gelecek padi SLE Security 2) :0: * ^FROMgelecek gelecek is what I understand from procmail if mail is coming from gelecek then move to gelecek folder. If Iam understing this how is this done with CC and mailing lists TIA -- Togan Muftuoglu
* Togan Muftuoglu (toganm@users.sourceforge.net) [010505 14:34]: }=} }=}export MAIL=$HOME/Mail/incoming under my case do I still export MAIL }=}i as this one if not how do I define the ones like CRM gelecek padi }=}SLE Security I put rules in for each mail box and then after procmail goes through all those rules if it doesn't find a match it drops it in the default which would be ~/Mail/incoming. I general put rules in that look like this: -- # suse fix so that replies go to the list and not to the person. :0f ^X-Mailinglist: suse-linux-e | formail -bfi "Reply-To: SLE <suse-linux-e@suse.com>" # English Mailing List :0 * ^(To:|Cc:|From:|Re:).*suse-linux-e@suse.(com|de) Suse-linux-e # All other stuff goes directly to Inbox :0 * Incoming -- I think from this you should be able to figure it out. There are more creative rules that you can get into and do..but I don't want your mail bouncing all over the net if something goes wrong ;) Regards, -- Ben Rosenberg mailto:ben@whack.org ----- If two men agree on everything, you can be sure that only one of them is doing the thinking.
On Sat, May 05, 2001 at 02:50:53PM -0700, Ben Rosenberg wrote:
# suse fix so that replies go to the list and not to the person.
:0f ^X-Mailinglist: suse-linux-e | formail -bfi "Reply-To: SLE <suse-linux-e@suse.com>"
Why use formail when Mutt can do list reply
I think from this you should be able to figure it out.
Looks like yet we shall see There are more
creative rules that you can get into and do..but I don't want your mail bouncing all over the net if something goes wrong ;)
me neither -- Togan Muftuoglu
* Togan Muftuoglu (toganm@users.sourceforge.net) [010505 14:59]: }=}On Sat, May 05, 2001 at 02:50:53PM -0700, Ben Rosenberg wrote: }=}> }=}> # suse fix so that replies go to the list and not to the person. }=}> }=}> :0f }=}> ^X-Mailinglist: suse-linux-e }=}> | formail -bfi "Reply-To: SLE <suse-linux-e@suse.com>" }=} }=}Why use formail when Mutt can do list reply Because this rule predates Mutt's ability to do this..and I rarely screw with stuff that works ;) Fix once and forget *grin* -- Ben Rosenberg mailto:ben@whack.org ----- If two men agree on everything, you can be sure that only one of them is doing the thinking.
On Sat, May 05, 2001 at 03:04:37PM -0700, Ben Rosenberg wrote:
Because this rule predates Mutt's ability to do this..and I rarely screw with stuff that works ;) Fix once and forget *grin*
Ok got the basic idea I need to fix myself get some sleep and tomorrow start reading procmail man page one more time get a basic procmailrc file and see how it works before Monday. Thanks for the help so far -- Togan Muftuoglu
Ok I have basicly prepared my procmailrc and would really appreciate if someone can tell me if its Ok or not before I start bombing the net with bouncing messages Thanks in advance -- Togan Muftuoglu Thanks for the first 2 Ben # suse fix so that replies go to the list and not to the person. :0f ^X-Mailinglist: suse-linux-e | formail -bfi "Reply-To: SLE <suse-linux-e@suse.com>" # English Mailing List :0 * ^(To:|Cc:|From:|Re:).*suse-linux-e@suse.(com|de) Suse # Suse-Security :0 *^(To:|CC:|From:|Re:).*suse-security@suse.(com.de) Suse-Scurity # E-Smith :0 *^(To:|CC:|From:).*phorum-advanced@lists.e-smith.org esmith # KDE TR :0 *^(To:|From:|CC:).*kde-18n-tr@max.tat.physik.uni-tuebingen.de *^(From:|CC:).*gorkem@gelecek.com.tr KDE18TR #XFREE86 :0 *^(From:|To:|CC:).*xpert@xfree86.org) XFree86 #Linux Console :0 *^(To:|From:|CC:).*linuxconsole-dev@lists.sourceforge.net LinuxConsole #Newsletters :0 *^(From:|To:).*@(freshmeat.net|oreillynet.com|mailman.tucows.com) Newsletters #Aspell :0 *^(From:|To:|CC:).*aspell-user@lists.sourceforge.net Aspell #Xine :0 *^(From:|To:|CC:).*xine-user@lists.sourceforge.net Xine #i18n :0 *^(From:|To:|CC:).*i18n@xfree86.org i18n #RC82 :0 *^(To:|From:|CC:).*rc82@yahoogroups.com RC82 #Linux Router :0 *^(To:|From:|CC:).*@linuxrouter.org Router # Securityfocus :0 *^(To:|From:|CC:).*(SECURITY-BASICS|FOCUS-LINUX)@SECURITYFOCUS.COM Security #Applix :0 *^(To:|From:|CC:).*suse-applix@suse.(com|de) *^(To:|From:|CC:).*@vistasource.com Applix #Netfilter :0 *^(To:|From:|CC:).*netfilter-request@lists.samba.org Netfilter #Padi :0 *^(From:|CC:).*@padi.(com|co.uk) padi #CRM :0 *^(From:|To:|CC:).*@crm-forum.com *^(From:|To:|CC:).*@crm-guru.com *^(From:|To:|CC:).*@crminturkey.org *^(From:|To:|CC:).*@adaplatinum.com CRM #Turkce-imla :0 *^(From:|To:|CC:).*turkce-imla@lists.sourceforge.net turkce-imla #snort :0 *^(From:|To:|CC:).*snort-users@lists.sourceforge.net snort #Mediation :0 *^(From:|To:|CC:).*mediation-owner@listbot.com Mediation # # All other stuff goes directly to Inbox :0 * Incoming
[...]
# KDE TR :0 *^(To:|From:|CC:).*kde-18n-tr@max.tat.physik.uni-tuebingen.de *^(From:|CC:).*gorkem@gelecek.com.tr KDE18TR
#XFREE86 :0 *^(From:|To:|CC:).*xpert@xfree86.org) XFree86 #Linux Console :0 *^(To:|From:|CC:).*linuxconsole-dev@lists.sourceforge.net LinuxConsole [...]
There are procmail-defined shortcuts that capture many of the cases you've done manually in your regexps. I find TO_ most useful: * ^TO_random-maillist is the same as * (^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)random-maillist which is pretty exhaustive and will keep you from hunting down corner cases. In case no one has pointed you at it, or you haven't found it yourself, man procmailrc is a good read. -tara
Hi Tara,
* ^TO_random-maillist ^ is this with a space intentionlly there or typo
In case no one has pointed you at it, or you haven't found it yourself, man procmailrc is a good read.
Your timing is perfect as I was just reading man procmailrc yet had not came that far. So as you say switching to your example could save me time but I have to make sure it will work then I can always beautify. -- Togan Muftuoglu
On Sun, May 06, 2001 at 09:33:00PM +0300, Togan Muftuoglu wrote:
Hi Tara,
* ^TO_random-maillist ^ is this with a space intentionlly there or typo
I have the spaces in my .procmailrc. I'm not sure whether they're required, but it works with them. I also note that the examples given in `man procmailex` include the spaces. -tara
On Sun, May 06, 2001 at 02:41:44PM -0400, Tara L Andrews wrote:
I have the spaces in my .procmailrc. I'm not sure whether they're required, but it works with them. I also note that the examples given in `man procmailex` include the spaces.
Ok first test first fail 1) I have placed mda "usr/bin/procmail -d " in the fetchmailrc 2) I have the .procmailrc in my home directory 3) I have set these in my .muttrc set mbox_type=mbox mailboxes =Incoming =Suse =Suse-Security =Xine =KDE18TR =i18n =xfree86 =CRM =padi =esmith =snort =Router =SecurityBasics =Netfilter =turkce-imla =Applix =Mediation set folder=/home/toganm/Mail/ #under Mail directory fcc-hook . $HOME/Mail/Sent Mutt complains /home/toganm/Mail is not a valid mbox procmail does not process anything mail is still going to /var/spool/mail/toganm What am I doing wrong ? -- Togan Muftuoglu
On Sun, May 06, 2001 at 09:03:18PM +0300, Togan Muftuoglu wrote:
Ok I have basicly prepared my procmailrc and would really appreciate if someone can tell me if its Ok or not before I start bombing the net with bouncing messages
There is an easier way of doing some of that. This is how I sort my mailing list mesages. # My personal procmail control file SHELL=/usr/local/bin/bash LOGFILE=$HOME/procmail.log # Move list traffic into separate folders for easier reading. :0: * ^Delivered-To:.*reebsd-questions $HOME/Mail/fbsd_questions :0: * ^Delivered-To:.*reebsd-announce $HOME/Mail/fbsd_announce :0: * ^Delivered-To:.*reebsd-stable $HOME/Mail/fbsd_stable :0: * ^Delivered-To:.*reebsd-newbie $HOME/Mail/fbsd_newbie :0: * ^Delivered-To:.*reebsd-security-notifications $HOME/Mail/fbsd_sec_notify :0: * ^Delivered-To:.*reebsd-chat $HOME/Mail/fbsd_chat :0: * ^Delivered-To:.*reebsd-security $HOME/Mail/fbsd_security :0: * ^X-Authentication-Warning:.*ipfilter $HOME/Mail/ipfilter :0: * ^Delivered-To:.*suse-linux-e $HOME/Mail/suse_linux HTH, - v -- Victor R. Cardona vcardona@home.com "Behold the keyboard of Kahless, the greatest Klingon code warrior that ever lived!"
Procmail is a Mail Delivery Agent (MDA). Once the mail is in your inbox(es), its job is done. Maildrop is another MDA, but with more readable syntax. Mutt allows you to define save-hooks and fcc-save-hooks to supply a default save directory. It is very configurable, but not necessarily the most intuitive setup and configuration. I use it. It is dependable and reliable. Look at xbuffy for something to tell you which mailboxes you have new mail in. I have 20 incoming mailboxes. Coolmail is on the 7.1 CDs. I haven't used it, but I expect will do the job too. Jeffrey Quoting Togan Muftuoglu <toganm@users.sourceforge.net>:
Ok here is what I understand if I use procmail it will deliver to mail to the appropriate folders based on the filtering rules.
That means I would have to go over all of my folders to see if I have received email. Including the business mails I receive my daily email rate is somewhere between 500-750 depending the day. Especially the business mails I do not want to skip since I may have headaches later. So I would like to see them in one folder and once I have a look at them they should be delivered to the appropriate folders for archiveing purposes.
So will procmail do this if the answer is yes then I am ready to go and play with it and of course call for help
-- I don't do Windows and I don't come to work before nine. -- Johnny Paycheck
Moin, You should have a word with your editor concerning line length.
From what you told us, you will have no problems with your current setup. Just let Procmail do the sorting and tell Mutt where to find new mail. Mutt will then see any mailbox with new mail.
Thorsten -- Denn ein Tyrann ist nicht, wenn die Masse nicht geduldig stillhält. Kurt Tucholsky
Well thanks to Ben , Tara and Victor for helping me with procmail. So far I have a couple of tiny problems in getting the mails to proper folders other thna that I do not think I have lost mail since this morning . Once again thanks to all -- Togan Muftuoglu
Hey, no problem. When things work it's all good. Hope you enjoy your setup. :) * Togan Muftuoglu (toganm@users.sourceforge.net) [010507 08:08]: }=} }=}Well thanks to Ben , Tara and Victor for helping me with procmail. So }=}far I have a couple of tiny problems in getting the mails to proper }=}folders other thna that I do not think I have lost mail since this }=}morning . }=} }=}Once again thanks to all -- Ben Rosenberg mailto:ben@whack.org ----- If two men agree on everything, you can be sure that only one of them is doing the thinking.
On Mon, May 07, 2001 at 10:22:34AM -0700, Ben Rosenberg wrote:
Hey, no problem. When things work it's all good. Hope you enjoy your setup. :)
I am actually:-) I have gkrellm also set up and I have changed netscape messenger to mutt with the altmail program if I can get it work with konsole rather tahn Xterm I'll feel better since with Xterm for some reason I can not use the arrow keys. The only other minor problem I have is vi everytime I have to type set tw=72 I have added that to my .vimrc but for some reason it does not take effect. Anyhow it is great pleasure to work with emails now -- Togan Muftuoglu
participants (6)
-
Ben Rosenberg
-
Jeffrey Taylor
-
Tara L Andrews
-
Thorsten Haude
-
Togan Muftuoglu
-
Victor R. Cardona