On 17 Sep 2002 at 10:19, Juan Hector Medina wrote:
> yes youu have rigth
> I telnet directly to the server i got my email:
> ..
> top 1 20
> +OK message is 2020 bytes
> Return-Path: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Received: from dell (200.57.4.170)
> by xcien.com with [XMail 1.9 (Linux/Ix86) ESMTP Server]
> id <S3187FE> for <[EMAIL PROTECTED]> from <[EMAIL PROTECTED]>;
> Tue, 17 Sep 2002 10:01:55 -0500
nice to hear that !
> can you help me to find where putt the blank line:
Yepp !
In mailscan.pl find line #198, it reads as follows:
--- code snip START ---
print TEMPFILE <<EOF;
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: message text
Diese Nachricht enthielt einen Anhang, der mit dem Virus
"$virlist{1}" infiziert ist.
--- code snip END ---
You see, what happens there is the composition of a so called 'here
document'. From the '<<EOF' token on, every character (including
CR/LF, or \n in perl) is printed to STDOUT as-is until 'EOF' in line
211. Even blank lines.
So watch for those lines after 'Content-Disposition:...', if there
are more than one, your message body will start with a blank line (or
more). As Davide told us, according to RFCs that shouldn't matter,
but who knows ...
good luck ! (BTW try a different mailclient ... may save you from a
lot of harm ... ;-) )
Goesta
--
Composed with Pegasus Mail v4.01 - the /dev/null for worms
take a look: http://www.pmail.com
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]