On Tue, Jul 17, 2001 at 04:23:42PM +0100, Alexander Bahlo wrote:
> On Mon, 16 Jul 2001 23:41:41 -0400, Bill Shupp wrote:
> 
> >If you want only unmatching emails to go there, put this:
> >
> >/home/vpopmail/bin/vdelivermail '' user@remotedomain
> 
> Did you ever try to put in this .qmail-default a second line when,
> for example, all umatched mail to a domain should be delivered to
> two adresses? Well, what happens is, that every matched address
> will get suddenly two identical emails. Is this a bug?

Yes, but it's a bug in your .qmail-default file, of your own making.

.qmail-default is a set of instructions telling qmail how to deliver
messages. qmail does what you tell it to: if you tell it to run the
vdelivermail program twice, it runs it twice.

vdelivermail also does what it's told to do: if you tell it to deliver a
message and it can, it will - even if another copy of the message has
already been delivered.

So, don't put vdelivermail into .qmail-default twice. Instead, set up
an address which forwards to two addresses. Then put that address at the
end of a single vdelivermail command in .qmail-default.


hope this helps,
-- 
Daniel Biddle <[EMAIL PROTECTED]>

Reply via email to