Re: [PHP] Re: Email not getting
It's trying to send a message to (somewhere)@aurica.com. But in any case, the output from the nslookup command suggests that your machine's DNS resolver is misconfigured. You'll have to get that sorted out before you can get much mail off the machine (not a PHP issue). miguel On Thu, 13 Jun 2002, Manisha wrote: If it is aurica.com then it is wrong as this is the name of Live server. But currently I am working on local linux server. (To access the server I use http://Linux-Server/index.php) Any way, following is the out put of the command ***Can't find server address for 'aurica.com': Host name lookup failure. Server: Linux-Server Address: 0.0.0.0 ***Linux-Server Can't give TYPE=MX : No response from server --- Manisha At 02:06 AM 6/13/02 -0300, Manuel Lemos wrote: Hello, On 06/13/2002 01:59 AM, Manisha wrote: I gave the command at root, I got some details -- Q-ID Size - Q-Time- Sender/Recipient file name67Thu Jun 13 11.22 nobody (host map: look up (aurica.com): deferred) [EMAIL PROTECTED] - What's the problem exactly? As I do not know much about Linux (Totally on windows), I am unable to figure out too. It looks like the your machine DNS does not seem to be properly configured. Type in the shell this command and tell me what it shows: nslookup TYPE=MX aurica.com -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Email not getting
Hello, On 06/13/2002 02:17 AM, Manisha wrote: If it is aurica.com then it is wrong as this is the name of Live server. No, the query is to figure what is the address of the SMTP server to which your machine sendmail program should deliver the messages and it is failing. But currently I am working on local linux server. (To access the server I use http://Linux-Server/index.php) Any way, following is the out put of the command ***Can't find server address for 'aurica.com': Host name lookup failure. Server: Linux-Server Address: 0.0.0.0 ***Linux-Server Can't give TYPE=MX : No response from server --- Sorry the correct command line is: nslookup -type=MX aurica.com Here it resolves to mail.aurica.com, but your system DNS configuration may not be correct. That SMTP server seems to be reachable from here too. Regards, Manuel Lemos Manisha At 02:06 AM 6/13/02 -0300, Manuel Lemos wrote: Hello, On 06/13/2002 01:59 AM, Manisha wrote: I gave the command at root, I got some details -- Q-ID Size - Q-Time- Sender/Recipient file name67Thu Jun 13 11.22 nobody (host map: look up (aurica.com): deferred) [EMAIL PROTECTED] - What's the problem exactly? As I do not know much about Linux (Totally on windows), I am unable to figure out too. It looks like the your machine DNS does not seem to be properly configured. Type in the shell this command and tell me what it shows: nslookup TYPE=MX aurica.com -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Email not getting
Hello, On 06/13/2002 12:07 AM, Manisha wrote: I am trying to send mail from Linux Redhat server through PHP. It is not giving me any error but I am not getting any mail too. Following is the code ? $mailBody = This is one line \ n This is a second line \n\n this is a third line; $boolMail = mail ([EMAIL PROTECTED], Test mail subj from local linux server - PHP, $mailBody); print (Email has been send ); ? - Even I checked the email files at /var/spool/mqueue - There are 2 files, one with message and one with lots of other info. But then why I am not getting the emails ? Why they are remaining in the queue ? Is there any setting required in php.ini ? Just use the mailq command in the shell to see why the messages are stuck. -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Email not getting
I gave the command at root, I got some details -- Q-ID Size - Q-Time- Sender/Recipient file name67Thu Jun 13 11.22 nobody (host map: look up (aurica.com): deferred) [EMAIL PROTECTED] - What's the problem exactly? As I do not know much about Linux (Totally on windows), I am unable to figure out too. Manisha At 01:51 AM 6/13/02 -0300, you wrote: Hello, On 06/13/2002 12:07 AM, Manisha wrote: I am trying to send mail from Linux Redhat server through PHP. It is not giving me any error but I am not getting any mail too. Following is the code ? $mailBody = This is one line \ n This is a second line \n\n this is a third line; $boolMail = mail ([EMAIL PROTECTED], Test mail subj from local linux server - PHP, $mailBody); print (Email has been send ); ? - Even I checked the email files at /var/spool/mqueue - There are 2 files, one with message and one with lots of other info. But then why I am not getting the emails ? Why they are remaining in the queue ? Is there any setting required in php.ini ? Just use the mailq command in the shell to see why the messages are stuck. -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Email not getting
Hello, On 06/13/2002 01:59 AM, Manisha wrote: I gave the command at root, I got some details -- Q-ID Size - Q-Time- Sender/Recipient file name67Thu Jun 13 11.22 nobody (host map: look up (aurica.com): deferred) [EMAIL PROTECTED] - What's the problem exactly? As I do not know much about Linux (Totally on windows), I am unable to figure out too. It looks like the your machine DNS does not seem to be properly configured. Type in the shell this command and tell me what it shows: nslookup TYPE=MX aurica.com -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Email not getting
If it is aurica.com then it is wrong as this is the name of Live server. But currently I am working on local linux server. (To access the server I use http://Linux-Server/index.php) Any way, following is the out put of the command ***Can't find server address for 'aurica.com': Host name lookup failure. Server: Linux-Server Address: 0.0.0.0 ***Linux-Server Can't give TYPE=MX : No response from server --- Manisha At 02:06 AM 6/13/02 -0300, Manuel Lemos wrote: Hello, On 06/13/2002 01:59 AM, Manisha wrote: I gave the command at root, I got some details -- Q-ID Size - Q-Time- Sender/Recipient file name67Thu Jun 13 11.22 nobody (host map: look up (aurica.com): deferred) [EMAIL PROTECTED] - What's the problem exactly? As I do not know much about Linux (Totally on windows), I am unable to figure out too. It looks like the your machine DNS does not seem to be properly configured. Type in the shell this command and tell me what it shows: nslookup TYPE=MX aurica.com -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php