Solutions https://ff.co.za/index.php/ en How to add rc.local in Debian https://ff.co.za/index.php/solutions/how-add-rclocal-debian <span property="schema:name">How to add rc.local in Debian</span> <span rel="schema:author"><span lang="" about="/index.php/user/jeff" typeof="schema:Person" property="schema:name" datatype="">Jeff</span></span> <span property="schema:dateCreated" content="2022-10-23T06:26:17+00:00">Sun, 23/10/2022 - 08:26</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <drupal-render-placeholder callback="flag.link_builder:build" arguments="0=node&amp;1=247&amp;2=bookmark" token="BR9xay17E-NrAQT2V6dKv4jRpI99UyeZaPjUJfwNiAU"></drupal-render-placeholder><drupal-render-placeholder callback="flag.link_builder:build" arguments="0=node&amp;1=247&amp;2=like" token="OAbtqGkeQpLoxwzosniMPI6QPVWHerch2yZQ_HdblCY"></drupal-render-placeholder> </div> </div> Sun, 23 Oct 2022 06:26:17 +0000 Jeff 247 at https://ff.co.za https://ff.co.za/index.php/solutions/how-add-rclocal-debian#comments Speed up mysql innodb restore https://ff.co.za/index.php/speed-mysql-innodb-restore <span property="schema:name">Speed up mysql innodb restore</span> <span rel="schema:author"><span lang="" about="/index.php/user/jeff" typeof="schema:Person" property="schema:name" datatype="">Jeff</span></span> <span property="schema:dateCreated" content="2022-02-16T08:13:33+00:00">Wed, 16/02/2022 - 10:13</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <drupal-render-placeholder callback="flag.link_builder:build" arguments="0=node&amp;1=238&amp;2=bookmark" token="20lAbTx_vHplN_kzvlU2r11JxidByckYONrjGnFjiJs"></drupal-render-placeholder><drupal-render-placeholder callback="flag.link_builder:build" arguments="0=node&amp;1=238&amp;2=like" token="XQeF5xMcEeOl16GM0s2YBhq6IFslHOuDjDFcxvYcasg"></drupal-render-placeholder> </div> </div> Wed, 16 Feb 2022 08:13:33 +0000 Jeff 238 at https://ff.co.za https://ff.co.za/index.php/speed-mysql-innodb-restore#comments Exim4: Copy all outgoing mail : split file config https://ff.co.za/index.php/forum-topic/exim4-copy-all-outgoing-mail-split-file-config <span property="schema:name">Exim4: Copy all outgoing mail : split file config</span> <span rel="schema:author"><span lang="" about="/index.php/user/jeff" typeof="schema:Person" property="schema:name" datatype="">Jeff</span></span> <span property="schema:dateCreated" content="2018-04-19T07:55:17+00:00">Thu, 19/04/2018 - 09:55</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <div class="ffimage field field--name-field-image field--type-image field--label-hidden field--item"> <img loading="lazy" src="/sites/default/files/styles/medium/public/2018-04/exim-logo-trans.png?itok=g3S1KjW_" width="220" height="163" alt="" typeof="foaf:Image" class="img-responsive" /> </div> <div class="forum-label field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field--label">Forums</div> <div class="field--item"><a href="/index.php/forums/support" hreflang="en">Support</a></div> </div> <div property="schema:text" class="body-padding field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>Adapted from flat-file config at <a href="https://raymii.org/s/blog/Forward_or_save_all_outgoing_email_with_exim.html">Raymii.Org</a>.</p> <p>First, make the archive directory with your required domain name:</p> <p><code>mkdir -p /var/mail/archive/waspa.org.za<br /> chown Debian-exim:Debian-exim /var/mail/archive -R </code></p> <p>Create the following to enable Exim system_filter:</p> <p>Edit /etc/exim4/main/20_exim4_prionyx_system_filter</p> <p><code>system_filter = /etc/exim4/system_filter.exim<br /> system_filter_directory_transport = local_copy_outgoing</code></p> <p>Edit /etc/exim4/transport/40_exim4_prionyx_system_filter</p> <p><code>local_copy_outgoing:  <br /> driver = appendfile  <br /> delivery_date_add  <br /> envelope_to_add  <br /> return_path_add  <br /> group = Debian-exim  <br /> user = Debian-exim  <br /> mode = 0660  <br /> maildir_format = true  <br /> create_directory = true </code></p> <p>Edit /etc/exim4/system_filter.exim</p> <p><code>if $sender_address_domain is waspa.org.za<br /> then unseen save /var/mail/waspa.org.za/archive/.${tr{$sender_address}{.}{_}}.outgoing/<br /> endif </code></p> <p>exim -bV</p> <p>service exim4 reload</p> <hr /> <p> </p> <p> </p> </div> <div class="fftags field field--name-field-ff-tags field--type-entity-reference field--label-inline"> <div class="field--label">FF Tags</div> <div class="field--items"> <div class="field--item"><a href="/index.php/tags/exim" hreflang="en">exim</a></div> </div> </div> <div class="field field--name-field-category field--type-entity-reference field--label-above"> <div class="field--label">Category</div> <div class="field--item"><a href="/index.php/solutions" hreflang="en">Solutions</a></div> </div> </div> </div> Thu, 19 Apr 2018 07:55:17 +0000 Jeff 18 at https://ff.co.za https://ff.co.za/index.php/forum-topic/exim4-copy-all-outgoing-mail-split-file-config#comments