Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

modem dosent dial up when mail is in queue

Posted on 2004-10-11
3
Medium Priority
?
247 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 1000 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

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

722 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