[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: magic-smtpd rcpt to: problem



To clarify, I was at first unable to build with the _LMRELEASE=1 flag.  
But I COULD build by just using make.  Then I tried building on a 
different box--one that has the full redhat install.  It let me make the 
release build, which doesn't exhibit the RCPT TO: problem.

thanks




-----Original Message-----
From: Harkrider, Larry 
Sent: Tuesday, September 16, 2003 3:34 PM
To: 'magicmail-users@linuxmagic.com'
Subject: RE: magic-smtpd rcpt to: problem


Update:

I built using the _LMRELEASE=1 flag, and the problem seems to be gone.  
The box I build on is also a 'full' redhat install.  So perhaps I was 
missing some libraries?


thanks




-----Original Message-----
From: Harkrider, Larry 
Sent: Tuesday, September 16, 2003 3:15 PM
To: 'magicmail-users@linuxmagic.com'
Subject: magic-smtpd rcpt to: problem


Hello,

I built magic-smtpd on a redhat8 box, with the hopes of replacing 
qmail-smtpd.  But I get session timeouts when sending smtp email to the 
new daemon.  Specifically, I do not get a response to my RCPT TO: line.  
If I forcibly send a second RCPT TO: (instead of waiting for a 
response), then I get an OK.  If I run ./magic-smtpd interactively, then 
I see some debugging info as shown below.  If I answer 'y' to the 
prompts, then I can step through the transaction.  Please let me know if 
you've seen this before.  I would really like to use magic-smtpd to 
enforce RFC compliant addresses and whatnot.

thanks





[root@iotp10 magicmail-smtpd-0_7_2-rc3]# ./magic-smtpd 
220 iotp10 ESMTP
mail from:<g@cnn.com>
250 ok
rcpt to:<f@msnbc.com>
LM_WARN: "amount > string->length",  lmstring.c:501
Continue execution? (y/N):y
LM_WARN: "length != this->length",  lmstring.c:185
Continue execution? (y/N):y
LM_WARN: "length != this->length",  lmstring.c:185
Continue execution? (y/N):y
LM_WARN: "length != this->length",  lmstring.c:185
Continue execution? (y/N):y
250 ok
data
354 go ahead
test
451 stray newline detected. see http://cr.yp.to/docs/smtplf.html
221 iotp10 

LM MEMORY STATS, file magic-smtpd.c, line 227
Blocks allocated: 3
Total memory allocated: 42 bytes
LM_ALLOC overhead: 192 bytes


LM MEMORY DUMP, file magic-smtpd.c, line 228

Memory Info for variable newstr, file lmconfig_env.c, line 93
Allocated symbol name: newstr
Allocation info: file lmconfig_env.c, line 93
Address: 0x80646a8 (0x8064688 acutal)
Size: 19
Next/Prev pointers: 0x8065f00/0x0
Tail pointer: 0x80646bb

Memory Info for variable args, file smtp.c, line 315
Allocated symbol name: args
Allocation info: file smtp.c, line 315
Address: 0x8065f20 (0x8065f00 acutal)
Size: 9
Next/Prev pointers: 0x8065e30/0x8064688
Tail pointer: 0x8065f29

Memory Info for variable newstr, file magic-smtpd.c, line 1619
Allocated symbol name: newstr
Allocation info: file magic-smtpd.c, line 1619
Address: 0x8065e50 (0x8065e30 acutal)
Size: 14
Next/Prev pointers: 0x0/0x8065f00
Tail pointer: 0x8065e5e