source: npl/mailserver/zarafa7/Datux-sendas.patch @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 1.4 KB
  • spooler/Spooler.cpp

    diff -u -r zarafa-6.40.3/spooler/Spooler.cpp zarafa-6.40.3.new/spooler/Spooler.cpp
    old new  
    935935                { "fax_domain", "", CONFIGSETTING_RELOADABLE },
    936936                { "fax_international", "+", CONFIGSETTING_RELOADABLE },
    937937                { "always_send_delegates", "no", CONFIGSETTING_RELOADABLE },
     938                { "always_send_as", "no", CONFIGSETTING_RELOADABLE },
    938939                { "always_send_tnef", "no", CONFIGSETTING_RELOADABLE },
    939940                { "allow_redirect_spoofing", "yes", CONFIGSETTING_RELOADABLE },
    940941                { "allow_delegate_meeting_request", "yes", CONFIGSETTING_RELOADABLE },
  • spooler/mailer.cpp

    diff -u -r zarafa-6.40.3/spooler/mailer.cpp zarafa-6.40.3.new/spooler/mailer.cpp
    old new  
    19491949                        HrGetOneProp(lpMessage, PR_AUTO_FORWARDED, &lpAutoForward) == hrSuccess && lpAutoForward->Value.b)
    19501950                {
    19511951                        bAllowSendAs = true;
     1952                } else if (strcmp(g_lpConfig->GetSetting("always_send_as"), "yes") == 0) {
     1953                        //use alawys_send_as to allow everybody to send as someone else.
     1954                        //(some users hate the 'on behalf of' text, and dont want to do the extra configuration)
     1955                        bAllowSendAs = true;
    19521956                } else {
    19531957
    19541958                        hr = HrGetOneProp(lpUserStore, PR_MAILBOX_OWNER_ENTRYID, &lpPropOwner);
Note: See TracBrowser for help on using the repository browser.