Default SMTP server [Ubuntu, Apache]
hi
If I install Windows WAMP5, I choose the default php.ini setting smtp provider. All mail that I send with php is sent through the specified php.ini smtp provider
Is there something in the Apache Linux? I try now to send my mail, but that's just not natural, because I first have to give an SMTP.
what would be easiest if I just can configure 1x in one. Conf file or else?
Re: Default SMTP server [Ubuntu, Apache]
hi
to send mail Php default local host ,the simplest is in order to install Postfix and configure it so the mail relay from your provider.
use Just in main.cf
Code:
1 relayhosts = [smtp.provider.ergens] relay hosts = [smtp.provider.ergens]
It is much easier than it seems. Just always be careful that you do not open mail relay, that can be prevented by:
Code:
1 mynetworks = 192.168.0.0/24 mynetwork = 192.168.0.0/24
So that only mail from your home network can be sent.
Re: Default SMTP server [Ubuntu, Apache]
Self just double checked. This is in the php.ini on my debian installation:
code:
http://gallery.techarena.in/data/516/126.JPG
When I look I see that php on Unix / Linux standard (which also sendmail installed under the bonnet, if it is his own version of sendmail ..) used to send mail. . On Windows I can configure the host + port. How is this exactly? . I am also curious about it as the web admin.:rolleyes: