2 errors showing up, need to fix asap

2 posts / 0 new
Last post
#1 Wed, 10/17/2007 - 23:30
mike

2 errors showing up, need to fix asap

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?

Fri, 10/19/2007 - 06:22
jaldeguer

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

Topic locked