Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cpanel:clean-remotedomains [2012-09-07 20:58:51]
shaun.reitan created
cpanel:clean-remotedomains [2012-09-07 20:59:11] (current)
shaun.reitan
Line 4: Line 4:
  
 <code console> <code console>
-for i in `sed -n 's/.*lowest numbered MX record points to local host: \([^[:space:]]\{1,\}\).*/\1/p' exim_mainlog |sort|uniq`; do sed "/$i/d" -i /etc/remotedomains;done+for i in `sed -n 's/.*lowest numbered MX record points to local host: \([^[:space:]]\{1,\}\).*/\1/p' /var/log/exim_mainlog |sort|uniq`; do sed "/$i/d" -i /etc/remotedomains;done
 </code> </code>