Smtp sender adresses is malformed

Hi

Domino R8.0.1 on SLES10 SP2 is receiving mail via smtp. From time to time customer complains that he can not reply to sender. The problem is that mail received by smtp has bad from address in header.

Suprise surprise Domino changes From address. Example1:

real from address is:

senderFirstname.LastName@sender.com

from address in inbox on Domino is:

senderFirstname.Lastname@receiver.com

Example 2:

real from address is:

“senderFirstname LastName” senderFirstname.LastName@sender.com

from address on Domino is "LastNameLastname@sender.com

Pay attention to symbol "

It is Domino that changes from address. Please see responces to this post why it is true.

ps.: older releases such as 6.0.3 have same errors. Upgrade to R8 did not fix issues. Customer sends more than ten emails per day to same recipient and problem arrives once or twice a week.

Regards

Ramunas

Subject: any ideas?

Replies to main topic is evidence that Domino changes “from” value in smtp message.

User can get twenty replies from the same sender but twenty first email will have malformed from address.

What could be the reason? Why many emails are received correctly?

And there’s more than one sender whos messages are incorectly handled by Domino smtp.

Subject: smtp service log via SMTPSaveImportErrors=2

To record message “exactly” as it is received IBM provided SMTPSaveImportErrors=2 setting.

After setting this parammeter customer st???.TMP files are logged to notesdata directory.

You can see malformed from address in one of such files. Symbol " is at the beggining of address and > is at the end of address.

Received: from keys.sender-gruppe.de ([217.17.28.200])

      by domino.acme.com (Lotus Domino Release 8.0.1)

      with ESMTP id 2009032310164373-45 ;

      Mon, 23 Mar 2009 10:16:43 +0200

X-MDAV-Processed: keys.sender-gruppe.de, Mon, 23 Mar 2009 09:16:42 +0100

Received: from lkglatsmsx1.lats-global.org ([10.2.2.74])

    by keys.sender-gruppe.de (keys.sender-gruppe.de)

    (MDaemon PRO v10.0.4)

    with ESMTP id md50000312794.msg

    for <ReceiverFirstname_LastName@lixxxx.com>; Mon, 23 Mar 2009 09:16:41 +0100

X-Spam-Processed: keys.sender-gruppe.de, Mon, 23 Mar 2009 09:16:41 +0100

    (not processed: message from trusted or authenticated source)

X-MDRemoteIP: 10.2.2.74

X-Return-Path: SenderFirstname.Lastname@sender.pl

X-Envelope-From: SenderFirstname.Lastname@sender.pl

X-MDaemon-Deliver-To: ReceiverFirstname_LastName@lixxxx.com

X-MimeOLE: Produced By Microsoft Exchange V6.5

Content-class: urn:content-classes:message

MIME-Version: 1.0

Content-Type: multipart/alternative;

    boundary="----_=_NextPart_001_01C9AB8F.C56ADDA9"

Disposition-Notification-To: “Lastname, SenderFirstname” SenderFirstname.Lastname@sender.pl

Subject: RE:

Date: Mon, 23 Mar 2009 09:17:13 +0100

Message-ID: 7FE5CF272228044E949F1B546DE8421F0D64C9@lkglatsmsx1.lats-global.org

In-Reply-To: OF068228DC.1D6CC06E-ONC2257582.002CDCFF-C2257582.002D1829@lixxxx.com

X-MS-Has-Attach:

X-MS-TNEF-Correlator:

Thread-Index: AcmrjzjiRv42ISp6SeWZqpL1A59+pwAAGTDg

References: 7FE5CF272228044E949F1B546DE8421F0D64BE@lkglatsmsx1.lats-global.org OF068228DC.1D6CC06E-ONC2257582.002CDCFF-C2257582.002D1829@lixxxx.com

From: "SzopinLastname@sender.pl>

To: ReceiverFirstname_LastName@lixxxx.com

------=neXtPaRt_1237798031

See next post for real smtp traffic.

Subject: tcpdump provides real smtp traffic

To ensure that Domino changes from address I enabled tcpdump for smtp trafic. You can see that mail from has correct value and different from Domino smtp logged value.

… …[250-domino.acme.com Hello keys.l

10:16:43.330164 IP keys.sender-gruppe.de.bnetgame > domino.acme.com.smtp: . ack 261 win 5840 <nop,nop,timestamp 161598043 402102943>

E…4…@.@.o…Y.…J…

    ..[....

10:16:43.373183 IP keys.sender-gruppe.de.bnetgame > domino.acme.com.smtp: P 30:82(52) ack 261 win 5840 <nop,nop,timestamp 161598048 402102943>

E…h…@.@.o…Y.…J…

    ..`....MAIL From:<SenderFirstname.Lastname@lo

10:16:43.413210 IP domino.acme.com.smtp > keys.sender-gruppe.de.bnetgame: . ack 82 win 1448 <nop,nop,timestamp 402102963 161598048>

E…4.H@.@.q.Y..J…b…

… …`

10:16:43.697190 IP domino.acme.com.smtp > keys.sender-gruppe.de.bnetgame: P 261:307(46) ack 82 win 1448 <nop,nop,timestamp 402103034 161598048>

E…b.I@.@.qwY..J…b…*…

… …`250 SenderFirstname.Lastname@sender.p

10:16:43.697364 IP keys.sender-gruppe.de.bnetgame > domino.acme.com.smtp: . ack 307 win 5840 <nop,nop,timestamp 161598080 402103034>

E…4…@.@.o…Y.…b.J.A…

Subject: Re: tcpdump provides real smtp traffic

I disagree. Looking at the “tcpdump” you provided, the “MAIL FROM” smtp command executed-by the Sending-Domain appears to be malformed:

    ..`....MAIL From:<SenderFirstname.Lastname@lo

10:16:43.413210 IP domino.acme.com.smtp > keys.sender-gruppe.de.bnetgame: . ack 82 win 1448 <nop,nop,timestamp 402102963 161598048>

E…4.H@.@.q.Y..J…b…

Your Lotus Domino Server isn’t manipulating these values - its only working with what the Sending-Domain provided.

Engage IBM Lotus Support if you wish to continue troubleshooting this on the Domino-side. Otherwise, I suggest you contact the Senders’ Domain Administrator.

Subject: Can you excplain?

You can see that tcpdump provides:

MAIL From:<SenderFirstname.Lastname …

As you see there’s no symbol " at the beggining. On domino logged value first symbol is ". Further packets are displayed as binary data in tcpdump log.

Also domino sends to sender system the confirmation that from address is accepted without symbol ":

10:16:43.697190 IP domino.acme.com.smtp > keys.sender-gruppe.de.bnetgame: P 261:307(46) ack 82 win 1448 <nop,nop,timestamp 402103034 161598048>

E…b.I@.@.qwY..J…b…*…

… …`250 SenderFirstname.Lastname@sender.p further packet is logged as data …

So why you think that it is not Domino who changes value?