On Thu, Jan 27, 2005 at 12:22:16PM +0200, David Jacobson wrote:
> The rule is in the MTA as stated above via routing through usernames.
> It would be located in the /var/qmail/control/virtualdomains file
> something along the lines
> 
> domain.com:username 

I think this is where the problem is.  I don't know, but I think
that what qmail ends up doing is delivering each individual
email to tmda.  You can verify this by setting LOGFILE_INCOMING
in ~username/.tmda/config and watching an email that's meant for
multiple recipients go through.  An email from A to B,C,D would
result in three seperate log entries.  Which means that TMDA saw
the email 3 seperate times.

And, looking at the TMDA FAQ entry that you sent, I see the following:

        Add the following to the /var/spool/tmda/.qmail file:

          |preline -f /usr/local/tmda/bin/tmda-filter
          |forward "$DEFAULT"@exchange.example.com

I think that this is confirmation that qmail is splitting the mail
into multiple recipients.  Because $DEFAULT can't be more than one
username.  For example, if $DEFAULT was "[EMAIL PROTECTED],
[EMAIL PROTECTED]", then qmail would try to forward to this
address:

"[EMAIL PROTECTED], [EMAIL PROTECTED]"@exchange.example.com

Which wouldn't work. 

Frankly, I don't know how to solve this problem.  But I'm pretty
sure that this is the origin of what's causing it.
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to