in reply to Using Threads For Simple SMTP Relay Server
Not having your modified Client3 code, I substituted Net::SMTP::Server::Client2, and your code seems to work just fine. Here is a clip of the telnet session:
220 Debatable SMTP 0.2 Ready. HELO 250 OK Welcome HELO 250 OK Welcome DATA 503 start with 'mail from: ...' HELP 214-Commands 214-DATA EXPN HELO HELP MAIL 214 NOOP QUIT RCPT RSET VRFY NOOP 250 Whatever. RSET 250 buffahs ah cleah, suh! VRFY 252 Nice try. EXPN 252 Nice try. MAIL 501 could not find name@postoffice in <> RCPT 553 no user@host addresses found in <> QUIT 221 Ciao
And the associated console trace:
C:\test>647478 Launched Thread Number 1 Use of uninitialized value in numeric eq (==) at C:\test\647478.pl lin +e 58. Client Processing Started GOT IN HERE 1172 command: HELO 1172 command: HELO 1172 command: DATA 1172 command: HELP 1172 command: NOOP 1172 command: RSET 1172 command: VRFY 1172 command: EXPN 1172 command: MAIL 1172 command: RCPT 1172 command: QUIT Client Processing Finished
So, apart from not having any mail or users to retrieve, everything seems to work as designed. It suggests that your modifications to produce Client3 are probably at fault. My best suggestion is that you return to Client2 and then add back your modifications step by step to see what causes the breakage.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using Threads For Simple SMTP Relay Server
by lamberms (Sexton) on Oct 29, 2007 at 12:18 UTC | |
|
Re^2: Using Threads For Simple SMTP Relay Server
by lamberms (Sexton) on Oct 29, 2007 at 13:33 UTC | |
|
Re^2: Using Threads For Simple SMTP Relay Server
by lamberms (Sexton) on Oct 29, 2007 at 17:19 UTC | |
by BrowserUk (Patriarch) on Oct 29, 2007 at 18:55 UTC | |
by lamberms (Sexton) on Oct 29, 2007 at 20:34 UTC | |
by BrowserUk (Patriarch) on Oct 30, 2007 at 02:53 UTC | |
by lamberms (Sexton) on Oct 30, 2007 at 13:23 UTC | |
| |
by BrowserUk (Patriarch) on Oct 29, 2007 at 23:32 UTC |