[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[msmtp-users] truncate first line of message
Hi!
I've a problem with msmtp. If I try to send a message by sendmail with
shell "sendmail -f guido@...183... pippo@...183... </etc/hosts" the content of
the file "/etc/hosts" is okay and also the sender.
But if I've try msmtp with shell "msmtp -f guido@...183... pippo@...183...
</etc/hosts" the content of the file "/etc/hosts" isn't okay and there
isn't the sender.
The message get into mailbox pippo@...183... but the content of the file
"/etc/hosts" is begin at the 4th line of the content of the file and not
at the begining, and the sender of there is not the sender of email
(guido@...183...).
In the debug all the information are sent, all content of file is sent.
The example header of a email is:
From - Thu Jan 15 15:19:05 2009
X-Account-Key: account10
X-UIDL: 879CB94A3316425D981496754BA33FDD
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Received: from localhost ([XXX.XXX.XXX.XXX]) by XXX.XXX.XX with MailEnable ESMTP; Thu, 15 Jan 2009 15:17:09 +0100
#
# Internet host table
#
127.0.0.1 localhost
192.168.XX.XXX XXXXX1 loghost
192.168.XX.XXX XXXXX2
X-ME-Bayesian: 0.017399
Return-Path: <guido@...184...>
YY.YY.YY.YY YYYYYYY
YY.YY.YY.YY YYYYYYY
YY.YY.YY.YY YYYYYYY
YY.YY.YY.YY YYYYYYY
My /etc/hosts is divided into 2 parts, one before:
X-ME-Bayesian: 0.017399
Return-Path: <guido@...184...>
and the rest of the file after that.
I cannot see the logs of the server email because i've only a account to
send email but the server isn't mine, i've only it's responce string
"ESMTP MailEnable Service, Version: 0-3.53-".
With a sendmail solaris server i've not the problem, the header of the
email is correct, but I must use this server.
Any ideas to solve?
Thankyou very much to all!