PDA

View Full Version : Slow sending of email (using PHP)



locateMe
06-11-2004, 08:05 AM
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

locateMe
06-11-2004, 08:24 AM
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

toml
06-11-2004, 10:05 AM
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.

locateMe
06-11-2004, 04:10 PM
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

Firehosting
12-21-2004, 03:39 PM
I have the same problem here...

How do you resollved this?
I can't find it...

Many thanx,
Marcel.

fusionictnl
12-22-2004, 12:19 AM
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.