Solved

modem dosent dial up when mail is in queue

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

914 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

22 Experts available now in Live!

Get 1:1 Help Now