Please remember it's not possible to send attachments to apache mailinglists. The Attachments get removed..
bye Norman Ahsan schrieb: > Dear Vicenzo, > sure I can, thnaks for your help :) > > - > ahsan > > On 11/2/06, Vincenzo Gianferrari Pini > <[EMAIL PROTECTED]> > wrote: >> >> Your attached files didn't go through (at least to me). Can you resend >> them? >> >> Vincenzo >> >> Ahsan wrote: >> > pls find attached my matcher and mailet files, thnaks for your help. >> > >> > i am trying out your suggestion now and will let you know the >> results :) >> > >> > thanks again >> > >> > - >> > ahsan >> > >> > >> > On 11/1/06, *Vincenzo Gianferrari Pini* >> > <[EMAIL PROTECTED] >> > <mailto:[EMAIL PROTECTED]>> wrote: >> > >> > If you don't need to pass any parameter to the matcher, simply >> writing >> > match="SAMatcher2" is ok. >> > >> > If it doesn't work the problem is inside your matcher code. >> Without >> > seeing it nobody can help you. >> > >> > Moreover, you don't need to write a specific mailet (SAMailet2) to >> > just >> > bounce back a message to the sender. Use instead the supplied >> Bounce >> > mailet and write: >> > >> > <mailet match="SAMatcher2" class="Bounce"> >> > <sender>[EMAIL PROTECTED] >> > <mailto:[EMAIL PROTECTED]></sender> >> > <message> Sorry, the email address you sent the mail >> > to, is >> > not valid. Please have a look again. Thanks. </message> >> > <passThrough> false</passThrough> >> > </mailet> >> > >> > Hope it helps. >> > >> > Vincenzo >> > >> > >> > Ahsan wrote: >> > > these config.xml lines also do not work >> > > >> > > <mailet match="SAMatcher2" class="SAMailet2"> >> > > <from>[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]></from> >> > > <subject>mail delivery error !</subject> >> > > <content>Sorry, the email address u sent the mail to, is not >> valid. >> > > Please >> > > have a look again. Thanks.</content> >> > > </mailet> >> > > >> > > >> > > On 11/1/06, Ahsan < [EMAIL PROTECTED] >> > <mailto:[EMAIL PROTECTED]>> wrote: >> > >> >> > >> about the mailet and matcher, what i have done is-->> >> > >> >> > >> 1) if the host is not available ( >> > [EMAIL PROTECTED] >> > <mailto:[EMAIL PROTECTED]>) then >> > >> the >> > >> matcher will return the address >> > >> the mailet will set the mail state to ghost and send a mail to >> the >> > >> sender. >> > >> >> > >> 2) if the host is available, then the matcher will return null, >> > the >> > >> mailet >> > >> will do nothing and the next mailet/matcher will do their job >> > >> >> > >> thanks >> > >> >> > >> - >> > >> ahsan >> > >> >> > >> >> > >> On 11/1/06, Ahsan < [EMAIL PROTECTED] >> > <mailto:[EMAIL PROTECTED]>> wrote: >> > >> > >> > >> > i have created the following mailet and matcher files and the >> > edited >> > >> > config file lines are given below. >> > >> > my JAMES is no longer running, it crashes :( >> > >> > >> > >> > >> > >> >> > >> ****************************************************************************************************************** >> >> > >> > >> >> > >> > <mailetpackages> >> > >> > <mailetpackage>org.apache.james.transport.mailets >> > >> > </mailetpackage> >> > >> > <mailetpackage>serveravailability.mailet </mailetpackage> >> > >> > </mailetpackages> >> > >> > <matcherpackages> >> > >> > <matcherpackage>org.apache.james.transport.matchers >> > >> > </matcherpackage> >> > >> > <matcherpackage> >> serveravailability.matcher</matcherpackage> >> > >> > </matcherpackages> >> > >> > >> > >> > ---- >> > >> > >> > >> > <mailet match="SAMatcher2=all" class="SAMailet2"> >> > >> > <from>[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> </from> >> > >> > <subject>mail delivery error !</subject> >> > >> > <content>Sorry, the email address u sent the mail to, is >> > not valid. >> > >> > Please have a look again. Thanks.</content> >> > >> > </mailet> >> > >> > >> > >> > >> > >> >> > >> ****************************************************************************************************************** >> >> > >> > >> >> > >> > >> > >> > i have got a deadline, can you please have a look and let me >> know >> > >> what i >> > >> > did wrong ?? >> > >> > >> > >> > >> > >> >> > >> >> > >> -- >> > >> Md. Ahsanur Rashid, >> > >> >> > >> Level-2, Term-1, >> > >> Department of Computer Science and Engineering (CSE), >> > >> Bangladesh University of Engineering & Technology (BUET), >> > >> Dhaka-1000, Bangladesh. >> > >> Tel - (+88) 01715621323, 01717769404 >> > >> >> > > >> > > >> > > >> > >> > >> > >> --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > <mailto:[EMAIL PROTECTED]> >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > <mailto:[EMAIL PROTECTED]> >> > >> > >> > >> > >> > -- >> > Md. Ahsanur Rashid, >> > >> > Level-2, Term-1, >> > Department of Computer Science and Engineering (CSE), >> > Bangladesh University of Engineering & Technology (BUET), >> > Dhaka-1000, Bangladesh. >> > Tel - (+88) 01715621323, 01717769404 >> > >> ------------------------------------------------------------------------ >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]