NixUser

NixUser.com | Unix User | Linux User | NixUser

How to add header subject in postfix

  If you want to add subject in the postfix log files, add the following in main.cf file at the bottom.   vi /etc/postfix/main.cf   header_checks = regexp:/etc/postfix/header_checkssmtp_header_checks = regexp:/etc/postfix/header_checks   And add the lines below in /etc/postfix/header_checks files, create the file if it’s not already there.   /^subject:/ WARN/^X-PHP-Originating-Script:/ WARN   Now restart postfix More

How to see time stamps in bash history?

Enter the following command in terminal. HISTTIMEFORMAT=”%d/%m/%y %T ” Or, to make the change permanent for the current user: echo ‘export HISTTIMEFORMAT=”%d/%m/%y %T “‘ >> ~/.bashrcsource ~/.bashrc Now try the history command, you will see the timestamp along with the command history.

Cannot open Home folder Ubuntu or Any folder in Ubuntu

  I have Ubuntu 16.04 installed with home folder mounted as a separate partition.   When I click on the icon of the Home folder (or any folder from Places tab), the icon flashes trying to open and will close.   Checked the dmesg and found these error messages.   (nautilus:25179): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion More

Previous Posts Next posts

%d bloggers like this: