Re: Duplicate messages.
"Andy Abshagen" [EMAIL PROTECTED] wrote: Duplicate delivery: Nov 15 21:24:27 mail qmail: 974341467.158027 delivery 34992: success: did_0+0+2/ Single delivery: Nov 15 21:24:28 mail qmail: 974341468.155358 delivery 34993: success: did_0+0+1/ See the difference? The +2 vs. +1? That is the number of "program" deliveries. The user receiving duplicates has a .qmail file that's delivering the message twice. -Dave
RE: Duplicate messages.
OK. And what if there is not a .qmail- for each user??? Andy -Original Message- From: Dave Sill [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 16, 2000 8:59 AM To: [EMAIL PROTECTED] Subject: Re: Duplicate messages. "Andy Abshagen" [EMAIL PROTECTED] wrote: Duplicate delivery: Nov 15 21:24:27 mail qmail: 974341467.158027 delivery 34992: success: did_0+0+2/ Single delivery: Nov 15 21:24:28 mail qmail: 974341468.155358 delivery 34993: success: did_0+0+1/ See the difference? The +2 vs. +1? That is the number of "program" deliveries. The user receiving duplicates has a .qmail file that's delivering the message twice. -Dave
RE: Duplicate messages.
"Andy Abshagen" [EMAIL PROTECTED] wrote: OK. And what if there is not a .qmail- for each user??? There's *always* a .qmail file, even if it's just the one specified on the qmail-start command line. I don't know exactly how vpopmail sets things up, but there's some difference between the configuration of the two domains in question. -Dave
Re: Duplicate messages.
* Andy Abshagen [EMAIL PROTECTED] [001116 09:10]: OK. And what if there is not a .qmail- for each user??? You mentioned, IIRC, that you are using vpopmail. What is in the .qmail-default file for the domain in question? /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- panic("esp: detected penguin phase."); (Panic message in the kernel.)
RE: Duplicate messages.
The .qmail-default contains the following. | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/d-vision.com/andy | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/d-vision.com/randy We want it to go to both users. And we have several other domains that are setup the same way. I'm not sure why this one would be unique in that circumstance. Since I've created the .qmail- files for each user we have not received any duplicate messages. So I think that fixed the problem. But I really don't like that fix. Andy -Original Message- From: Peter Green [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 16, 2000 9:17 AM To: Qmail Mailing List Subject: Re: Duplicate messages. * Andy Abshagen [EMAIL PROTECTED] [001116 09:10]: OK. And what if there is not a .qmail- for each user??? You mentioned, IIRC, that you are using vpopmail. What is in the .qmail-default file for the domain in question? /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- panic("esp: detected penguin phase."); (Panic message in the kernel.)
Re: Duplicate messages.
* Andy Abshagen [EMAIL PROTECTED] [001116 09:45]: The .qmail-default contains the following. | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/d-vision.com/andy | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/d-vision.com/randy This is wrong. vdelivermail will deliver to *all* header recipients, every time it's invoked. You'd be better off making an alias, say [EMAIL PROTECTED], that points to both of the andy and randy mailboxes. Then, set up the .qmail-default file to read: | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] And watch the magic work... :) /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- panic("esp: penguin phase transition after selection."); (Panic message in the kernel.)
Re: duplicate messages RESOLVED
Hi all, Thanks for your responses. I still don't know how duplication actually occurs ;( but the problem went away :) . I RTFM a littly more thoroughly - qmail-inject (I'm sorry I didn't do that more earlier.) man qmail-inject, quoted, about the 6th line from the top: "DESCRIPTION qmail-inject reads a mail message from its standard input..." duh! (*blush*blush*cough*cough*) So instead of my old line in that perl script: $sendmail = '/usr/sbin/sendmail -t'; I rewrote that to point to qmail-inject: $sendmail = '/var/qmail/bin/qmail-inject'; and yes! No more dups. Now I could create about 1 trash accounts and do my ball-park figure stress test :). Hope this resolves someone elses PERL/duplicate agenda. Thanks again, jamie - inching my way up the qmail mountain :) ps the way qmail does things (and of course the various packages related to qmail which I came across) is indeed very interesting. #-#-#-#-#-#-#-# -- If somebody can help create a search engine for my room, I will call them a Saint... GUI == Graphical User Interf e r e n c e --- wa!
Re: duplicate messages
On Mon, Sep 11, 2000 at 01:53:20PM -0700, Christopher Taranto [EMAIL PROTECTED] wrote: Hi Jamie, My post of a couple of days ago has a similar problem - but no one has responded to my message. I don't think I have the answer to your problem, but one thing you should be aware of is that qmail does not try to remove duplicate addresses the way sendmail does.
RE: Duplicate messages.
"Patrick, Robert" [EMAIL PROTECTED] wrote: Yes: http://www.qmail.org/eliminate-dups . Does this tool work on both Mailbox and ./Maildir user mail storage mechanisms? It works with all forms of delivery. You just specify the name of a file that will contain a database of message hashes. If the current message matches one in the database, eliminate-dups returns exit code 99, which causes qmail-local to ignore further delivery instructions in the .qmail file. E.g.: | eliminate-dups inbox ./Maildir/ keeps a database in "inbox" for a maildir mailbox called "Maildir". If the message is a duplicate, the Maildir delivery won't happen. The entries following the "| eliminate-dups" line can be anything qmail-local supports: maildirs, mboxes, programs, or forwards. -Dave
RE: Duplicate messages.
Patrick, Robert writes: Yes: http://www.qmail.org/eliminate-dups . Does this tool work on both Mailbox and ./Maildir user mail storage mechanisms? Yes. It's a filter that runs before the ./Mailbox or ./Maildir/ line. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
Re: Duplicate messages.
I have sendmail working on my system but qmail wont work. Could you possibly tell me why. When I do a ./config , the name of the machine is not a fully qualified domain name but the sendmail works on that. Can anyone tell how and what to configure for this? Andy Bradford wrote: Is it possible to configure qmail to not send multiple copies of the same message if your name appears in two sets of aliases in /etc/aliases? Andy - +- Andy --- [EMAIL PROTECTED] -+ | Great minds discuss ideas;| | Average minds discuss events; | | Small minds discuss people. | +-- http://www.xmission.com/~bradipo -+
Re: Duplicate messages.
On Mon, 15 Nov 1999, Rohit Khamkar wrote: I have sendmail working on my system but qmail wont work. Could you possibly tell me why. When I do a ./config , the name of the machine is not a fully qualified domain name but the sendmail works on that. Can anyone tell how and what to configure for this? Thanks, but this has nothing to do with what I asked - not to mention the fact that you sent it twice... :) Cheers. Andy - +- Andy --- [EMAIL PROTECTED] -+ | Great minds discuss ideas;| | Average minds discuss events; | | Small minds discuss people. | +-- http://www.xmission.com/~bradipo -+
Re: Duplicate messages.
Andy Bradford writes: Is it possible to configure qmail to not send multiple copies of the same message if your name appears in two sets of aliases in /etc/aliases? Yes: http://www.qmail.org/eliminate-dups . -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
Re: Duplicate messages.
Thus said Russell Nelson on Mon, 15 Nov 1999 22:12:42 EST: Andy Bradford writes: Is it possible to configure qmail to not send multiple copies of the same message if your name appears in two sets of aliases in /etc/aliases? Yes: http://www.qmail.org/eliminate-dups . Excellent... thanks. I initially thought that it would be part of the fastforward package. Andy -- +== Andy == TiK: garbaglio ==+ |Linux is about freedom of choice| +== http://www.xmission.com/~bradipo/ ===+
Re: Duplicate Messages
eric writes: I have just migrated to qmail from sendmail 8.8.8 (Solaris) We have a web based email system that is using the following syntax: /usr/lib/sendmail -f 'sendingdomain.com [EMAIL PROTECTED]' -bm Try /usr/lib/sendmail -f '[EMAIL PROTECTED]' -bm The address handed to the -f should be an RFC821 address, since it's used to set the envelope sender, not an RFC822 address. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
Re: Duplicate Messages
Yes this seemed to do the trick. Thanks for the response. Eric ; I have just migrated to qmail from sendmail 8.8.8 (Solaris) ; ; We have a web based email system that is using the following ; syntax: ; ; /usr/lib/sendmail -f 'sendingdomain.com [EMAIL PROTECTED]' -bm ; ; Try /usr/lib/sendmail -f '[EMAIL PROTECTED]' -bm ; ; The address handed to the -f should be an RFC821 address, since it's ; used to set the envelope sender, not an RFC822 address.