Issues of E-mail Services (sendmail etc.)

Jump to: navigation, search
Line 5: Line 5:
 
sudo service sendmail status
 
sudo service sendmail status
 
sudo service sendmail restart
 
sudo service sendmail restart
 +
# checking log files
 +
for f in /var/log/mail*; do echo "###### ${f}"; zgrep ".*" "${f}" | tail -n 5;done
 +
# searching phrase «error»
 +
for f in /var/log/mail*; do echo "###### ${f}"; zgrep "error" "${f}" | tail -n 5;done
 
</syntaxhighlight>
 
</syntaxhighlight>
 
[[Category:discussions and issues]]
 
[[Category:discussions and issues]]
 
[[Category:E-mail configuration]]
 
[[Category:E-mail configuration]]