Solved

modem dosent dial up when mail is in queue

Posted on 2004-10-11
3
244 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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 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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

624 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