[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SendMail



On Tue, 7 Jul 1998, Ben - Nes Michael wrote:

> Hi
> 
> In one stroke of keyboard when i was tried i erased all directories
> under /var/spool/ :-(

Ahh, another guy who runs as root after 10 PM ;) I am not alone anymore !

> When i realized what happen i rebuild all the directories back and
> restarted sendmail. (with the correct ownership & attributes)

You built them back by HAND or did you REINSTALL sendmail from a package ? 
See below. 
 
> Sendmail is now working but it have strange delay until it put the file
> in its place.

2 possibilities:
a) You have the wrong sendmail.cf for your configuration. Sendmail is
picky about DNS.
b) As in a. and bind is not running and/or configured to resolve your host
name.
 
Fix: Install the 'stand-alone DNS-less' sendmail.cf, or as suits your
system. If you reinstalled sendmail fm. package, then it has hosed your
/etc/sendmail.cf. Reinstall it from backups.

> When - ls -l|mail user 
> its taking at least 30 min before its get into the var/spool/mail/
> directory.

Find out how sendmail is started. It would be like -bd -q30m (this is
standard from packages). You want something faster on a stand-alone host
(I use -q1m but I'm not connected to the Internet). 
 
Peter