I'm running Debian 4.0r5 on my server and I installed sendmail. As the server is going to be used for my website, I've coded in my website a feature to 'resend user info' that uses mail() in PHP.
What the issue is that sendmail takes too long to start up when the server is booting. I need to set sendmail to send email through my ISP's mail server.
Is this possible? I found a idea googling, and this is what it said:
I looked at sendmail.cf and didn't find that. Can anyone help? Thanks! :)Quote:
Edit this line from
Add your isp, "smtp.local.isp" is only an example
Be careful not to remove the quotation marks from (`SMART_HOST',`smtp.local.isp') if you look closely they are not all the same
Remake sendmail.cf, restart sendmail