Jump to content

james_4k2

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

Everything posted by james_4k2

  1. Thanks Steve and Brendan for the reply and I tried ur suggestion and still no luck. Here is the output of my maillog found in /var/log/maillog Jul 8 13:27:24 myserver sendmail[1958]: n68HRO0e001958: from=test@test.com, size=165, class=0, nrcpts=1, msgid=<200907081727.n68HRO0e001958@clearica>, relay=root@localhost Jul 8 13:27:24 myserver sendmail[1961]: n68HROIu001961: from=<test@test.com>, size=373, class=0, nrcpts=1, msgid=<200907081727.n68HRO0e001958@clearica>, proto=ESMTP, daemon=MTA, relay=clearica. [127.0.0.1] Jul 8 13:27:24 myserver sendmail[1958]: n68HRO0e001958: to=myemail@gmail.com, ctladdr=test@test.com (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30165, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n68HROIu001961 Message accepted for delivery) Jul 8 13:27:25 myserver sendmail[1963]: n68HROIu001961: to=<myemail@gmail.com>, delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=120373, relay=111.11.1.111, dsn=5.1.2, stat=Host unknown (Name server: 111.11.1.111: host not found) Jul 8 13:27:25 myserver sendmail[1963]: n68HROIu001961: n68HRPIu001963: DSN: Host unknown (Name server: 111.11.1.111: host not found) Jul 8 13:27:25 myserver sendmail[1963]: n68HRPIu001963: to=<test@test.com>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31569, relay=111.11.1.111, dsn=5.1.2, stat=Host unknown (Name server: 111.11.1.111: host not found) Jul 8 13:27:25 myserver sendmail[1963]: n68HRPIu001963: n68HRPIv001963: return to sender: Host unknown (Name server: 111.11.1.111: host not found) Jul 8 13:27:25 myserver sendmail[1963]: n68HRPIv001963: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32593, dsn=2.0.0, stat=Sent
  2. Greetings, I have a server with CentOS 5 and I have to send email using a php script from that server. The php mail script works in other location but in one location I have to use their smtp relay IP in order to send emails. I have tried to configure sendmail.mc but still no success. If I send just a test hello mail through telnet then it works but not with a php mail function. here is my maillog- Jul 5 20:10:42 xxx sendmail[16714]: n660AgwO016714: n660AgwP016714: return to sender: Host unknown (Name server: 101.1.1.101: host not found) Jul 5 20:10:42 xxx sendmail[16714]: n660AgwP016714: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32592, dsn=2.0.0, stat=Sent Any suggestion will be helpful. Thanx in advance
  3. Hi, I am using CentOS 5.2 with GUI disabled. My client is saying that they are sending packets thorugh port 104 whereas we are not recieving it. So does anyone know about a command line tool which I can install in my server and listen to all the packets/traffic at port 104? Thanks in advance
  4. Hi MICRO, I have CentOS 5.2 and Mysql 5.0.45 Thanks for the reply
  5. Hi, I am new to mysql , unix. I have a serer with PHP, MYSQL and linux in it. Additionally i have to install an apllication which tells me that i have to make sure mysql shared object is included in my platform's dynamiclibraray load path and export LD_LIBRARY_PATH=/usr/lib/mysql and I have no idea what is that and how to do that. please check this link http://www.interfaceware.com/manual/mysql_unix_iguana_older.html please help me if someone knows about the solution. oh my mysql version is 5.0.45 I have also posted this in the mysql section because i was not sure which is the right place for it. Sorry about that thanks
  6. Thanks thorpe and steviewdr, i just used pscp and it worked like a charm. thanks a lot guys
  7. Hi, I have a server which I can access remotely using putty. It has CentOS in it and the GUI is disabled. Now I am trying to transfer a tar file into that server using ftp or wget. Ftp does not connect, zip file does not transfer and my last option is get tar file using wget. This works in a weird way, no matter how big is the tar file , it downlaods 97% of file in one session and then get the remaining 3% in second wget session. As a result I cannot untar the files successfully. It can be a firewall issue which I am not sure of but if not then please let me know the solution if anyone knows it. It has now become a nightmare for me. Thanks
  8. Hi , The second part is working but still cannot figure out the first part. I can change the bgcolor of tables but not the entire email.
  9. Hi, I have a problem and the solution may be very simple but I am not able to find it. I have an automatic php email generated by a server. The email has html embedded in it because the email is suppose to have tables and text both. I have also added the MIME header to make it as HTML format email. ***** $header = "MIME-Version: 1.0"; $header = $header . "\r\nContent-type:text/html;charset=isp\o-8859-1"; $header = $header . "\r\n"; $header = $header . 'From: abc at yahoo dot com'."\r\n"; ***** Now I have two tasks to do. 1. Have to set the background color for the entire email. Have tried <BODY bgcolor="#FFFF00"> just after the <HTML> tag but still it doesnt work. 2. As the email have multiple tables so I have to make hyperlinks or to be more specific anchors at the top so when the user clicks on the anchor for a particular table, he should be directed to that table in the same email page.(I can find this thing in simple html or php webpage but cannot find in an html based php email.) if anyone know about it then please let me know. Thanks
  10. Thank you Webster08, I will try this
  11. Hi there, <input type="button" value="Hello" onclick="changeWindow('http://google.ca');" style="width: 200px;" /><br/><br/><br/> i have a button in javascript onclicking to which a new window should open which consist of a webpage and some custom text at the top of webpage. As shown above google will open and in that new window I have to display at the top some text.Ex. " have a good day" . Note- I am using javascript in php Please suggest something if anyone know the solution. Thanks in advance
  12. james_4k2

    Taking image?

    Hi, I have a server which has CentOS installed and the GUI is disabled at the time of install. Now I have to backup the hard drive by taking image of it. But I dont know how to do it using command line and what application can be used for it? Initially I want to take the image and store it somewhere in the hard drive itself and then I will transfer the image to a windows system so that I can burn dvd using the dvd burner in my windows system. If any one have idea about how to do it, then please let me know. Thanks in advance
  13. Hi, I have installed php in opensuse and I am having this error - "Fatal error: Class 'HttpRequest' not found" did some google on it and found that i have add a module http_request.dll but this is for windows where as I have linux server. So need some help on this issue. Thanks in advance
  14. Hi there, I have to convert August 8, 2008 to MySQL format which is yyyy-mm-dd using php. Can someone give me advice on this. Thanks in advance
  15. thanks a lot nrg_alpha. U saved me. have a nice day
  16. Hi to all, I am a new php programmer and I am stuck with a problem. <?php $f=fopen("http://www.health.gov.on.ca/english/providers/program/ohip/sob/schedule_master.html","r"); ?> My task is to write a script which will go to the above mentioned link and then search for the effective date. Currently if you visit the website then the effective date is June 5, 2008. I also have a database which has current date and new date column. so my script should search this website everyday and match it with the database. If the new effective date is different from current date stored in db then it should change the current date. I have tried a lot of things and then came across regex so if some one can help me out or give me a direction to move then I will be very greatfull. Thanks in advance
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.