[PHP] PHP not able to send email

2001-12-17 Thread Peter

Hi,

Recently, I have found that I have had a problem sending emails with
particular accounts on my RedHat Linux 6.2 server using Sendmail-8.9.3.

There are two examples of my inability to send email and I think they
are related.

I have a PHP script used to send email and the user rights of the file
containing the PHP script belong to a user called webuser (same as the
user of my Apache server).

When I use the script to send email, I noticed that the email was not
sent and when I checked the mail logs, I found the following:

Dec 17 12:59:16 ns sendmail[14686]: NOQUEUE: SYSERR(webuser): queuename:
Cannot create qfMAA14686 in /var/spool/mqueue

When I telnet into the machine, log on as webuser and try to use Pine
to send email , I noticed the following error occurs.

[Mail not sent. Sending error: 451 queuename: Cannot create qfQAA15157]

However I was able to resolve the problem in Pine by setting the
mail.visors.com.hk as my outgoing mail server.  Something that I never
had to do before yet still successful in sending out email.

The same thing happened to another account also, but these accounts were
just find previously.

I have been reported to have had a recent telnet attack , but I am not
sure if this could be the cause of it.

Most grateful if someone can shed some light on this for me?

Thanks

Peter



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP not able to send email

2001-12-17 Thread Andreas Landmark

On Mon, Dec 17, 2001 at 11:48:13PM +0800, Peter wrote:
 Dec 17 12:59:16 ns sendmail[14686]: NOQUEUE: SYSERR(webuser): queuename:
 Cannot create qfMAA14686 in /var/spool/mqueue
 

Your sendmail-setup is b0rked, check permissions on /var/spool and fix
sendmail, there's nothing wrong with PHP (read: this is offtopic).

-- 
Andreas D Landmark / noXtension
When I was in school, I cheated on my metaphysics exam: I looked into
the soul of the boy sitting next to me.
-- Woody Allen

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP not able to send email

2001-12-17 Thread Peter


WOW!  You were right!

It worked!

But how did it happen in the first place?

Thanks a lot for your help.

On Mon, 17 Dec 2001, Andreas Landmark wrote:

 On Mon, Dec 17, 2001 at 11:48:13PM +0800, Peter wrote:
  Dec 17 12:59:16 ns sendmail[14686]: NOQUEUE: SYSERR(webuser): queuename:
  Cannot create qfMAA14686 in /var/spool/mqueue
  
 
 Your sendmail-setup is b0rked, check permissions on /var/spool and fix
 sendmail, there's nothing wrong with PHP (read: this is offtopic).
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]