Hi Vladimir:
        It works expect a little bug.
        My command line is
        "makemime -a "Subject: test aaa" message | sendmail -autest
-ap111111 -S 10.35.40.114 -f [email protected] [email protected] "
        I send the mail success.
        I use outlook to get the message, and found that in "From"
column is blank.
It said "From: Sender Unspecified"
Here is the Details

Return-path: <[email protected]>
Authentication-Results: company.mail
        [email protected]; auth=pass
Received: from none by company.mail
        (MDaemon PRO v9.0.4)
        with ESMTP id md50000000046.msg
        for <[email protected]>; Tue, 23 Jun 2009 16:39:56 +0800
Subject: test aaa
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="665237655-25674730-871292748"
To: [email protected]
X-Authenticated-Sender: [email protected]
X-Spam-Processed: company.mail, Tue, 23 Jun 2009 16:39:56 +0800
        (not processed: message from trusted or authenticated source)
X-MDRcpt-To: [email protected]
X-Rcpt-To: [email protected]
X-MDRemoteIP: 10.35.40.101
X-Return-Path: [email protected]
X-MDaemon-Deliver-To: [email protected]

> -----Original Message-----
> From: Vladimir Dronnikov [mailto:[email protected]]
> Sent: Tuesday, June 23, 2009 4:22 PM
> To: Xuesong Yang
> Cc: Denys Vlasenko; [email protected]
> Subject: Re: how to use sendmail in 1.14.2
> 
> > What I use before is
> > Sendmail -w 3 -U test -P 111111 -s "test" myserver [email protected]
> mailmessage -t [email protected]
> >
> > Could you kindly help convert this into the latest format?
> >
> 
> I suppose "mailmessage" is the file you send as attachment, right?
> Attachment processing (along with any additional headers, like
> subject) is now moved to "makemime" applet.
> 
> So, try:
> 
> $ makemime -a "Subject: test" mailmessage | sendmail -w3 -autest
> -ap111111 -S myserver -f [email protected] -t [email protected]
> 
> If it doesn't work, try simply:
> 
> $ sendmail -w3 -autest -ap111111 -S myserver -f [email protected] -t
> [email protected]
> 
> type something, press Enter, then CTRL+D.
> Does the mail send?
> 
> If not, please, consider sending here strace output:
> 
> strace -f -v -s1024 -o log.txt sendmail -w3 -autest -ap111111 -S
> myserver -f [email protected] -t [email protected]
> 
> --
> Vladimir
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to