2 errors showing up, need to fix asap

  • mike
  • 07/06/07
  • Offline
Posted: Wed, 2007-10-17 23:30

ok so i have 2 errors on my server showing up and im not sure how to go about fixing them:

first is in "/usr/sbin/cron-apt" the error that is showing up is being sent to my inbox on my server it says "/usr/sbin/cron-apt: line 278: mail: command not found" the reason this is strange is because as a normal user and as the root administrator the command "mail" is available, does anyone know how to fix this?

second is a strange problem where postfix for some reason cant send incoming emails to local users on the server it says "mail transport unavailable" this is also strange because it started occuring when i added the procmail mail filter line to my postfix configuration, even after removing the line the problem still occured everyday i have to go into the mail queue of postfix and re-queue all the emails and then force flush them to get postfix to place them in the mailboxes that they are to be placed in, again does anyone know how to fix this problem as well?


Re:2 errors showing up, need to fix asap

  • jaldeguer
  • 10/11/07
  • Offline
  • Fri, 2007-10-19 06:22

Have you tried to point your cron script to the actual path of where the mail program is located like /usr/bin/mail.

Did you restart Postfix after removing the procmail rule?

/etc/init.d/postfix restart