Auteur/autrice : Aymeric

Our system has detected an unusual rate of unsolicited mail originating from your IP address

Gmail could report back this error message: « Our system has detected an unusual rate of unsolicited mail originating from your IP address » If your DKIM, SPF and DMARC are all set and your emails are correctly identified, then you may want to check the both links: Good links to get help on what to do: […]

Sharepoint REST API to index a column or delete a column and more…

Due to the 5,000 items threshold limitation it can become very frustrating to administrate Sharepoint. For example, if your list has more than 5,000 items, you cannot add an index, delete a lookup/people column, delete the list or the website, and more ! Hopefully some of the operations can be done with REST API, and […]

SharePoint 2013 Search REST API options

Finding the documentation for the Search REST API of Sharepoint is difficult…. There is a very old blog post that I’m going to replicate here to give more visibility:   Location of the Search Rest service The Search REST service is located at the following URI: http://host/site/_api/search   The Search REST API The Search REST […]

exim4 : « remote_smtp: message is too big (transport limit = 1) »

After diging around for an exim4 problem (remote_smtp: message is too big (transport limit = 1)), I found the answer in this post: Add « IGNORE_SMTP_LINE_LENGTH_LIMIT=1 » in the exim4 config file (/etc/exim4/update-exim4.conf.conf), then restart exim4

SP.Utilities.Utility.SendEmail returns « The e-mail message cannot be sent. Make sure the e-mail has a valid recipient. »

With Sharepoint you can use SP.Utilities.Utility.SendEmail to send email in JavaScript, however you could receive the below error: « The e-mail message cannot be sent. Make sure the e-mail has a valid recipient. » After searching the web, I found the solution: instead of using an email address for the recipients you have to use the userDomain […]

mysqladmin with MariaDB returns « Access denied for user ‘root’@’localhost’ (using password: NO) »

When I want to reload my MariaDB server, I receive the below error: /usr/bin/mysqladmin: connect to server at ‘localhost’ failed error: ‘Access denied for user ‘root’@’localhost’ (using password: NO)’ The solution is to provide the root’s password in the file `/etc/mysql/debian.cnf` and then the error is gone!

Mise à jour d’un serveur Kimsufi (OVH) depuis Debian 8 (Jessie) vers Debian 9 (Stretch)

Il faut régulièrement penser à mettre à jour son serveur Kimsufi. Je vais essayer d’expliquer brièvement les étapes à suivre pour cela. On va d’abord sauvegarder les données : mkdir /root/svg_special; cp -R /var/lib/dpkg /root/svg_special/; cp /var/lib/apt/extended_states /root/svg_special/; dpkg –get-selections « * » > /root/svg_special/dpkg_get_selection; cp -R /etc /root/svg_special/etc Ensuite il est conseillé d’utiliser screen pour pouvoir […]

Invisible character with IE when using Intl.DateTimeFormat

As explained in some threads, Internet Explorer adds some invisible extra characters when returning a date from the JavaScript function new Intl.DateTimeformat. var day = « Thursday »; var intlDay = new Intl.DateTimeFormat(‘en-US’, {weekday: »long »}).format(new Date(2019,1,7)); console.log(day === intlDay); // return FALSE with IE intlDay = intlDay.replace(/\u200E/g,  »); // replace \u200E console.log(day === intlDay); // return TRUE with […]

Envoie d’email et spam (via OVH)

Si on envoie des emails depuis notre propre serveur, avec notre propre domaine, certaines mailbox (comme Gmail) pourraient vous détecter comme du spam ! Pour éviter cela, il faut prendre quelques précautions. Type « SPF » Tout d’abord, il faut ajouter une entrée SPF via le gestionnaire de domaine d’OVH. Le wizard va aider à composer la […]

Create a self-signed certificate for localhost testing with IE11 and Webpack

Sources: https://stackoverflow.com/questions/44988163/create-self-signed-certificate-for-testing-localhost-and-have-it-accepted-by-the http://woshub.com/how-to-create-self-signed-certificate-with-powershell/ https://stackoverflow.com/questions/4691699/how-to-convert-crt-to-pem/4691749#4691749 https://webpack.js.org/configuration/dev-server/#devserver-https If you develop with Webpack under Windows and you want to open your localhost server in HTTPS with IE11 you may receive a message like : « Content was blocked because it was not signed by a valid security certificate. » Below I explain the steps to make it work with IE11: […]