Here are the steps I perform to duplicate sending multiple modifiction emails:

1) create a new workspace (w)
2) subscribe Admin user and admin group to modifications for workspace
3) create folder (w/a) - no modification sent
4) create folder (w/b) - no modification sent
5) add file to folder (a) using drag and drop  - no modification sent
6) update file using drag and drop - modification sent twice


Here is my mail-server.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z [email protected] $ -->
<server>

  <!-- ==================================================================== -->
  <!-- Mail Connection Factory                                              -->
  <!-- ==================================================================== -->

  <mbean code="org.jboss.mail.MailService"
         name="jboss:service=Mail">
    <attribute name="JNDIName">java:/Mail</attribute>
    <attribute name="User">[email protected]</attribute>
    <attribute name="Password">removed</attribute>
    <attribute name="Configuration">
      <!-- A test configuration -->
      <configuration>
        <!-- Change to your mail server prototocol -->
        <property name="mail.transport.protocol" value="smtp"/>
        <property name="mail.smtp.auth" value="true"/>

        <!-- Change to the SMTP gateway server -->
        <property name="mail.smtp.host" value="smtp.removed.com"/>

        <!-- The mail server port -->
        <property name="mail.smtp.port" value="25"/>

        <!-- Change to the address mail will be from  -->
        <property name="mail.from" value="[email protected]"/>

        <!-- Enable debugging output from the javamail classes -->
        <property name="mail.debug" value="true"/>
      </configuration>
    </attribute>
    <depends>jboss:service=Naming</depends>
  </mbean>

</server>


Here is what is in the log for steps 5 and 6.

