How to configure postfix/dovecot setup to reject certain mail for certain users/accounts

I’d like to be able to reject email from certain users or if it contains certain strings or if the title matches something for certain users.

I’m in a multidomain enviroment.

Is this possible? Unfortunately this (How to configure postfix/dovecot setup to reject certain mail) doesn’t fit my needs because it suggests to use header_checks and body_checks to block on certain strings. I could also use smtpd_sender_restrictions to block mails from certain users but not for certain users.

How to hide messages one by one after each one is visible for a certain amount of time

tried that the messages hide one by one depending on the time of creation so far I have this but it does not work very well in some moments it does not wait for the 15s and in others it erases them all together

i need this for all messages

vendor/magento/module-ui/view/frontend/web/js/view/messages.js

i will do the overwrite is just a test

/** 

* Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */

/** * @api */ define([ ‘ko’, ‘jquery’, ‘uiComponent’, ‘../model/messageList’ ], function (ko, $ , Component, globalMessages) { ‘use strict’;

return Component.extend({     defaults: {         template: 'Magento_Ui/messages',     //    selector: '[data-role=checkout-messages]',         // isHidden: false,         // listens: {         //     isHidden: 'onHiddenChange'         // }     },      /** @inheritdoc */     initialize: function (config, messageContainer) {         this._super()             .initObservable();          this.messageContainer = messageContainer || config.messageContainer || globalMessages;          this.initAutoHidden();         return this;     },      // /** @inheritdoc */     // initObservable: function () {     //     this._super()     //         .observe('isHidden');     //     //     return this;     // },      /**      * Checks visibility.      *      * @return {Boolean}      */     isVisible: function () {         return this.messageContainer.hasMessages();     },      /**      * Remove all messages.      */     removeAll: function () {         this.messageContainer.clear();     },      /**      * init auto hidden all messages      */     initAutoHidden: function () {         setInterval(function () {              var date = new Date();             var now = date.getTime();         //.fixed             $  ('div.message:not(.error):visible').each(function () {                 var message = $  (this);                 if (message.attr('time-created')) {                     var timeCreated = parseInt(message.attr('time-created'));                     if (now - timeCreated > 15000) {                         //message.removeAttr('time-created');                         message.hide('blind', function() {                             message.remove();                         }, 500);                      }                 } else {                     message.attr('time-created', now);                 }             });         }, 1000);      } }); 

});

Automatically copy all files from connected usb drive with certain extension to local directory

I’m looking for a script to automatically back up files from a connected USB drive, with a pre-defined file extension, to a local directory on my machine. The script given in the top answer in this post basically provides what I am looking for, except that it doesn’t provide a way to limit it to files of a certain type. My programming knowledge is limited, I don’t know how I would go about modifying the script to suit my needs and was hoping that someone might have a solution.

Cheers

G Suite Allowing Users Without Access to Certain Files, View Those Files

In G Suite, a user that does not have access to certain folders or files, cannot view them from their Drive dashboard. However, it became apparent to us Friday that if a file is moved, its activity is shown in the activity feed, and then a user that normally could not view that file, can click and view that file.

The file in question was uploaded to a non-public folder, then deleted (moved to trash), and users that did not have access to the non-public folder and the trash, could then click on and view the file from the Activity feed.

I’ve done some research on the topic and can disable all User activity feed access, but we’d rather make it so that users that do not have access, cannot see them on the feed.

Has anyone experienced this and have a solution? Google doesn’t offer much other than to turn off Activity dashboard feed. Not our preferred solution unless this is all that is possible.

How can I use GOOGLEFINANCE to return a share price in a certain currency?

I have shares in different currencies that I want to track in only a single currency. I currently have a cell that returns the currency and one that returns the price, I then multiply them. However, I’m trying to make the sheet fully automated so I was wondering if it is possible to have something like

=googlefinance("RIO","price","CAD")? 

Block all calls except for certain white-list patterns

Thanks in advance for any thoughts you might have. It seems that this should be a very simple question/concept, but damn me if I can find the answer I am looking for. I apologize if I missed something obvious.

My phone is a Note 8 on Verizon. I am looking for a call blocking app that will kill most incoming calls, but allow certain area codes to ring. That is, I would love to be able to use a wild card in the whitelist.

For example, I want to block any calls, except for those from area codes 314 and 302. Those calls should ring. But how can I white list the area code?

“Call Blocker” from VLMob.com seems to get close. It has the ability to block all calls, except those on a whitelist. But the whitelist does not seem to be like wild cards. Any thoughts? Alternative suggestions?

Thanks!

Create a self-lookup field which only show certain items based on criteria

I am working on a sharepoint online classic team site. where i added a custom list named “Pricing”, which contain these main 2 fields:-

1) a column named “Type” of type drop-down list and have 2 options (General or Detailed).

2) a column named “Parent” of type lookup, which reference the same list (self-lookup field).

now the “Parent” lookup field will show all the items from the current list (Pricing), but i want the lookup field to only show the items which have “Type” = “General”. so is it possible to apply filtering to the lookup columns? Thanks

How would I stat out an inability to change a Variable effect without a certain object?

So, a PC is a wizard. One of her spells is a Variable Summon effect. She does this by invoking the names of all sorts of things from a magical book.

What I am trying to figure out, is how can I make it so that she cannot pick a different thing to summon without her book? The effect is not truly Removable–she can still perform the spell without it. Nor is it Slow–she only needs to glance down at the book to memorize the quick incantation.

How could I make it so that she is unable to change her Variable, if she is disarmed, without actually losing the effect?

Computing Euler Lagrange Equation for a Certain Functional

Let $ \Omega\subset \mathbb{R}^n$ be a domain in $ \mathbb{R}^n$ with $ C^1$ boundary and let $ J:\mathscr{H}^{1}_0(\Omega) \to \mathbb{R}$ be given by:

$ $ J(v) = \int_\Omega |v(x)|^p\mathrm{d}x $ $ where $ p <\frac{2n}{n-2}$ . Let $ v_0$ be the unique maximizer of $ J$ over the set $ \mathcal{A} = \{v \in \mathscr{H}_0^1 : \|v\|_{\mathscr{H}_1} \leq 1\}$ (the existence of this could be shown using, say, Rellich Kondrachov). Now, I would like to show which PDE this maximizer solves. The usual method is to compute the first variation and then from there obtain the Euler Lagrange Equation for the variational problem. However, this doesn’t seem to work, as $ J$ has no derivatives of $ v$ in it. Specifically, if we fix some test function $ \phi \in C_c^\infty(\Omega)$ , and perturb by $ t$ and compute the derivative, we get:

$ $ \frac{d}{dt}\int_\Omega |(v + \phi t)|^p = \int_\Omega \frac{d}{dt}|v + (\phi t)|^p = \int_\Omega p|v + (\phi t)|^{p-1}\phi $ $ (side note, why are we allowed to pass the derivative under the integral in the general case of the Lagrangian?). Evaluating the variation at time $ t = 0$ and setting equal to $ 0$ , we obtain: $ $ \int_\Omega p|v|^{p-1}\phi = 0 $ $ But this doesnt give us any useful information. What am I doing wrong here? How should I set up the variational problem?