From: Wietse Venema on
Sharma, Ashish:
> Wietse,
>
> Following is the requested result:
>
> $telnet 10.194.99.63 10030
> Trying 10.194.99.63...
> Connected to ip-10-194-99-63.ec2.internal (10.194.99.63).
> Escape character is '^]'.
> 220 Hello
> Mail From:ashiish.sharma(a)gmail.com
> 503 5.5.1 Error: need EHLO command
> EHLO
> 250 Custom Java SMTP Server
> MAIL FROM:ashiish.sharma(a)gmail.com
> 250 Ok
> RCPT TO:cp_user(a)dev1.cpgtest.ostinet.net
> 250 OK
> DATA:
> 354 send data now
> Ashish sharma is testing this
> .
> 250 message received
> Connection closed by foreign host.

Now you should connect to the same program with 10 connections at
the same time, using the Postfix smtp-source tool.

../smtp-source -c -l 10000 -m 1000 -s 10 -f ashiish.sharma(a)gmail.com -t cp_user(a)dev1.cpgtest.ostinet.net 10.194.99.63:100

The Postfix smtp-source tool is distributed with Postfix source
code, and is sometimes installed by Linux distributions.

Wietse

From: Mark Martinec on
Ashish,

> Attached is the full level 5 log for your reference.

Thank you!

Apr 9 07:17:31 ip-10-194-99-63 amavis[18885]: (18885-05)
(about to connect to [127.0.0.1]:10030) FWD via SMTP:
<ashiish.sharma(a)gmail.com> -> <ida6786ombor26(a)dev1.cpgtest.ostinet.net>
Apr 9 07:17:31 ip-10-194-99-63 amavis[18885]: (18885-05)
smtp session: setting up a new session
Apr 9 07:17:31 ip-10-194-99-63 amavis[18885]: (18885-05)
establish_or_refresh, state: down
Apr 9 07:17:31 ip-10-194-99-63 amavis[18885]: (18885-05)
smtp creating socket by IO::Socket::INET to [127.0.0.1]:10030
Apr 9 07:17:31 ip-10-194-99-63 amavis[18885]: (18885-05)
rw_loop: needline=1, flush=0, wr=0, timeout=35
Apr 9 07:17:31 ip-10-194-99-63 amavis[18885]: (18885-05)
rw_loop: receiving
Apr 9 07:17:31 ip-10-194-99-63 amavis[18885]: (18885-05)
rw_loop read 10 chars< 220 Hello\n
Apr 9 07:17:31 ip-10-194-99-63 amavis[18885]: (18885-05)
rw_loop: needline=1, flush=0, wr=0, timeout=35
Apr 9 07:17:56 ip-10-194-99-63 postfix/smtpd[19431]:
disconnect from mail-pw0-f48.google.com[209.85.160.48]
Apr 9 07:18:06 ip-10-194-99-63 amavis[18885]: (18885-05)
(!)rw_loop: leaving rw loop, no progress, last event (select) 34.994 s ago


Your java filter sent a greeting: "220 Hello\n"
instead of: "220 Hello\r\n". Amavisd waited 30 seconds but
end of line (CR LF) never arrived, so the session was aborted.

RFC 5321 (and RFC 2821 and RFC 821) requires that SMTP commands
and replies are terminated by a CRLF, not by a single LF character.

Mark

From: "Sharma, Ashish" on
Wietse,

Executed the command you sent, getting the following error message:

fatal: lost connection while sending message

thanks in advance
Ashish Sharma


-----Original Message-----
From: owner-postfix-users(a)postfix.org [mailto:owner-postfix-users(a)postfix.org] On Behalf Of Wietse Venema
Sent: Friday, April 09, 2010 4:23 PM
To: Postfix users
Subject: Re: amavis Delivery status notification(DSN) failing

Sharma, Ashish:
> Wietse,
>
> Following is the requested result:
>
> $telnet 10.194.99.63 10030
> Trying 10.194.99.63...
> Connected to ip-10-194-99-63.ec2.internal (10.194.99.63).
> Escape character is '^]'.
> 220 Hello
> Mail From:ashiish.sharma(a)gmail.com
> 503 5.5.1 Error: need EHLO command
> EHLO
> 250 Custom Java SMTP Server
> MAIL FROM:ashiish.sharma(a)gmail.com
> 250 Ok
> RCPT TO:cp_user(a)dev1.cpgtest.ostinet.net
> 250 OK
> DATA:
> 354 send data now
> Ashish sharma is testing this
> .
> 250 message received
> Connection closed by foreign host.

Now you should connect to the same program with 10 connections at
the same time, using the Postfix smtp-source tool.

../smtp-source -c -l 10000 -m 1000 -s 10 -f ashiish.sharma(a)gmail.com -t cp_user(a)dev1.cpgtest.ostinet.net 10.194.99.63:100

