[BlueOnyx:26863] Re: CCE command for enabling dkim ?

Ken Marcus kenmarcusprecisionweb at gmail.com
Fri Mar 22 14:20:49 -05 2024


Thanks for the info on this!
It looks like there is that option on the 5208, but it's set to nobody
where I want it set for the user. I'll work on that.

Ken Marcus
Precision Web Hosting, LLC


On Fri, Mar 22, 2024 at 9:51 AM Michael Stauber <mstauber at blueonyx.it>
wrote:

> Hi Ken,
>
> > Is there a CCE / command line option for enabling dkim on a site?
>
> Find out the Object ID of the Vsite in question. And then run this
> SET-transaction against that OID:
>
> SET  <VSITE-OID> . OpenDKIM enabled = "1" force_update = "1711125305"
>
> The number in "force_update" doesn't matter. It just has to be different
> from any number that's already present in that field. We usually use the
> return value of time() for that.
>
> > Also, for importing from older servers with no 'web ownership" option,
> > if I edit the cmu.xml  and add that before import, would it work?
>
> Whew. How old is the source server? Even 5207R and 5208R had that field.
>
> In I *think* the adjust scripts in CMU should at least try to set it to
> "apache" if that field isn't there yet. But I'm not sure.
>
> The CCE SET-transaction for this would look like this:
>
> SET  <VSITE-OID> . PHP prefered_siteAdmin = "apache"
>
> But there is a work around. On the server where you want to import? Edit
> this file:
>
> /usr/sausalito/schemas/base/apache/vsite_services.schema
>
> Find this section of code:
>
>      <property
>          name="prefered_siteAdmin" type="scalar" default=""
>          writeacl="ruleCapable(adminUser) OR ruleCapable(siteAdmin)"
>      />
>
> Change it to this:
>
>      <property
>          name="prefered_siteAdmin" type="scalar" default="apache"
>          writeacl="ruleCapable(adminUser) OR ruleCapable(siteAdmin)"
>      />
>
> Save the changes and restart CCEd:
>
> /usr/sausalito/sbin/cced.init rehash
>
> That will then make sure that all newly created Vsites that don't get a
> "prefered_siteAdmin" set by CMU will at least have "apache" set as user.
>
> You may still have UID/GID permission errors with PHP scripts for as
> long as you don't manually set a siteAdmin to be the "web owner", but it
> should at least import the Vsite fine then.
>
> --
> With best regards
>
> Michael Stauber
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20240322/f4ef9f5a/attachment.html>


More information about the Blueonyx mailing list