You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2006/06/14 12:23:31 UTC
[jira] Resolved: (JAMES-364) Made adding of footer optional with
CommandListServProcessor
[ http://issues.apache.org/jira/browse/JAMES-364?page=all ]
Norman Maurer resolved JAMES-364:
---------------------------------
Fix Version: 2.4.0
Resolution: Fixed
Assign To: Norman Maurer
Patch was applied
> Made adding of footer optional with CommandListServProcessor
> ------------------------------------------------------------
>
> Key: JAMES-364
> URL: http://issues.apache.org/jira/browse/JAMES-364
> Project: James
> Type: Improvement
> Components: Matchers/Mailets (bundled)
> Environment: N/A
> Reporter: Daniel Perry
> Assignee: Norman Maurer
> Priority: Minor
> Fix For: 2.4.0
> Attachments: addfooterpatch.txt
>
> The CommandListServ attaches a footer. This patch makes that optional, and defaults to true. If you add: <addfooter>false</addfooter> then it will not add the footer, and if you leave out that element (as in all existing installations!) then it wont effect the footer.
> Daniel.
> Patch follows:
> --- src\java\org\apache\james\transport\mailets\CommandListservProcessor.java_svn Tue Mar 29
> 17:08:45 2005
> +++ src\java\org\apache\james\transport\mailets\CommandListservProcessor.java Tue Apr 05 15:02:31
> 2005
> @@ -156,7 +156,8 @@
>
> protected boolean specificPostersOnly;
> protected Collection allowedPosters;
> -
> + protected boolean addFooter;
> +
> /**
> * Initialize the mailet
> */
> @@ -172,6 +173,7 @@
> autoBracket = getBoolean("autobracket", true);
> listOwner = new MailAddress(getString("listOwner", null));
> specificPostersOnly = getBoolean("specifiedpostersonly", false);
> + addFooter = getBoolean("addfooter", true);
> //initialize resources
> initializeResources();
> //init user repos
> @@ -208,7 +210,9 @@
> }
>
> //addfooter
> - addFooter(mail);
> + if (addFooter){
> + addFooter(mail);
> + }
>
> //prepare the new message
> MimeMessage message = prepareListMessage(mail, listservAddr);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org