Skip to Content

Monthly Archives: November 2015

Helpful commands for postfix mail server

Written on November 18, 2015 at 8:38 AM, by

The basic troubleshooting starts with the log : /var/log/maillog Search for errors there. Some basic commands which can be used to check some parameters can be: “mailq” or “postqueue -p” –> list all the emails in the mail queue. postcat -q <mail queue id of that mail>  –> read the contents of an email in queue. […]

Run a logrotate conf manually

Written on November 17, 2015 at 6:32 AM, by

Run a logrotate conf manually without waiting for the default time to lapse by using command:   /usr/sbin/logrotate -f  <path_to_Newlogrotate_conf_file>