Hi Petr,
Thank you very much for your quick answer.
Ok. I'll try to explain my problem more detailed.
Some people want to send mails to multiple people, but they use "To:"
instead of "Cc:" for sending the mail to more than one person.
Let's expect that "anyone@anydomain" writes an email to more than one
person, using just "To:", and one of this recipients is a user in our
domain (aka "mailuser@ourdomain") and a user "otheruser@otherdomain".
[our Qmail SMTP HUB]
1. Fetchmail fetch the mail from POP3 mailbox at our ISP
2. The HUB transfers the mail to our internal Qmail server.
[internal Qmail server]
3. our internal Qmail server delivers the mail into the local mailbox of
"mailuser", but there are still messages that the qmail server can't treat
local
4. the internal qmail server transfers the outgoing messages back to HUB
[HUB]
5. outgoing messages will be transferd via maildirserial to our ISP's
SMTP server
But I don't want to deliver the other messages, just the message for
"mailuser@ourdomain", because
the SMTP server for "otherdomain" has still received the message for
"otheruser"
Petr Novotny wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 20 Mar 00, at 14:54, Christian Wiese wrote:
>
> > I've a problem with incoming mails, which contain multiple "to:". i.e.
> > To: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> >
> > Qmail delivers the mail to our internal "mailuser" but also to the
> > "otheruser".
>
> Yes, it does what it's told to do.
Sure, qmail does just what it's told to do.
>
>
> > So "otheruser" receives multiple copies of the same mail.
>
> Why? Perhaps you forgot to tell us that "mailuser" forwards his
> mail to "otheruser", too. Perhaps I don't understand what you mean.
>
"mailuser@ourdomain" has no forwarding to "otheruser@foreigndomain"
>
> > Ho can I disable this behavior ?
>
> There's no way. Send two copies to mailbox, two copies are written
> into the mailbox. As far as I can see, that's the correct behaviour.
>
> > Does anybody know how I can solve this problem ?
>
> Certainly. That "otheruser" can employ a tool to detect received
> duplicates, and remove them. Or you should not send two copies,
> if you don't want two copies to get delivered.
Ok ... I know it's a little bit confusing, but I hope you know what I try
to say.
Greetings
Christian