Hi All

I am a newbie trying to set up sendmail and diald to provide mail service
for some Windows 95 clients. Because I have very slow Internet access, if I
start sendmail in background mode, the mail client login is delayed and at
times timed out before the name lookup is completed (I use ISP DNS). The
best alternative is to start Sendmail in defer mode in which messages are
queue up for delivery. I set queue processing interval to 5 mins.

My problem is that whenever sendmail processes queue it generates rule 22
proto 17 (DNS lookup) even when the queue is empty. The result is that diald
tries to connect every 5 mins throughout the day. I can't increase the queue
processing interval unless I can get the queue process from a script.

To work around this problem, I am trying to write a sh script to monitor the
queue, and send a ping to diald when there is mail in the queue. However, my
current scripting skill is 0. I can't get my script to work. Bash man page
is not help and I don't have access to bash text book..

Can anyone help me with syntax for comparing two strings in sh? Is there a
better way I can solve this problem?

Thanks for your assistance.

Ismail Adebayo




-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to