Page 1 of 1

mail() interfering with our mail server

Posted: Mon Nov 27, 2006 2:08 pm
by daedalus__
For the first time I have used the mail() function in a script and since then we have been having problems with our mail server. Everyone has been having trouble sending emails.

Do you think mail() could be causing this?

I will give more information about the problem as I have it.

Posted: Mon Nov 27, 2006 2:15 pm
by feyd
Did you send a large amount of mail out? Does everyone have to go through this mail() call?

Posted: Mon Nov 27, 2006 2:54 pm
by daedalus__
It sends emails to people who register on a website. So far that has been 12 people so the amount of emails is far from massive.

The users that are having trouble are the regular mail users; those who get their email using outlook, etc.

Posted: Mon Nov 27, 2006 2:56 pm
by feyd
Are these intermittent problems?

Posted: Mon Nov 27, 2006 3:48 pm
by daedalus__
From what I am told it happens about once a week and the only way they have found to fix it is by restarting the server.

Posted: Tue Nov 28, 2006 4:41 am
by ibbo
Whats your mail server?

Does your mail server require auth to send emails and does this happen using php's mail function? Have you trawled your mail logs for a glimpse of something amis?

Is there any reference to bad auth in them

cat maillog | grep auth

If you dont auth for sending how secure is your mail sending. Does it only send on new users been created or can it be accessed and used to send mailicious emails too?

ibbo