Hi,

Am Mittwoch, den 23.08.2006, 08:41 -0600 schrieb Aaron Fransen:
> 
> 
> Here's a situation:
> 
> 
> I'm planning on using the "Forward" mailet to create protected 
> distribution/redirection lists. For example, and email sent to "[EMAIL 
> PROTECTED]" would be sent to myself and another user.
> 
> Creating the mailet is simple enough:
> 
>          <mailet match="[EMAIL PROTECTED]" class="Forward">
>              <forwardto> [EMAIL PROTECTED],[EMAIL PROTECTED] 
> </forwardto>
>          </mailet>
> 
> 
> I'm going to be writing a Python-based web gui for administering this that 
> integrates with our other security applications, but with this gui I'd rather 
> not be editing the "config.xml" file all the time.
> 
> Is there a way to create an external file reference? For example, something 
> along the lines of:
> 
> 
>          <mailet match="[EMAIL PROTECTED]" class="Forward">
> 
>              <forwardto> %webguy.txt% </forwardto>
> 
>          </mailet>


Yes there is. Search for "smtphandlerchain" in the config.xml ( james-2.3.0rc2) 
to understand howto do it.


> 
> And a related question I suppose: Once I've changed a mailet I have to 
> restart the James server. Is there a restart command? All I can find is 
> "shutdown" then a manual restart....
> 

Unfortanly there is no way to "reload" the config. You must restart james "by 
hand".

> Thanks!
> 
> Aaron Fransen
> 
> 

bye
Norman

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to