Re: Avoiding duplicate messages

2010-12-09 Thread Jose M Vidal
Solved it adding to .muttrc
set copy=no
Hope it can be usefull for someone.
Regards,

jm

On Wed, Dec 8, 2010 at 6:18 PM, Jose M Vidal jmvidal...@gmail.com wrote:
 All my outgoing e-mails (new messages and replies) appear as two
 messages in mutt (Gmail IMAP)
 When I check the web client they all are dupicated as well.
 I've seen some messages in this list explaining how to remove
 duplicate messages (D + ~=), but my problem is:
 1- It is inconvenient to do it every X messages, to keep the Sent
 messages folder clean
 2- When doing it, I need to remove every time the folder-hook .
 'unset trash' line from muy .muttrc, as I am used to archive my mail
 instead of deleting it.
 Is there anything I can do to avoid getting all my outgoing mail duplicated?
 Many thanks.

 --
 jm




-- 
jm


Avoiding duplicate messages

2010-12-08 Thread Jose M Vidal
All my outgoing e-mails (new messages and replies) appear as two
messages in mutt (Gmail IMAP)
When I check the web client they all are dupicated as well.
I've seen some messages in this list explaining how to remove
duplicate messages (D + ~=), but my problem is:
1- It is inconvenient to do it every X messages, to keep the Sent
messages folder clean
2- When doing it, I need to remove every time the folder-hook .
'unset trash' line from muy .muttrc, as I am used to archive my mail
instead of deleting it.
Is there anything I can do to avoid getting all my outgoing mail duplicated?
Many thanks.

-- 
jm


Re: removing duplicate messages + changing mailbox

2001-04-09 Thread Rejo Zenger

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

++ 12/02/01 08:04 + - Nelson D. Guerrero:
Roel, the answer to that question is making a rule on your .procmailrc
to delete themThis is what I have.

:0 Whc: .msgid.lock
| formail -D 16384 .msgid.cache
:0 a:
/dev/null

The ":" on the second recipe can be removed. There's no need for locking
when writing a message to /dev/null.

-R.


- -- 
# [EMAIL PROTECTED] (pgp: see headers) - http://www.sisterray.nl
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE60VclHa9Q5nX8UPMRAktbAKDMA5cLC+lWqeEa073cU80fUmNQxgCgxrlC
uwQrdt9fxLJHtSpBNEwgkFE=
=IKlM
-END PGP SIGNATURE-



Re: removing duplicate messages + changing mailbox

2001-02-15 Thread David

Roel Vanhout wrote:
 X-Apparently-To: [EMAIL PROTECTED] via web10802
 Date: Sun, 11 Feb 2001 23:18:54 +0100
 From: Roel Vanhout [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: removing duplicate messages + changing mailbox
 Message-ID: [EMAIL PROTECTED]
 
 Hello all,
 
 I've switched from using imap to fetchmail + Maildir + maildrop. Now I
 have a few questions: 
 - I have accidentally downloaded a bunch of messages 
   twice with fetchmail. Is there any way to remove duplicate messages?
 - When I press 'C' to switch mailbox and press ? to get a list of
   mailboxes, I get only two dots and when I select this, I go back to my
   previously selected mailbox. If I chdir to ~/Maildir, all mailboxes
 show up; is there any way to make mutt go to this directory whenever I
 press '?' for a list of mailboxes?
 - Not really mutt-related, but maybe someone knows the answer anyway: is
   there any way to tell maildrop to make maildir mailboxes if they don't
 exist yet, or do I have to do 'makemaildir' every time I add a rule in my
 .maildropfilter?
 
 Thanks,
 
 roel
 

I use the following in my .mailfilter to remove duplicates and it seems 
to work fine for me:

`reformail -D 8000 .duplicate.cache`
if ( $RETURNCODE == 0 )
{
exit
}



-- 
Don't tell me I'm burning the candle at both ends -- tell me where to
get more wax!!
-
Fingerprint :  869B 53DD 5E80 E1F0 93F6  9871 0508 0296 5957 F723
David Clarke [EMAIL PROTECTED] || [EMAIL PROTECTED]



Re: removing duplicate messages + changing mailbox

2001-02-13 Thread David T-G

Roel --

...and then Roel Vanhout said...
% Hello all,
% 
% I've switched from using imap to fetchmail + Maildir + maildrop. Now I
% have a few questions: 
% - I have accidentally downloaded a bunch of messages 
%   twice with fetchmail. Is there any way to remove duplicate messages?

If they went through formail the first time then you may lose mail, but
you can otherwise use formail's cache to get rid of dupes.  Check the
procmail man pages for more info.


% - When I press 'C' to switch mailbox and press ? to get a list of
%   mailboxes, I get only two dots and when I select this, I go back to my
%   previously selected mailbox. If I chdir to ~/Maildir, all mailboxes
% show up; is there any way to make mutt go to this directory whenever I
% press '?' for a list of mailboxes?

'C' is copy-message; 'c' is change-folder.


% - Not really mutt-related, but maybe someone knows the answer anyway: is
%   there any way to tell maildrop to make maildir mailboxes if they don't
% exist yet, or do I have to do 'makemaildir' every time I add a rule in my
% .maildropfilter?

Dunno; sorry :-)


