[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-user
Subject:    Re: Removing messages from the outgoing directory
From:       Daniele Lozzi <dlozzi () babel ! it>
Date:       2011-07-22 7:22:32
Message-ID: 4E292538.9000808 () babel ! it
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Il 21/07/2011 17:35, joerobertsz ha scritto:
> Hi,
Hi
> Is there a way to configure James to delete the messages from the outgoing
> directory after certain number of attempts?
I don't think so,

> Basically, I want to set the retries to 1 and then have James remove the
> messages from the outgoing directory.
>
> Is this possible?
>
> Reason I am asking is that I am using James for testing and banging on it
> from my application and I expect the emails to just sit in the outgoing
> directory and never get sent as the email addresses I am providing are not
> valid but I don't want to manually have to delete these files in the middle
> of my test.
>
if you are not interest on sending messages ,you can comment 
RemoteDelivery mailet and you can replace it with a LogMessage mailet 
that simply log your message on logging file.

So your messages is not stored in outgoing repository.



> Thanks,
>
> Joe
I hope  my advice is helpful.

Bye,

Daniele

-- 

*Daniele Lozzi*
Software Architect
Babel S.r.l. - http://www.babel.it <http://www.babel.it/>
*T:* 06.9826.9600 *F:* 06.9826.9680
P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma)
------------------------------------------------------------------------
CONFIDENZIALE: Questo messaggio ed i suoi allegati sono di carattere 
confidenziale per i destinatari in indirizzo.
E' vietato l'inoltro non autorizzato a destinatari diversi da quelli 
indicati nel messaggio originale.
Se ricevuto per errore, l'uso del contenuto e' proibito; si prega di 
comunicarlo al mittente e cancellarlo immediatamente.

[Attachment #5 (multipart/related)]

[Attachment #7 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Il 21/07/2011 17:35, joerobertsz ha scritto:
    <blockquote cite="mid:32108431.post@talk.nabble.com" type="cite">
      <pre wrap="">
Hi,
</pre>
    </blockquote>
    Hi<br>
    <blockquote cite="mid:32108431.post@talk.nabble.com" type="cite">
      <pre wrap="">
Is there a way to configure James to delete the messages from the outgoing
directory after certain number of attempts?
</pre>
    </blockquote>
    I don't think so, <br>
    <br>
    <blockquote cite="mid:32108431.post@talk.nabble.com" type="cite">
      <pre wrap="">Basically, I want to set the retries to 1 and then have James remove the
messages from the outgoing directory.  

Is this possible?

Reason I am asking is that I am using James for testing and banging on it
from my application and I expect the emails to just sit in the outgoing
directory and never get sent as the email addresses I am providing are not
valid but I don't want to manually have to delete these files in the middle
of my test.

</pre>
    </blockquote>
    if you are not interest on sending messages ,you can comment
    RemoteDelivery mailet and you can replace it with a LogMessage
    mailet that simply log your message on logging file.<br>
    <br>
    So your messages is not stored in outgoing repository.<br>
    <br>
    <blockquote cite="mid:32108431.post@talk.nabble.com" type="cite">
      <pre wrap="">
</pre>
    </blockquote>
    <br>
    <br>
    <blockquote cite="mid:32108431.post@talk.nabble.com" type="cite">
      <pre wrap="">
Thanks,

Joe
</pre>
    </blockquote>
    I hope&nbsp; my advice is helpful.<br>
    <br>
    Bye,<br>
    <br>
    Daniele<br>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <title>Documento senza titolo</title>
      <img src="cid:part1.01090100.02090402@babel.it"><br>
      <div style="font-family: Arial,Helvetica,sans-serif; font-size:
        12px; color: rgb(0, 0, 0); margin-left: 32px;">
        <strong>Daniele Lozzi</strong><br>
        Software Architect<br>
        Babel S.r.l. - <a href="http://www.babel.it/" target="_blank"
          title="Vai al sito della Babel" style="color: rgb(0, 0, 0) !
          important;">http://www.babel.it</a><br>
        <strong>T:</strong> 06.9826.9600 <strong>F:</strong>
        06.9826.9680 <br>
        P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma)<br>
        <hr>
        <div style="font-size: 11px; color: rgb(153, 153, 153);">
          CONFIDENZIALE: Questo messaggio ed i suoi allegati sono di
          carattere confidenziale per i destinatari in indirizzo.<br>
          E' vietato l'inoltro non autorizzato a destinatari diversi da
          quelli indicati nel messaggio originale.<br>
          Se ricevuto per errore, l'uso del contenuto e' proibito; si
          prega di comunicarlo al mittente e cancellarlo immediatamente.<br>
        </div>
      </div>
    </div>
  </body>
</html>

["logo.gif" (image/gif)]

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic