Marcello, Look at the "standard" config.xml logic:
... <!-- If the recipient is for a local account, deliver it locally --> <mailet match="RecipientIsLocal" class="LocalDelivery"/> <!-- If the host is handled by this server and it did not get --> <!-- locally delivered, this is an invalid recipient --> <mailet match="HostIsLocal" class="ToProcessor"> <processor>local-address-error</processor> <notice>Unknown recipient</notice> </mailet> ... if we are here it is an outgoing message Look at the RecipientIsLocal and HostIsLocal matchers. Ciao, Vincenzo > -----Original Message----- > From: Marcello Marangio [mailto:[EMAIL PROTECTED] > Sent: giovedi 4 settembre 2003 10.42 > To: James Developers List > Subject: how to share between incoming msgs and outgoing msgs > > > Hi all > I have a newbie problem: how can I make a mailet (or a matcher) understand > that a message is an outgoing rather than an incoming message? > I couldn't find anything in the SMTP standard, nor in james docs. > Can anybody please help me? > > Thanks > Marcello > > > --------------------------------------------------------------------- > 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]