2009-10-21 10:37:06,187 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher 'ASCII,'
2009-10-21 10:37:06,187 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher 'continuation,'
2009-10-21 10:37:06,188 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher 'extra field,'
2009-10-21 10:37:06,188 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher 'original filename,'
2009-10-21 10:37:06,188 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher 'comment,'
2009-10-21 10:37:06,189 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher 'encrypted,'
2009-10-21 10:37:06,204 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher 'interlaced'
2009-10-21 10:37:06,214 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher '%s'
2009-10-21 10:37:06,215 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher '%s'
2009-10-21 10:37:06,219 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher 'POSIX'
2009-10-21 10:37:06,252 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher 'Windows 3.x format'
2009-10-21 10:37:06,262 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher 'Windows 3.x format'
2009-10-21 10:37:06,270 INFO  [net.sf.jmimemagic.MagicParser] endElement(): not 
adding invalid matcher 'SGI'
2009-10-21 10:37:31,670 INFO  [STDOUT] DEBUG: getProvider() returning 
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun 
Microsystems, Inc]
2009-10-21 10:37:31,734 INFO  [STDOUT] DEBUG SMTP: useEhlo true, useAuth true
2009-10-21 10:37:31,735 INFO  [STDOUT] DEBUG SMTP: useEhlo true, useAuth true
2009-10-21 10:37:31,735 INFO  [STDOUT] DEBUG SMTP: trying to connect to host 
"smtp.removed.com", port 25, isSSL false
2009-10-21 10:37:31,864 INFO  [STDOUT] 220 pan.itsolut.com ESMTP Postfix
2009-10-21 10:37:31,864 INFO  [STDOUT] DEBUG SMTP: connected to host 
"smtp.removed.com", port: 25
2009-10-21 10:37:31,866 INFO  [STDOUT] EHLO removed.removed.com
2009-10-21 10:37:31,930 INFO  [STDOUT] 250-removed.removed.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
2009-10-21 10:37:31,931 INFO  [STDOUT] DEBUG SMTP: Found extension 
"PIPELINING", arg ""
2009-10-21 10:37:31,931 INFO  [STDOUT] DEBUG SMTP: Found extension "SIZE", arg 
"10240000"
2009-10-21 10:37:31,931 INFO  [STDOUT] DEBUG SMTP: Found extension "VRFY", arg 
""
2009-10-21 10:37:31,931 INFO  [STDOUT] DEBUG SMTP: Found extension "ETRN", arg 
""
2009-10-21 10:37:31,931 INFO  [STDOUT] DEBUG SMTP: Found extension "STARTTLS", 
arg ""
2009-10-21 10:37:31,931 INFO  [STDOUT] DEBUG SMTP: Found extension "AUTH", arg 
"PLAIN LOGIN"
2009-10-21 10:37:31,932 INFO  [STDOUT] DEBUG SMTP: Found extension 
"AUTH=PLAIN", arg "LOGIN"
2009-10-21 10:37:31,932 INFO  [STDOUT] DEBUG SMTP: Found extension 
"ENHANCEDSTATUSCODES", arg ""
2009-10-21 10:37:31,932 INFO  [STDOUT] DEBUG SMTP: Found extension "8BITMIME", 
arg ""
2009-10-21 10:37:31,932 INFO  [STDOUT] DEBUG SMTP: Found extension "DSN", arg ""
2009-10-21 10:37:31,932 INFO  [STDOUT] DEBUG SMTP: Attempt to authenticate
2009-10-21 10:37:31,932 INFO  [STDOUT] AUTH LOGIN
2009-10-21 10:37:31,988 INFO  [STDOUT] 334 VXNlcm5hbWU6
2009-10-21 10:37:31,989 INFO  [STDOUT] Y21zLXByb2R1Y3Rpb25AaXRzb2x1dC5jb20=
2009-10-21 10:37:32,045 INFO  [STDOUT] 334 UGFzc3dvcmQ6
2009-10-21 10:37:32,045 INFO  [STDOUT] cGFzc3dvcmQ=
2009-10-21 10:37:32,104 INFO  [STDOUT] 235 2.7.0 Authentication successful
2009-10-21 10:37:32,106 INFO  [STDOUT] DEBUG SMTP: use8bit false
2009-10-21 10:37:32,107 INFO  [STDOUT] MAIL FROM:<[email protected]>
2009-10-21 10:37:32,184 INFO  [STDOUT] 250 2.1.0 Ok
2009-10-21 10:37:32,185 INFO  [STDOUT] RCPT TO:<[email protected]>
2009-10-21 10:37:32,241 INFO  [STDOUT] 250 2.1.5 Ok
2009-10-21 10:37:32,242 INFO  [STDOUT] DEBUG SMTP: Verified Addresses
2009-10-21 10:37:32,242 INFO  [STDOUT] DEBUG SMTP:   [email protected]
2009-10-21 10:37:32,242 INFO  [STDOUT] DATA
2009-10-21 10:37:32,298 INFO  [STDOUT] 354 End data with <CR><LF>.<CR><LF>
2009-10-21 10:37:32,301 INFO  [STDOUT] Date: Wed, 21 Oct 2009 10:37:31 -0400 
(EDT)
From: [email protected]
To: [email protected]
Message-ID: <[email protected]>
Subject: [Nuxeo]Document modified
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<HTML>
<BODY>
<P>A document (UID: b97dc1ef-805b-4bdb-9889-63a53d7ca440) has been modified by 
Administrator at 21/10/2009 - 10:37.<BR>
You can consult the document at the following URL: <a 
href="http://localhost:8080/nuxeo/nxdoc/default/b97dc1ef-805b-4bdb-9889-63a53d7ca440/view_documents";>hibernate.cfg</a></P>
 <BR><BR>