% 
% Thanks,

HTH  HAND


% 
% roel
% 


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: removing duplicate messages + changing mailbox

2001-02-12 Thread Nelson D. Guerrero

* On Sun Feb 11 2001, Roel Vanhout screamed:
- Hello all,
- 
- I've switched from using imap to fetchmail + Maildir + maildrop. Now I
- have a few questions: 
- - I have accidentally downloaded a bunch of messages 
-   twice with fetchmail. Is there any way to remove duplicate messages?

Sorry about the previous post.

Roel, the answer to that question is making a rule on your .procmailrc
to delete themThis is what I have.

:0 Whc: .msgid.lock
| formail -D 16384 .msgid.cache
:0 a:
/dev/null


---
Nelson D. Guerrero| E-Mail: [EMAIL PROTECTED]
Platinom.NET Dominicana   |  Phone: (809) 567-4600
Dialup / Web Hosting / E-Commerce |WWW: http://www.platinom.net/




removing duplicate messages + changing mailbox

2001-02-11 Thread Roel Vanhout

Hello all,

I've switched from using imap to fetchmail + Maildir + maildrop. Now I
have a few questions: 
- I have accidentally downloaded a bunch of messages 
  twice with fetchmail. Is there any way to remove duplicate messages?
- When I press 'C' to switch mailbox and press ? to get a list of
  mailboxes, I get only two dots and when I select this, I go back to my
  previously selected mailbox. If I chdir to ~/Maildir, all mailboxes
show up; is there any way to make mutt go to this directory whenever I
press '?' for a list of mailboxes?
- Not really mutt-related, but maybe someone knows the answer anyway: is
  there any way to tell maildrop to make maildir mailboxes if they don't
exist yet, or do I have to do 'makemaildir' every time I add a rule in my
.maildropfilter?

Thanks,

roel





Re: duplicate messages

2000-10-28 Thread Jason Helfman

Are you using Procmail and Fetchmail?

On Sat, Oct 28, 2000 at 07:34:43PM -0200, Rafael A . Schmitt muttered:
| why I receive duplicated messages ?
| i have to change something in my .muttrc?
| 
| 
| 
|  Rafael.
| 
| §=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=§
| | Rafael Alexandre Schmitt |
| | Registered Linux User # 152146   |
| | Blumenau  -  Santa Catarina - Brasil |
| §=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-§
| 
| 

-- 
/Jason G Helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."

Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149



Re: duplicate messages

2000-10-28 Thread Rafael A . Schmitt

* Jason Helfman ([EMAIL PROTECTED]) wrote:

i'm using procmail and fetchpop

 Are you using Procmail and Fetchmail?
 
 On Sat, Oct 28, 2000 at 07:34:43PM -0200, Rafael A . Schmitt muttered:
 | why I receive duplicated messages ?
 | i have to change something in my .muttrc?
 | 
 | 
 | 
 |  Rafael.
 | 
 | §=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=§
 | | Rafael Alexandre Schmitt |
 | | Registered Linux User # 152146   |
 | | Blumenau  -  Santa Catarina - Brasil |
 | §=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-§
 | 
 | 
 
 -- 
 /Jason G Helfman
 
 "At any given moment, you may find the ticket to the circus that has always
 been in your possession."
 
 Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
 GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149
 Rafael.

§=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=§
| Rafael Alexandre Schmitt |
| Registered Linux User # 152146   |
| Blumenau  -  Santa Catarina - Brasil |
§=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-§





