Solved

modem dosent dial up when mail is in queue

Posted on 2004-10-11
3
229 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now