Thank you Bernd, Let me try these options. I will get back to you. Thanks Mahesh
On Wed, Jan 28, 2015 at 6:39 PM, Bernd Waibel <bwai...@intarsys.de> wrote: > Hello Mahesh, > > I don't know "Load Runner". But I do know something about "mail errors". > So here is my opinion. > > There are some common mail errors, like the ones you mentioned: > - mail address without <> > - boundary errors (missing boundry, etc) > - filename errors (like missing "" around filenames) > > Most of the time we get this errors in spam mails or in virus mails. > So if you have got a spam and virus blocking firewall before James, the > wrong formatted mails may just get deleted. > And may be the "Load Runner" mails get lost to, if your firewall thinks it > is a spam mail. > We normally do not have "real mails" with this errors, only spam and virus. > > These common mail errors may lead to an error in james, but strictliy > speaking it is an error in the "SUN Java Mail API" Implementation > (mail.jar). There are a few "options" you could set when you start james. > If you set this options, this wrong formatted mail may be handled not "so > strict" as defined by the mail standard. > > > E.g. you could set the options in the /etc/init.d/phonix.sh startup-script > on linux, like (in one line): > export PHOENIX_JVM_OPTS="-Dmail.mime.applefilenames=true > -Dmail.mime.parameters.strict=false > -Dmail.mime.ignoreunknownencoding=true > -Dmail.mime.encodeeol.strict=true > -Dmail.mime.multipart.ignoremissingendboundary=true > -Dmail.mime.multipart.ignoremissingboundaryparameter=true" > > > This may help in handling the mails. > > And yes, firewalls may correct the syntax. > > And I think your are right with: > “the email sent from the Load > Runner may not be conforming to the SMTP standards. Our gateway is > tolerant > to these non-standard clients and might be formatting the SMTP message > as > per the standard” > > > > Regards, > > Bernd Waibel > > -----Ursprüngliche Nachricht----- > Von: Mahesh Sivarama Pillai [mailto:srm...@gmail.com] > Gesendet: Mittwoch, 28. Januar 2015 13:16 > An: James Users List > Betreff: Need Help: LoadRunner with James 2.3.2 > > Hi, > > I have encountered an issue during our Load Testing with James 2.3.2. The > load test tool being used is Load Runner. We have a corporate mail gateway > to relay messages to internal mail servers. But we are not supposed to use > it for Load Testing. So we have to send the email directly to the James > server from Load Runner. > > > Our Observation > > > - When we send email through gateway from Load Runner, the email is > received at our Internal Email server (James 2.3.2) without any issues > - When we send the email directly to our internal James server, there > are SMTP errors thrown like Syntax Error in MAIL command etc. > - When I put the from address between "<" and ">" in LoadRunner > script, "Syntax Error in MAIL command" got resolved. > - Then I started getting some Message boundary exceptions. > - When I use a Java Mail client and directly send the email to our > internal server, there are no issues. > - What I am thinking is (I may be wrong) “the email sent from the Load > Runner may not be conforming to the SMTP standards. Our gateway is > tolerant > to these non-standard clients and might be formatting the SMTP message > as > per the standard” > > > Is this understanding correct ? Please provide your inputs on this > behavior. Have you ever come across this kind of scenarios and how it was > resolved ? Any input would be highly appreciated. > > Thanks > Mahesh > > --------------------------------------------------------------------- > To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org > For additional commands, e-mail: server-user-h...@james.apache.org >