Server :: Server Status Command Output Getting Dumped To Smtp Server Instead Of A File?
May 24, 2010
I am working on linux server with below specifications.Linux EDT 2008 i686 i686 i386 GNU/LinuxWhile checking the status of the server using the command 'opmnctl status' and when server is down the output is not getting redirected to file.I m using the command as,opmnctl status > abc.txt.
I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.
I have installed Ubuntu 9.10 server x64 and have got apache running.
I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.
iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.
I installed exim4 package on my debian server as MTA. Now I want to send mail with this by SMTP. But when I connect to this via telnet, it returns this banner:
my postfix to send and recive external emails, but many recive in trash folder.Other programer say me that is need some configurations in postfix with and dovecot to work, but i dont know what!This is my first time configuring a linux server at this week.
my main.conf sample_directory = /usr/share/doc/postfix-2.3.3/samples readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
I've got an uber simple test mail script in php on my awesome new dev machine running Ubuntu:
PHP Code:
Unfortunately, something is preventing mail delivery. I can't tell from this error log whether it's the remote machine rejecting me or whether it's my machine rejecting the self-signed cert on the remote machine:
Code:
I'm wondering what I could change in my postfix configuration to remedy this problem.
I tried setting smtp_tls_security_level = may = may but this did not change anything.
I'm trying to configure Postfix with a mail server that I programmed in C. The main.cf is set in this way :
Code: relayhost = [myMailServer.localhost] smtp_sasl_auth_enable = no smtp_use_tls = no disable_dns_lookups=yes smtp_never_send_ehlo = yes code....
I don't know why it doesn't receive response after HELO. In fact if I debug my mail server with gdb, I can see it sends a 250 response code. Moreover, I've tested my server both with traditional mail clients, as Thunderbird, and through telnet session and it works very well.
I have a server that runs on a static IP address with many hosting accounts. I am using the IspCP to manage the different sites. When a mail is sent, the headers include the box's own domain name: [URL]. Now [URL] is no longer active, so if an email from another account: [URL] sends mail, there is possibility that this mail is rejected by the receiver, if the receiver system does rDNS.
The receiving server will check the headers smtp sent from [URL] and come up as a fake, because [URL] is no longer registered. I wonder if there is a way to make the smtp headers reflect only the domain name that sent the mail. Then if joe sends mail, the server should replace[URL] with [URL]. If this is possible, then users that send mail will not get bounced because the rDNS lookup will map [URL] to the ip and the mail will be accepted.
we have qmail server installed on rhl 9. it was working perfectly fine for last 1 year. suddenly it stopped accepting emails from internet. when i telnet on port 25 it takes about 90 secs to show the SMTP ready state.I have tried many things
1. stopped Reverse DNS Lookup by adding -H to qmail-smtpd/run file 2. stopped spamassing and AV 3. reverified DNS server settings in resolv.conf 4. dig is resolving dns query properly.
i also observed that when i do telnet to telnet localhost 25 response is very quick
but when i do telnet local_server_IP_address 25 it takes aprx 90 secs to show me SMTP ready messege.
can someone shed some light on this as what should i do next to rectify this problem..
I come back to everybody cause I don't find an explicit how to do this!In our internal network, I've created an email server with Postfix and Dovecot. (Just for internal domain, no needed to go outside)
But I've some server which use linux too. All are on CentOS 5.5.I would like to configure these servers to use my internal mail server for send email, and not configure sendmail or postfix on each server.
What I've to do exactly on each servers to use it? I search on the web but I don't find something very explicit
I've got a server set up with Debian. The problem is that my ISP doesn't allow usage of port 25 (as I understand a lot of ISP's don't).I have PHP scripts hat use the mail() function to send e-mails through the Sendmail application.So, my question is: How can I relay messages sent to sendmail to an external SMTP server (like Google Mail, for example)? Would this be easier to do in the PHP configuration, or on the Sendmail side of things?I've used PEAR extensions in PHP to achieve this before, but scripts downloaded from the Internet generally just use the basic mail() function, and it would be a real pain to modify them all.
I've configured postfix on my linux server. For the most part, I got everything working (IMAP, apache, etc) but for some reason, I can't get postfix to work remotely. Postfix works locally to send mail. E.g. when I telnet locally to port 25. However, when I try to telnet from outside, the connection closes almost immediately. I've looked at various configuration options and tuning enhancements but found nothing helpful. Here is my config:
Code:
main.cf:
#See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default
I run my own mail server. There's only one part that isn't working and I can't seem to figure out why: sending mail from a client - in this case, Thunderbird.
I can send mail off-server just fine if I log in via telnet. I can receive email just fine with Thunderbird.
We're running a sendmail server on a fedora core 9 which we've configured recently. The problem is, the server is working fine but there are some e-mails that enter our server but doesn't get forwarded to the user.
Quote:
Quote:
Here it says "stat=Sent" but nothing from the above mail address has been received on the client's inbox. We've experienced this with Microsoft Outlook, Outlook Express and Thunderbird alike so far with Two(2) of our user accounts.
I met some problems when I set my new smtp server to the msmtprc file. I work in the HKUST and the mail asks for TLS authentication, I do not know where the problem is, but when I test the smtp server like this
Code: echo "test mail of UST" | msmtp -a default myname@ust.hk It just says Code: msmtp: TLS handshake failed: The
I have been having trouble figuring this out. I have a machine running CentOS 5 and I want to setup an SMTP server behind a router on a home broadband connection. I've read many guides but nothing too specific as to what I need to do. I want to use either sendmail or postfix, but I don't know if I should purchase an SMTP relay. If anyone could point me in the right direction it would be great. I also have bought a domain name that I want to use, but I just cant put all these pieces together as of right now.
is that my isp's smtp service is very poorso i want to configure my own smtp servr for my internal clients only for sending emails not receivingi have static ip on my router with 25 port forward i have configure sendmail on linux its working fine on local network mean its sending email on local domainnow i want to send emails on other external domains with my public ipMean user of mydomain.com should be able to send emails on all internet domains like yahoo.com, hotmail.com etc
I would like to implement something when a server is offline for whatever reason. For example. I got my own DNS servers and webservers. I would like it if the users goes to www.somedomain.com and the server it is actually on is down for maint. or For whatever not able to respond. What can be done so that if the server isn't able to be contacted that it can point to either a another server or the dns somehow can display a page stating who to contact to report a problem or to let them know its down for maint. And can goto a site to check the status or whatever.
I'm rather (VERY) inexperienced when it comes to Linux, but Fedora 14 is the environment I have to use on my laptop at work, so please forgive any dumb that comes out of me.
How do I tell php to send an email with mail() using an external mail server?
The situation: I've got apache/php running a webserver on my local machine. It's for dev purposes only, and the website files I'm using are checked out from our SVN. This lets me make changes to our website while not actually changing our website.
I've come across an issue I'm fixing where I need to verify that an email is successfully getting sent out, and unfortunately, this email is sent out using php's mail(), and not our website's usual $mail object. Unfortunately, I don't have the authority to change how this sends out right now, just when it sends out.
I've been running everything fine on my machine for a month now, and haven't needed the mail stuff until now. How do I tell php to send an email using an external server?
I have a recent install of Fedora14, and wanted to have outbound email sent to a smtp server elsewhere on the local network. I found the System->Preferences->Email Settings app and created a mail account with an smtp server. Now I am able to use mailx, mutt, and sendmail -- all send email correctly to the external server.
But I don't like being reliant on the GUI apps and wanted to know how this was done -- what system config files were affected. Assuming that my "smtp.xxx.com" server should show up somewhere, I grepped /home, /etc, and /var, but can't find it anywhere. On a whim I went into Evolution, deleted the mail account, and rebooted, but email STILL works. Where is this configured?
I need to show an output of the command "show interface status" executed on a server side in new window on client side. In other words: on client side web browser page I would like to have a link which I can click and get output of command "show interface ... status" in a new window. On web server script has to connect to switch/router, execute this command and send output to client window.
where to look, and, may be explain, what can be better for this purpose? I need a clue, because I have newer done it before. It should not be snmp, because I want to view many different outputs and snmp wont help me.
In order to have greater control over the emails sent out the company I imagined the following scenario.ScenarioDescribing in words what I need.ser sends an email to user@hotmail.com for example, using the smtp of my isp (is the internet).Before the email is sent, the firewall checks if the recipient is blocked transparent, if you are locked out rejects the email.I searched several forums and mailing lists, but did not find scenarios similar to mine.Where found situations in which the mail servers were internally in the company, which is not my case.
I am using CentOS 5.6 with Apache 2.2.17. The Apache was compiled from source using RPM build to comply with PCI requirements. Also Plesk 9.3 is used as a control panel, but other than the config files the Apache is pretty standard. When the httpd is started, there are no errors reported in /var/log/messages or in the error_log, and the httpd starts, shows up in ps and the pid file exists in /var/run/httpd.pid.
However when you check the status 'service httpd status' you get 'httpd dead but subsys locked'. You can add websites normally, and the proper config files are generated so I am pretty sure this isn't a control panel issue as I have other servers running the same control panel and Apache 2.2.16 compiled and installed the same way as the 2.2.17 and there are no problems.
This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
xx@xx.com SMTP error from remote mail server after initial connection: host [URL] [ip address]: 550 Access denied...