how to set default program for magnet link in Browsers – Mac / Windows

FireFox:

The Applications panel allows you to choose how Firefox handles different types of files. For each content type Firefox recognizes, you may select an action that Firefox will use to handle that type of content.

Open new tab Firefox: and go to address:  about:preferences#applications

Google Chrome:

1. Quit Google Chrome
2. Navigate to ~/Users/YOUR USER NAME/Library/Application Support/Google/Chrome/Local State
[note: the User Library folder is invisible, so to open it, go to your user folder and press command-G (Go to folder) and type Lib]
3. Open “Local State” in a text editor (like Text Wrangler, Text Edit, etc.)
4. Look for “protocols” and “magnet” and change “true” to “false” (this means ignore Magnet links = false)
5. Save file in same format it’s already in (should not have file extension on end of filename – not Local State.txt or anything else)

6. Relaunch Chrome.

 

It's only fair to share...Tweet about this on TwitterShare on Google+Share on FacebookShare on LinkedInEmail this to someone

Fixed – perl: warning: Setting locale failed – OSX Terminals

When you get this error while running some commands in SSH

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


Here is the FIX
Adding the following lines to ~/.bash_profile on my your local machine, the warning should go away:
export LC_CTYPE=en_US.UTF-8

export LC_ALL=en_US.UTF-8

Restart Terminal to work with new settings.

It's only fair to share...Tweet about this on TwitterShare on Google+Share on FacebookShare on LinkedInEmail this to someone

[FIXED] -WordPress- after login wp-admin says “not available”

When Using the All in One WP Security Plugin, WordPress- after login wp-admin says “not available”

This normally happens when you moved the site to another directory / htaccess file error

SOLUTION

The easiest way to disable the plugin is to log in to your server using FTP / cpanel file manager and rename this plugin’s folder temporarily.
Tampering with the DB can lead to issues if you make a mistake.

 

All In One WP Security & Firewall

 

Ht-access errors, please see this URL to restore htaccess file

 

How to Restore the htaccess File When Using the All in One WP Security Plugin

 

It's only fair to share...Tweet about this on TwitterShare on Google+Share on FacebookShare on LinkedInEmail this to someone

Max OSX Server 5.2 Postfix missing SMTP Logs

Solution 1:

Apple have a new log system in Sierra. It is not using the log files or asl.

The logs are in memory or a log db.

 

log — Access system wide log messages created by os_log, os_trace and other logging systems.

 

You can read the smtpd log from terminal with this command.

log show –start “2016-10-16”  –end “2016-10-17” –predicate  ‘process == “smtpd”‘ –debug

 

Solution 2:

It seems that after an upgrade or a new install the log level of smtp is at such a high level, it does not report anything unless there is a serious error with the smtp server.

Try these commands to get smtp logging going again, worked for me with a couple of servers who did not seem to have any smtp logging enabled, but mail worked and outgoing as well:

 

sudo serveradmin settings mail:postfix:log_level = “debug”

sudo serveradmin settings mail:postfix:mail_events_log_level = “debug”

 

Courtesy : https://discussions.apple.com

 

It's only fair to share...Tweet about this on TwitterShare on Google+Share on FacebookShare on LinkedInEmail this to someone

MAC OSX Mail Server – Postfix mail queue

The PostFix mail server, part of OSX Server, is a wonderfully flexible and configurable mail transfer agent. There are many ways that your Postfix message queues can become flooded with illegitimate messages.

Postfix on OSX Server can display the mail queue in terminal.

To see mail queue, enter:
# mailq

How to Delete One Email In Any Queue

postsuper -d MESSAGE_ID

How to Delete Email for a Single User In All Queues

Use the following command to delete the messages from your mail queues. Be sure to substitute ‘youruser@yourdomain\.com’ with the email account which is flooded. Be sure to escape the dot as shown in the example:

postqueue -p | tail -n +2 | awk 'BEGIN { RS = "" } / youruser@yourdomain\.com/ { print $1 }' | tr -d '*!' | postsuper -d -

If you mail server is really clogged, this can take hours to execute.

How to Delete All Email or Just In Specific Queues

To delete all deferred messages from a single queue:

postsuper -d ALL deferred

To remove all mail from the queue, enter:

# postsuper -d ALL

 

It's only fair to share...Tweet about this on TwitterShare on Google+Share on FacebookShare on LinkedInEmail this to someone
Twitter Auto Publish Powered By : XYZScripts.com