Just a few messages ago, I asked almost the same question. Here's what
Charles Cazabon told me:
>qmail-inject (which is called by the sendmail wrapper) appends
>/var/qmail/control/defaultdomain to any hostname not containing a dot.
>It's in the manpage for qmail-inject.
>The quick solution is to send your mail to [EMAIL PROTECTED] instead of
>localhost.
So in your case: Don't send your mail to just user@system, but to
[EMAIL PROTECTED]
In addition (again thanks to Charles) you could try adding system.system to
your locals file.
----- Original Message -----
From: "Dave Sill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 16, 2000 7:42 PM
Subject: Re: Qmail repeating system name in address
> Jamin Collins <[EMAIL PROTECTED]> wrote:
>
> >As it stands currently I've been stuck at testing local delivery. Every
> >test message I tried would result in a bounce. In the bounced message I
> >could see that for some reason qmail was adding additional information to
> >the addresses. For example if I addressed a message to "user@system"
the
> >bounce message would show "[EMAIL PROTECTED]". I only have three
control
> >files at the moment: me, locals, and rcpthosts. All of these files have
the
> >same information in them. Originally this entry was "system". However
in
> >order to stop qmail from repeating I had to change this to "system.".
> >
> >Can someone explain why this was necessary? I feel that if I understand
> >this, it will help with future delivery problems.
>
> "me", "locals", and "rcpthosts" are supposed to be a fully qualified
> domain names. E.g., hostname.domain.tld. SMTP and qmail both require
> addresses to be fully qualified.
>
> -Dave
>