Subject: Re: Problem with a 8 bit SMTP negotiation

From: Murphy <[email-masked]>
Date: Tue, 2 Apr 2002 13:54:01 +0200 (MEST)

On Sat, 30 Mar 2002, Mats Dufberg wrote:
>I came to the same conclusion, but since Murphy did not get any 8 bit
>connection through I thought that it be that did not use the same SMTP
>server on the inside of his firewall.
>
>The SMTP server on mail.sonytel.be [193.74.243.200] signals 8BITMIME. What
>about 10.17.0.26 and 10.17.0.27? 10.17.0.27 seems to be the inside of
>193.74.243.200, but maybe it isn't so?
>
>Murphy! Can you connect to 193.74.243.200?

Even if I set this IP address explicitly as a "smtp-server", the Pine
always connect to my localhost first thaen send the emails. The
informations which I got from my sys admins were that we have different
servers for sending and receiving a emails.

I did a test using "Mutt" to send this same type of email and I got
this:

Return-Path: <[email-masked]>
Received: from caladium.sonytel.be (mail.sonytel.be [10.17.0.26])
        by mail.sonytel.be (8.9.0/8.8.6) with ESMTP id NAA08357
        for <[email-masked]>; Tue, 2 Apr 2002 13:50:00 +0200 (MET
DST)
Received: (from piotr@localhost)
        by caladium.sonytel.be (8.10.2+Sun/8.9.3) id g32Bnxu10925
        for [email-masked]; Tue, 2 Apr 2002 13:49:59 +0200
(MEST)
Date: Tue, 2 Apr 2002 13:49:59 +0200
From: Piotr Martyniuk <[email-masked]>
To: Piotr Martyniuk <[email-masked]>
Subject: test
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.2.5i

Maybe the Pine is set incorectly or maybe I have not the latest version
which has some problem with this (my version is 4.40)?

Regards,
Murphy

-- 
  __   __
  ||   ||
 -++- -++- --------------------------------------------------------
  ||\ /||  e-mail: [email-masked]           GG 107745
  ||   ||  Everything is possible - this is only a question of time
  \/564\/  --------------------------------------------------------

---

From: Mats Dufberg <[email-masked]>
Date: Tue, 2 Apr 2002 14:08:42 +0200 (CEST)

> servers for sending and receiving a emails.

Do you have

smtp-server = 193.74.243.200

and it sends to localhost? Are you at the same machine? If not, it seems
strange that it does not send to -- or try to send to -- 193.74.243.200.

Mats

-----------------------------------------------------------------
Mats Dufberg                                 [email-masked]
Blåarvsgränd 42                                    +46-8-38 48 59
SE-162 45 Vällingby, Sweden                       +46-70-258 2588

---

From: Murphy <[email-masked]>
Date: Tue, 2 Apr 2002 14:15:59 +0200 (MEST)

>smtp-server = 193.74.243.200

Exactly like this.

>strange that it does not send to -- or try to send to -- 193.74.243.200.

Yes it is strange. My debug file contain:

======= Current_val options set =======
          user-domain : sonycom.com
          smtp-server : 193.74.243.200
[...]
=== sending: Sending mail...
call_mailer: via "/usr/lib/sendmail -bs -odb -oem"
Opening pipe: "/usr/lib/sendmail -bs -odb -oem" (WRNP)
PID: 11560, COMMAND: /usr/lib/sendmail -bs -odb -oem
IMAP DEBUG 14:10:38 4/2: 220 caladium.sonytel.be ESMTP Sendmail
8.10.2+Sun/8.9.3; Tue, 2 Apr 2002 14:10:38 +0200
(MEST)piotr/.pinecfg/addressbook) -
IMAP DEBUG 14:10:38 4/2: EHLO localhost
IMAP DEBUG 14:10:38 4/2: 250-caladium.sonytel.be Hello piotr@localhost,
pleased to meet you
IMAP DEBUG 14:10:38 4/2: 250-ENHANCEDSTATUSCODES
IMAP DEBUG 14:10:38 4/2: 250-EXPN
IMAP DEBUG 14:10:38 4/2: 250-VERB
IMAP DEBUG 14:10:38 4/2: 250-8BITMIME
IMAP DEBUG 14:10:38 4/2: 250-SIZE
IMAP DEBUG 14:10:38 4/2: 250-DSN
IMAP DEBUG 14:10:38 4/2: 250-ONEX
IMAP DEBUG 14:10:38 4/2: 250-ETRN
IMAP DEBUG 14:10:38 4/2: 250-XUSR
IMAP DEBUG 14:10:38 4/2: 250 HELP
Opened SMTP server "caladium.sonytel.be"
IMAP DEBUG 14:10:38 4/2: RSET
IMAP DEBUG 14:10:38 4/2: 250 2.0.0 Reset state
IMAP DEBUG 14:10:38 4/2: MAIL FROM:<[email-masked]>
IMAP DEBUG 14:10:38 4/2: 250 2.1.0 <[email-masked]>... Sender ok
IMAP DEBUG 14:10:38 4/2: RCPT TO:<[email-masked]>
IMAP DEBUG 14:10:38 4/2: 250 2.1.5 <[email-masked]>... Recipient ok
IMAP DEBUG 14:10:38 4/2: DATA
IMAP DEBUG 14:10:38 4/2: 354 Enter mail, end with "." on a line by
itself

Even the address of SMTP server is set to the 193.74.243.200 the Pine
connect to the localhost first and it uses the localhost settings to
send this email. The local host is:

Name:    caladium.sonytel.be
Address:  10.34.112.24

Which is different than 193.74.243.200. Why is like this I'm really
don't know, but it looks like the pine make something wrong, because
Mutt can handle this.

Regards,
Murphy

---

From: Mats Dufberg <[email-masked]>
Date: Tue, 2 Apr 2002 19:06:32 +0200 (CEST)

> IMAP DEBUG 14:10:38 4/2: 220 caladium.sonytel.be ESMTP Sendmail

I could be that the selection is in the "fixed" file, which you cannot
override.

> IMAP DEBUG 14:10:38 4/2: 250-8BITMIME

Even then, the server supports 8BITMIME.

> IMAP DEBUG 14:10:38 4/2: MAIL FROM:<[email-masked]>

Here, pine should say BODY=8BITMIME. Is that only if it connects to a SMTP
server over the wire?

Mats