qmail smtp script problems

I’m doing the following from a shell account (my input is prefaced by >):

>telnet mydomain.com 25
Trying 208.x.x.x…
Connected to www.mydomain.com (208.x.x.x).
Escape character is ‘^]’.
220 myhost.com ESMTP
>helo mydomain.com
250 myhost.com
>MAIL FROM: support@mydomain.com
250 ok
>RCPT TO: user@mydomain.com
250 ok
354 go ahead
>Subject: TEST 2
250 ok 1151934705 qp 12140
221 myhost.com

And, this is what’s coming into my inbox:

Return-Path: <support@mydomain.com>
Delivered-To: popaccount@mydomain.com
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on host.myhost.com
X-Spam-Level: *
X-Spam-Status: No, score=1.4 required=5.0 tests=AWL,MISSING_HEADERS,
MSGID_FROM_MTA_HEADER,NO_REAL_NAME autolearn=no version=3.1.0
Received: (qmail 12151 invoked by uid 108); 3 Jul 2006 13:51:45 -0000
Date: 3 Jul 2006 13:51:45 -0000
Message-ID: <20060703135145.12150.qmail@host.myhost.com>
From: mydomain.com@host.myhost.com
Cc: recipient list not shown: ;
Delivered-To: user@mydomain.com
Received: (qmail 12140 invoked by uid 108); 3 Jul 2006 13:51:37 -0000
Received: from mydomain.com (
by mydomain.com with SMTP; 3 Jul 2006 13:51:37 -0000
Subject: TEST 2

NOTE, the CC: recipient list is being included even though this was not specified in the mail sending routine (is this a qmail default??)… also, the from address is mydomain.com@host.myhost.com… again, is this another qmail setting somewhere… this VERY basic script works on every other host/sendmail I’ve used…

Any ideas?


Figured out some of the problems… missing a From: and To: in the DATA section… however, I’m not able to send to an outbound email account such as hotmail.com although no errors are reported…

Where can I look for errors on outbound email processing?


You’d want to look in /var/log/send/current
for errors regarding message delivery