You received this notification because you subscribed to modification on this 
document or on one of its parents.
</BODY>
<HTML>
.
2009-10-21 10:37:32,399 INFO  [STDOUT] 250 2.0.0 Ok: queued as 36CF52430653
2009-10-21 10:37:32,399 INFO  [STDOUT] QUIT
2009-10-21 10:37:32,469 INFO  [STDOUT] 221 2.0.0 Bye
2009-10-21 10:37:32,565 INFO  [STDOUT] DEBUG: getProvider() returning 
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun 
Microsystems, Inc]
2009-10-21 10:37:32,565 INFO  [STDOUT] DEBUG SMTP: useEhlo true, useAuth true
2009-10-21 10:37:32,566 INFO  [STDOUT] DEBUG SMTP: useEhlo true, useAuth true
2009-10-21 10:37:32,566 INFO  [STDOUT] DEBUG SMTP: trying to connect to host 
"smtp.removed.com", port 25, isSSL false
2009-10-21 10:37:32,688 INFO  [STDOUT] 220 pan.itsolut.com ESMTP Postfix
2009-10-21 10:37:32,688 INFO  [STDOUT] DEBUG SMTP: connected to host 
"smtp.removed.com", port: 25
2009-10-21 10:37:32,689 INFO  [STDOUT] EHLO removed.removed.com
2009-10-21 10:37:32,748 INFO  [STDOUT] 250-removed.removed.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
2009-10-21 10:37:32,749 INFO  [STDOUT] DEBUG SMTP: Found extension 
"PIPELINING", arg ""
2009-10-21 10:37:32,749 INFO  [STDOUT] DEBUG SMTP: Found extension "SIZE", arg 
"10240000"
2009-10-21 10:37:32,749 INFO  [STDOUT] DEBUG SMTP: Found extension "VRFY", arg 
""
2009-10-21 10:37:32,749 INFO  [STDOUT] DEBUG SMTP: Found extension "ETRN", arg 
""
2009-10-21 10:37:32,749 INFO  [STDOUT] DEBUG SMTP: Found extension "STARTTLS", 
arg ""
2009-10-21 10:37:32,749 INFO  [STDOUT] DEBUG SMTP: Found extension "AUTH", arg 
"PLAIN LOGIN"
2009-10-21 10:37:32,749 INFO  [STDOUT] DEBUG SMTP: Found extension 
"AUTH=PLAIN", arg "LOGIN"
2009-10-21 10:37:32,749 INFO  [STDOUT] DEBUG SMTP: Found extension 
"ENHANCEDSTATUSCODES", arg ""
2009-10-21 10:37:32,750 INFO  [STDOUT] DEBUG SMTP: Found extension "8BITMIME", 
arg ""
2009-10-21 10:37:32,750 INFO  [STDOUT] DEBUG SMTP: Found extension "DSN", arg ""
2009-10-21 10:37:32,750 INFO  [STDOUT] DEBUG SMTP: Attempt to authenticate
2009-10-21 10:37:32,750 INFO  [STDOUT] AUTH LOGIN
2009-10-21 10:37:32,808 INFO  [STDOUT] 334 VXNlcm5hbWU6
2009-10-21 10:37:32,808 INFO  [STDOUT] Y21zLXByb2R1Y3Rpb25AaXRzb2x1dC5jb20=
2009-10-21 10:37:32,866 INFO  [STDOUT] 334 UGFzc3dvcmQ6
2009-10-21 10:37:32,867 INFO  [STDOUT] cGFzc3dvcmQ=
2009-10-21 10:37:33,004 INFO  [STDOUT] 235 2.7.0 Authentication successful
2009-10-21 10:37:33,004 INFO  [STDOUT] DEBUG SMTP: use8bit false
2009-10-21 10:37:33,005 INFO  [STDOUT] MAIL FROM:<[email protected]>
2009-10-21 10:37:33,072 INFO  [STDOUT] 250 2.1.0 Ok
2009-10-21 10:37:33,073 INFO  [STDOUT] RCPT TO:<[email protected]>
2009-10-21 10:37:33,133 INFO  [STDOUT] 250 2.1.5 Ok
2009-10-21 10:37:33,133 INFO  [STDOUT] DEBUG SMTP: Verified Addresses
2009-10-21 10:37:33,133 INFO  [STDOUT] DEBUG SMTP:   [email protected]
2009-10-21 10:37:33,134 INFO  [STDOUT] DATA
2009-10-21 10:37:33,192 INFO  [STDOUT] 354 End data with <CR><LF>.<CR><LF>
2009-10-21 10:37:33,192 INFO  [STDOUT] Date: Wed, 21 Oct 2009 10:37:32 -0400 
(EDT)
From: [email protected]
To: [email protected]
Message-ID: <[email protected]>
Subject: [Nuxeo]Document modified
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<HTML>
<BODY>
<P>A document (UID: b97dc1ef-805b-4bdb-9889-63a53d7ca440) has been modified by 
Administrator at 21/10/2009 - 10:37.<BR>
You can consult the document at the following URL: <a 
href="http://localhost:8080/nuxeo/nxdoc/default/b97dc1ef-805b-4bdb-9889-63a53d7ca440/view_documents";>hibernate.cfg</a></P>
 <BR><BR>

You received this notification because you subscribed to modification on this 
document or on one of its parents.
</BODY>
<HTML>
.
2009-10-21 10:37:33,266 INFO  [STDOUT] 250 2.0.0 Ok: queued as 1BEAF2430653
2009-10-21 10:37:33,266 INFO  [STDOUT] QUIT
2009-10-21 10:37:33,350 INFO  [STDOUT] 221 2.0.0 Bye
--
Posted by "chrishane" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2924#8599>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to