Hello The Bat! developers and TBUDL members!


I'm using The Bat! Version 1.41 Serial Number 590E2F15 under Windows 95
4.0 Build 1111  B and would like to report a bug.


The bug description:

The redirect function isn't working with SMTP servers that doesn't allow
relaying from one foreign domain to another. Here's my mail server log
(an original message was from [EMAIL PROTECTED] to [EMAIL PROTECTED]
(me), I want to redirect it to [EMAIL PROTECTED] and my SMTP server
relays mail only for certain domains):

---[Cut]---
2000-03-16 01:11:59 [125-00] Connect from p76.n88.dip.aha.ru [195.2.88.76]
2000-03-16 01:11:59 [062-00] 220 maroon.mydomain.ru ESMTP daemon listening
2000-03-16 01:11:59 [062-00] EHLO p76.n88.dip.aha.ru
2000-03-16 01:11:59 [062-00] 250-maroon.mydomain.ru OK Hello
p76.n88.dip.aha.ru [195.2.88.76], what a beautiful voice
2000-03-16 01:11:59 [062-00] 250-VRFY
2000-03-16 01:11:59 [062-00] 250-EXPN
2000-03-16 01:11:59 [062-00] 250-ETRN
2000-03-16 01:11:59 [062-00] 250-SIZE
2000-03-16 01:11:59 [062-00] 250 SHST
2000-03-16 01:11:59 [062-00] MAIL FROM:<[EMAIL PROTECTED]>
2000-03-16 01:11:59 [062-00] 250 <[EMAIL PROTECTED]> OK Foreign domain
verified, address accepted
2000-03-16 01:12:00 [062-00] RCPT TO:<[EMAIL PROTECTED]>
2000-03-16 01:12:00 [062-05] 550 <[EMAIL PROTECTED]> BAD We do not
relay, address rejected
2000-03-16 01:12:00 [062-29] p76.n88.dip.aha.ru [195.2.88.76] trying to
relay
2000-03-16 01:12:00 [062-00] RSET
2000-03-16 01:12:00 [062-00] 250 OK Reset complete
2000-03-16 01:12:00 [062-00] QUIT
2000-03-16 01:12:00 [062-00] 221 OK Good bye
---[Cut]---


Steps to reproduce the bug:

Try to redirect some message through a SMTP server with anti-relaying
mechanism activated.


Solution:

The following dialog sequence should fix this problem (an idea is to
form a non-relaying message envelope - from server's point of view):

< 220 mta.domain.tld listening
> EHLO hostname.domain.tld
< 250 mta.domain.tld OK Hello
> MAIL FROM:<[EMAIL PROTECTED]>
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  TB! must use an account's "From:" setting here
< 250 OK Address accepted
> RCPT TO:<[EMAIL PROTECTED]>
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  New recipient address goes here
< 250 OK Address accepted
> DATA
< 354 OK Enter mail, end with <CRLF>.<CRLF> on a line by itself
  Now it's time for the message header
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
  ... and so on...


X-TheBat-Version: 1.41
X-OS: Windows 95 4.0.1111 B PE
X-System-Info: iP-III-500/128


-- 

Best regards,                       mailto:[EMAIL PROTECTED]
Andrey G. Sergeev (AKA Andris)      http://www.andris.msk.ru/

-- 
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------

You are subscribed as : [email protected]

Reply via email to