Server :: How To Check If Mailserver Is Running
Sep 27, 2010
I am using this command (inside a bash script) to check if mailserver is running correctly (port 25)
# echo | telnet localhost 25 | grep "Connected to "
If it does not respond I receive an email alter.
It works good , but sometime it NEVER respond (neither after 1 hour) , so I receive no notification . DO you know alternative command to the command above ?
View 1 Replies
ADVERTISEMENT
Jan 4, 2009
I want to run a mail server from within debian linux guest with vmware workstation xp host. The setup is a bridged network connection
Here are things that need to be done:
a)Configure the Guest with a static IP on my home network. Verify that I can telnet to port 25 of the Guest from a system on my home network.
b)Then configure my home firewall/NAT box to forward incoming connections on TCP port 25 to the static IP address I gave my Guest. Then test that I can telnet to port 25 from a system outside my home network.
c)After that I need to configure the appropriate DNS records for my domain so that outside hosts know how to contact my mailserver.
View 7 Replies
View Related
Apr 12, 2010
I Bought A New Centos VPS,Not Much Details Are Provided About Setup Etc..I Wanted To Check If FTP Service Is Running Or Not And Which FTP Daemon Is Running.(Is There Any FTP Daemon Pre-Installed With Centos)
View 6 Replies
View Related
Mar 13, 2010
When I installed CentOS v5, I declined the FTP server that cane with it because I have used and prefer ProFTPd. Now I'm not so sure what's running. How do I check what FTP is installed and / or running? ALSO there seem to be TWO ProFTPd conf files, one at:
[code]...
They have different content. Which is the one that is being used?
View 3 Replies
View Related
Apr 27, 2009
from nmap localhost | grep mysql command i will come to know whether mysql server is running or not.my problem is i want to test whether mysql server is running or not in shell script and if it is running i need to tell the user to stop the server to run the shell script.
View 3 Replies
View Related
Jul 21, 2010
I am trying to set up a mailer server on Lucid Lynx using mostly this guide: [url]
I believe I have most of the basics covered. But before launching into the the advanced set up, I want to see if I can get help with one thing I am finding difficult to understand.
In terms of my domain name www.example.com, do I have to do anything on my hosting company's side? That is, www.example.com currently have my web site and it is hosted on a private server at a hosting company. I have the ip address of the server. When I configured postfix, i used this same domain name in the configurations so I want to know what else to do to get it working.
View 3 Replies
View Related
Jun 23, 2011
Iam handling mail server in redhat.MTA using is qmail.since last 1 month it get overload and get hang...since in morning its time for user to loging into mail through web interface.though suddenly login in to mail it get overload and server got hang.we need to restart the server...did not get time to kill https also some time MP port work to save us...still didnot get command to overcome the over load in server...
View 9 Replies
View Related
Feb 20, 2010
I have Ubuntu Server Edtiion on my server. During the installatino, I choosed to install the mailserver.
I have already configured the MTA.
I also configured the MDA(Dovecot). After I configured the MDA and tried to login on squirrelmail, plenty of MySQL error was generated.
I deleted Dovecot and tried again to login on squirrelmail. Now, this message appears:
Error connecting to IMAP server: localhost. 111 : Connection refused
View 3 Replies
View Related
Jan 22, 2011
I have followed the guide for "The Perfect Server - Debian Lenny (Debian 5.0) With BIND & Dovecot [ISPConfig 3]" and all is well, except.
I can send mail (to GMail) from commandline. I can send mail (to GMail) from any of the domains configured in ISPConfig3 through SquirrelMail (how ever terrible that looks, but functions) or IMAP/POP.
but....
I can't receive mail (from GMail) on any of the domains configured in ISPConfig3 in SquirrelMail or IMAP/POP.
I have my domains configured with proper MX records (just like I have them configured at work). I have all ports (80, 143, 110, 25, 22, etc) forwarded on my router that are needed.
I can Telnet to localhost and all checks are fine. I can send and receive from and to local domains on the same server, which makes sense. but
I can't Telnet from any external server to my server behind NAT.
Conclusion:
I figured it MUST be a network/port-forwarding problem as the external Telnet requests fails to my machine on port 25.
Tested my router if it would let met communicate through port 25 and it would.
So it must be my ISP, as I read in different posts.
Question:
Maybe I'm a n00b, but in all other posts the problems were with receiving AND sending.
My ISP responded that port 25 is blocked because of spam issues.
But I can mail (and even spam if I would like to) to external domains while I didn't do anything weird to make that happen.
The only thing I wish for is to receive mails and if you'd ask me, port 25 would be solely for outgoing mails, not for incoming mail deliveries throught MX?
An ISP surely wouldn't disable their customers in having a mail-server for incoming mails, as long as they would send out through their own smtp server to make sure they wouldn't spam the world?
View 1 Replies
View Related
Jun 5, 2010
Im using posfix as a outgoing mail server, here i want to distribute the mails to different ips to avoid the ip blacklisting. I found a solution by using multiple transports , but here one thing blocking me was i could not able to select a transport using regexp or pcre matching pattern, log says that
Code:
Jun 5 07:12:49 server postfix/trivial-rewrite[6079]: warning: pcre map /etc/postfix/transport.pcre, line 1: regular expression substitution is not allowed: skipping this rule
the transport used for this purpose is:-
Code:
#cat /etc/postfix/transport.pcre
/^.*@([a-z])ol.com$/ transport$1:
View 2 Replies
View Related
Nov 24, 2010
I've been google'ing around recently for some good solutions for creating local yum "update" repositories without syncing entire repositories. (or adding hundreds of exclude statements in config files)
I have several boxes with a common base build (centos 5.5/x86_64), one has nagios3, another has apache, and another tomcat6 (also a couple of others) For tomcat and nagios I'm obviously using 3rd party repositories (jpackage, epel, rpmforge to name a few) Everything is installed via RPM from kickstart.
I would like to make an updates repository which contains the updates for everything that's installed (including centos base).
Updates will be downloaded on a separate box, but not sure how to get the list of packages required on that box where the packages are not actually installed. I've looked at reposync and mrepo, but appear to be syncing from what's available rather than what's required.
I was hoping that I can provide an "rpm -qa" output, compare this to a "yum list" or perhaps running "yum check-update" on a list rather than installed packages. I could then use the yum-downloadonly module to get the packages which have changed from available sources.
View 2 Replies
View Related
Apr 25, 2010
can i just copy/backup postfix mail queues in /var/spool/postfix and paste that folder back in after i done migrating all users and mails to a new mailserver?
View 3 Replies
View Related
Apr 19, 2010
i was just wondering where can i check to make sure what bit system i am running. 32 or 64,
View 4 Replies
View Related
Jan 29, 2010
I run a script manually like/usr/lib/openoffice.org/program/soffice and when I run
:ps -ef|grep openoffice
I get the following,
root 700 1 0 10:45 ? 00:00:00 /bin/sh /usr/lib/openoffice.org/program/soffice -calc
My question is how to check whether this script is running or not (It can be checked every 10 minutes) and how to make it as a service. (I don't have root access to put this in rc.local file or somewhere else).
View 2 Replies
View Related
Aug 1, 2010
How to check whether ssh is running or not ? (I have install ssh)
If not how to make it run ?
View 4 Replies
View Related
Jan 26, 2011
I'd like to know if there is a script that can check and see if an application has been closed (I don't know a great deal about bash programming).I'm running an organ programme with this script.
/usr/bin/jackd -r -t5000 -dalsa -dhw:0 -r44100 -p1024 -n2 -P &
java -jar /home/user/jOrgan/jorgan.jar &
jack-rack -s space space &
[code]....
View 2 Replies
View Related
Jun 20, 2011
I need a script that is able to check if a service is running or not. It has to do it automatic since it is for restarting a GameServer.
I tried to make one myself, but since the .x86 file has the same name for every server, it is hard to know a way to check if the server is running with the right process.
Is there a way to make a script which is able to check if a service is running (service has same name, but using other ports)
View 1 Replies
View Related
Apr 27, 2011
How do i check if NFS mounts are still up and running?
when i do the command MOUNT , i get some result, but how can i see (or check) if they still up and running? I'm not so familiar with this command, so i hope that someone can guide me
I know that there must be some NFS links mounted, so if one fails, i need to see that with like an echo or something.
View 12 Replies
View Related
Oct 27, 2010
I wrote up a script to check to see if any VMs are running in VirtualBox, and if there are, it would save the state they are in and then reboot or shutdown the host.Is there a way to make that script run outside of using an alias for "reboot" and "halt" when I run those two commands?Here's the script:
Code:
#!/bin/bash
if [[ -n $(VBoxManage -nologo list runningvms) ]]
[code]...
View 9 Replies
View Related
Mar 10, 2011
Anyone know a way to check if flash is running? From command line or script.
I've tried
Code:
But it also gives output if flash is blocked(by flashblock in firefox).
View 2 Replies
View Related
Apr 3, 2011
so I wrote a small script that pretty much just takes in two numbers and counts from the first to the second, e.g.
unknown-hacker|544> count.sh 1 3
1
2
3
My problem is I want to make it so that if you input invalid parameters, such as non-numerical characters, more than 2 numbers, etc., you'd get an error message
View 15 Replies
View Related
Aug 16, 2010
How can I check which version of bash I'm running
View 2 Replies
View Related
Nov 13, 2010
I have a bash script that messages the user periodically. Is there any way in the script to check if the screensaver is running, so the script doesn't spam messages while the user is away? The xscreensaver process is always running in the background, I've noticed.
View 5 Replies
View Related
Feb 26, 2011
i've some trouble to write a script on java on linux to check if service(ie:smbd) is runing or not,, could you give me some example? Or if is there any source about it for me to learn? i've two days search with zero result...
View 5 Replies
View Related
Feb 26, 2011
I'm having trouble trying to make a script. What I want to do is check if xScreenSaver is running in my user account. If not, run it. If it's running, kill it.
So this is the script I've made:
Code:
The problem is that I've echoed the output of $(pgrep -u $(whoami) xscreensaver) and it always seems to add 4 numbers to the pid, even if the pid doesn't exist. What do I mean by "doesn't exist"? That no xscreensaver is running in my user, and if I run pgrep -u $(whoami) xscreensaver in bash, I get not output, but if I run the command though the script, I get (for instance) 4050. If I run it again, I get 4054, and again 4058... etc. What the hell is going on with that?
View 5 Replies
View Related
Dec 1, 2009
I've tried to upgrade from Fedora 11 to 12 in a workstation by following the related steps in the documentation. However; in the step 'yum upgrade' I'm getting the following problem:
VirtualBox-3.0.6_52128_fedora11-1.x86_64 from installed has depsolving problems
--> Missing Dependency: libcrypto.so.8()(64bit) is needed by package VirtualBox-3.0.6_52128_fedora11-1.x86_64 (installed)
--> Running transaction check
---> Package kernel.x86_64 0:2.6.30.8-64.fc11 set to be erased
---> Package kernel-devel.x86_64 0:2.6.30.9-90.fc11 set to be erased
--> Processing Dependency: libcrypto.so.8()(64bit) for package: VirtualBox-3.0.6_52128_fedora11-1.x86_64
--> Finished Dependency Resolution
VirtualBox-3.0.6_52128_fedora11-1.x86_64 from installed has depsolving problems
--> Missing Dependency: libcrypto.so.8()(64bit) is needed by package VirtualBox-3.0.6_52128_fedora11-1.x86_64 (installed)
Error: Missing Dependency: libcrypto.so.8()(64bit) is needed by package VirtualBox-3.0.6_52128_fedora11-1.x86_64 (installed)
I've tried to find the packages libcrypto.so.8 without success.
View 3 Replies
View Related
Jun 4, 2010
My DVD/CD burner is rather old now (going on 5 years), and I've had some "quality" issues when I've been burning stuff for the past year.
CD's: When I play a burned CD in my car stereo, the songs have a "skipping" sound to them on the low-volume levels of the audio. I use K3b as my burning software, and it seems to be the best, but am I wrong? Is this a common problem?
DVD's: Specifically video DVD's. After converting the .avi to an image file using DeVeDe Creator, it gives me a file that has the .iso and I burn the disc using K3b. It's really hit or miss.
The question: is there a way to test the performance of my DVD burner to make sure it's working properly? Is there a way to calibrate the mechanism? I have a new External DVD/CD burner that supports "LiteScribe" (I could be mistaken on the name, but it's a technology that allows you to create a picture on the opposite side of the disc), but my INTERNAL is a 5 year old Lite-On.
View 4 Replies
View Related
Feb 26, 2010
Is there a unique command ( common to all Linux Distros, Solaris, Windows ) to know whether a service is installed and running on my system or not??
View 5 Replies
View Related
Jul 11, 2011
I have a game server running using java, and it tends to crash sometimes, and only way to start it now is manually, so i thought i could create a script to check periodically if java is running, and if it isn't, run my startup script for the game server also, if it's possible it should log when it actually started the server startup script into a text file or something, so i can check why it crashed.
View 6 Replies
View Related
Dec 17, 2010
Cannot activate Task Manager.
Message: 'Check if your dcopserver is running'
(ASUS Eee Netbook)
View 1 Replies
View Related