Re: Nuking duplicate messages (from Telsa's .procmailrc)

2000-10-16 Thread Lars Hecking


 # Nuke duplicate messages
 :0 Wh: msgid.lock
 | $FORMAIL -D 8192 msgid.cache
 
 This recipe should not be used. It can cause mail loss. Read the
 _complete_ example in the procmailex man page.

 Now, this works nicely most of the time but I find that about 50% of
 postings from mutt-users are coming directly from the authors rather than
 from the list.  I suspect that this is to do with how long the list takes
 to turn around a message and so I'm receiving the post from the author
 before I get it from the list.  Anyone come across this problem before (I
 know it's more procmail related than mutt related but us mutterers should
 be familiar with procmail too! :-).

 I have no good solution for this. I'm saving duplicates to a folder,
 and I check the headers to decide which copy to delete.

 Anyway, shouldn't all of us be using the "L" key to reply to the list
 rather than reply to all, thereby eliminating this problem in the first 
 place??!!
 
 Some people apparently use "g". Even if you specifically say "Please don't
 carbon copy on replies."




Re: Nuking duplicate messages (from Telsa's .procmailrc)

2000-10-16 Thread Nollaig MacKenzie


On 2000.10.16 11:03:17, you,
 the extraordinary Lars Hecking, opined:

 (quoting someone) 
  # Nuke duplicate messages
  :0 Wh: msgid.lock
  | $FORMAIL -D 8192 msgid.cache
  
  This recipe should not be used. It can cause mail loss. Read the
  _complete_ example in the procmailex man page.
 

Is this also a problem with nodupmail?
(http://nodupmail.sourceforge.net/)

Cheers, N.
-- 
Nollaig MacKenzie [EMAIL PROTECTED]
http://www.amhuinnsuidhe.cx
Oppose renaming Mt Logan!! http://www.savemtlogan.com



Re: Nuking duplicate messages (from Telsa's .procmailrc)

2000-10-15 Thread Mikko Hänninen

Conor Daly [EMAIL PROTECTED] wrote on Sun, 15 Oct 2000:
 Now, this works nicely most of the time but I find that about 50% of
 postings from mutt-users are coming directly from the authors rather than
 from the list.  I suspect that this is to do with how long the list takes
 to turn around a message and so I'm receiving the post from the author
 before I get it from the list.

Actually, you're much more likely to get the copy sent to you directly
first, before the list copy.  This is because the list server, even if
it's quick, can't hope to send the few hundred (or thousand) copies of
emails to everyone faster than a single email gets to you.

 Anyone come across this problem before (I
 know it's more procmail related than mutt related but us mutterers should
 be familiar with procmail too! :-).

Yes, I've run into this problem too.  I don't currently do duplicate
filtering, but when I did I remember it being sort of a pain.

 Anyway, shouldn't all of us be using the "L" key to reply to the list
 rather than reply to all, thereby eliminating this problem in the first 
 place??!!

Well, in fact everyone should be using Mutt, with $followup_to set,
$honor_followup_to set to "yes", and then it doesn't matter whether
the person doing a reply uses L or g...  As long as they're using
Mutt. :-)


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
ZAP!  Process discontinued.  Enter any 12-digit prime number to resume.



Re: How to deal with duplicate messages

1999-11-14 Thread Rejo Zenger

Hi, i wrote:

++ 13/11/99 21:01 +0100 - Rejo Zenger:
  :0 Wh: msgid.lock
-^
  | formail -D 8192 msgid.cache

There shouldn't be a space there. You'd better change this to
  :0 Wh :msgid.lock
  :0 Wh:msgid.lock
[...]

This is incorrect. Procmail will ignore all the space and it's correct
syntax as well. I was mistaken here. Sorry.

-Rejo.

-- 
= Rejo Zenger  [Sister Ray Crisiscentrum]   [EMAIL PROTECTED]
= http://mediaport.org/~sister  PGP: see headers




How to deal with duplicate messages

1999-11-13 Thread Roberto Suarez Soto


Hi!

I find myself lately receiving some duplicated messages, and I was
wondering if mutt could handle them (i.e., save the dupes to another folder or
simply delete them) by itself or I need some external script/program :-m I
think I could do some Perl script for this, but first I'd like to know if
there's already something like that :-) I think this' something that has been
discussed before in the list, so a accurate redirection to the list archives
would be useful too :-)

Thanks in advance :-)

-- 
Roberto Suarez Soto |  Wrap the Net
mailto:[EMAIL PROTECTED]   | Around every brain in the Planet,
Corgo - Lugo - Galicia - Spain  |And Software will flow in the wires.



[OFFTOPIC] not seeing duplicate messages

1999-02-03 Thread David Thorburn-Gundlach

Hi, folks --

After the first few messages about duplication started going back and
forth, I wondered why I was having such an easy time of things.  Then I
realized that my message count from procmail *was* going up (I created
a little alias to grep Folder in my log file and count up the total
with awk) even though I wasn't seeing the dupes -- and I remembered my
formail duplicate suppression recipe, blatantly stolen from somewhere.  
For those interested, here it is:

:0 Wh: msgid.lock
| $FORMAIL -D 8192 $HOME/.procmail/msgid.cache

I put it right in my first recipe subfile, right before I make a
backup of the incoming message (I figure that I don't need to back it
up if I really have seen it already).  Heck, for that matter, here is
the alias, too:

egrep Folder $HOME/.procmail/.mail.log | \
awk 'BEGIN {s=0} {s+=1;print "\$1","\$2"} END {print s}' | \
sort -u


Hope this is of some interest to folks...  Again and again, no doubt ;-)

:-D
-- 
David Thorburn-Gundlach * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED] Helping out at Pfizer
http://www.poboxes.com/davidtg/
Note: If poboxes.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature