Solved

modem dosent dial up when mail is in queue

Posted on 2004-10-11
3
241 Views
Last Modified: 2013-12-16
I am using an UUCP connection in my mail server,I have a remote server (RAS) located at a distant place which my modem dials up using a telephone line...The problem is when a mail comes in the queue the modem dosent dial up automatically,I have to use the uucico command always or periodically to manually dial the modem..I have put the command in the cron tab and have set the time as every 2 sec for dialing...so now its dialing...I use Linux 9.0 kernel 2.4.20....in my mail server..I dont know what could be the problem...I have given time to dial as any in the dial file...The same files work well with Linux v 6.2....I dont know what is the problem with 9.0....Can u pls help me how to get the modem call by itself when there is a mail in the queue....The MTA used is sendmail.When I dial the modem manually or the crontab way,there is no problems in sending and receiving mails.

regards
shyam
0
Comment
Question by:visitshyam
3 Comments
 
LVL 3

Accepted Solution

by:
jacauc earned 250 total points
ID: 12284644
Well... I'm not sure if you are familiar with some basic #!/bin/bash scripting,

But one way of overriding this would be to write a little script that analyzes the output of "mailq"..and if there are one or more messages in the queue, it runs the command to dial the modem.
This can then be set to run as a cronjob every minute or two.

I might be able to provide you with a script like that if you arte interested
Let me know what you think.

Thanks
J
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
awk sed 8 106
HOw To Install Docker on VMware Workstation 19 328
Granting root permissions to a user (in Debian Jessie) 17 50
RPM creation 6 19
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question