Slow sending of email (using PHP)

locateMe

Verified User
Joined
Feb 12, 2004
Messages
44
I have a website on the server that uses PHP to send out an email upon request by the web site visitor.

These emails are taking forever to be sent - between 15 and 30 minutes.

Is there are setting somewhere or a configuration that might be affecting this and how can I set it to process and send emails immediately?

Any suggestions are welcomed.

Steve
 
Maybe...

I checked the mainlog file and there is a repeating error appearing saying that etc/exim/exim_outgoing.conf cannot be found.

I found a copy in etc/ so should I create a dir called exim in etc and copy it or can someone tell me where Exim is being told to find it?

What affect would not finding exim_outgoing.conf have?

Thanks

Steve
 
Sounds like you are trying to use MailScanner or something similar and never created a different exim.conf for your outgoing email. By default DA_exim only installs /etc/exim.conf and and that is used for incoming and outgoing emails. If you are getting and error about exim_outoing.conf then you need to reread the directions for the scanner you are trying to use.
 
Of course - yes I installed MailScanner

I have created the required Dir and copied the exim_outgoing.conf into it and the error has disappeared but it is still processing email every 15 minutes so I'll have to try and remember how I configured it.

Thanks

Steve
 
Read the *** manual :p

The standard exim.conf you probaly have changed is set to QUEUE ONLY, so MailScanner can handle the delivery.

The exim_outgoing is an exact copy of the original exim.conf without the QUEUE_ONLY options. You probaly copied the queued exim conf. Remove the lines that you've added in first place out of exim_outgoing.conf as this one isn't handled by MailScanner, so it shouldn't queue them.
 
Back
Top