The Postfix smtp-source tool is distributed with Postfix source
code, and is sometimes installed by Linux distributions.

Wietse

From: Wietse Venema on
Sharma, Ashish:
> Wietse,
>
> Executed the command you sent, getting the following error message:
>
> fatal: lost connection while sending message

Then, your custom SMTP code needs to be replaced. To speed up
development, may I suggest that you consider using already-deployed
SMTP code instead of re-inventing your own.

Wietse

> thanks in advance
> Ashish Sharma
>
>
> -----Original Message-----
> From: owner-postfix-users(a)postfix.org [mailto:owner-postfix-users(a)postfix.org] On Behalf Of Wietse Venema
> Sent: Friday, April 09, 2010 4:23 PM
> To: Postfix users
> Subject: Re: amavis Delivery status notification(DSN) failing
>
> Sharma, Ashish:
> > Wietse,
> >
> > Following is the requested result:
> >
> > $telnet 10.194.99.63 10030
> > Trying 10.194.99.63...
> > Connected to ip-10-194-99-63.ec2.internal (10.194.99.63).
> > Escape character is '^]'.
> > 220 Hello
> > Mail From:ashiish.sharma(a)gmail.com
> > 503 5.5.1 Error: need EHLO command
> > EHLO
> > 250 Custom Java SMTP Server
> > MAIL FROM:ashiish.sharma(a)gmail.com
> > 250 Ok
> > RCPT TO:cp_user(a)dev1.cpgtest.ostinet.net
> > 250 OK
> > DATA:
> > 354 send data now
> > Ashish sharma is testing this
> > .
> > 250 message received
> > Connection closed by foreign host.
>
> Now you should connect to the same program with 10 connections at
> the same time, using the Postfix smtp-source tool.
>
> ./smtp-source -c -l 10000 -m 1000 -s 10 -f ashiish.sharma(a)gmail.com -t cp_user(a)dev1.cpgtest.ostinet.net 10.194.99.63:100
>
> The Postfix smtp-source tool is distributed with Postfix source
> code, and is sometimes installed by Linux distributions.
>
> Wietse
>
>

From: "Sharma, Ashish" on
Wietse,

Thanks for your suggestion.

Since I am new in this can you suggest some java based deployments that I can use. I too looked for what you have suggested but maybe I didn't looked hard enough.

Thanks in advance
Ashish Sharma

-----Original Message-----
From: owner-postfix-users(a)postfix.org [mailto:owner-postfix-users(a)postfix.org] On Behalf Of Wietse Venema
Sent: Friday, April 09, 2010 6:18 PM
To: Postfix users
Subject: Re: amavis Delivery status notification(DSN) failing

Sharma, Ashish:
> Wietse,
>
> Executed the command you sent, getting the following error message:
>
> fatal: lost connection while sending message

Then, your custom SMTP code needs to be replaced. To speed up
development, may I suggest that you consider using already-deployed
SMTP code instead of re-inventing your own.

Wietse

> thanks in advance
> Ashish Sharma
>
>
> -----Original Message-----
> From: owner-postfix-users(a)postfix.org [mailto:owner-postfix-users(a)postfix..org] On Behalf Of Wietse Venema
> Sent: Friday, April 09, 2010 4:23 PM
> To: Postfix users
> Subject: Re: amavis Delivery status notification(DSN) failing
>
> Sharma, Ashish:
> > Wietse,
> >
> > Following is the requested result:
> >
> > $telnet 10.194.99.63 10030
> > Trying 10.194.99.63...
> > Connected to ip-10-194-99-63.ec2.internal (10.194.99.63).
> > Escape character is '^]'.
> > 220 Hello
> > Mail From:ashiish.sharma(a)gmail.com
> > 503 5.5.1 Error: need EHLO command
> > EHLO
> > 250 Custom Java SMTP Server
> > MAIL FROM:ashiish.sharma(a)gmail.com
> > 250 Ok
> > RCPT TO:cp_user(a)dev1.cpgtest.ostinet.net
> > 250 OK
> > DATA:
> > 354 send data now
> > Ashish sharma is testing this
> > .
> > 250 message received
> > Connection closed by foreign host.
>
> Now you should connect to the same program with 10 connections at
> the same time, using the Postfix smtp-source tool.
>
> ./smtp-source -c -l 10000 -m 1000 -s 10 -f ashiish.sharma(a)gmail.com -t cp_user(a)dev1.cpgtest.ostinet.net 10.194.99.63:100
>
> The Postfix smtp-source tool is distributed with Postfix source
> code, and is sometimes installed by Linux distributions.
>
> Wietse
>
>

First  |  Prev  |  Next  |  Last
Pages: 1 2 3
Prev: Multiple access lists
Next: email to yahoo stuck in queue