Jeremy Selph's picture

Not sure if there is something I need to configure but looking at other posts I have gotten this far.

From the webmin panel > system > php configuration > manage /etc/php5/apache2/php.ini

I chnaged under other settings

path to command for sending email to /usr/sbin/sendmail -t -i

Is there something else I need to do? Because no emails have been recieved and no errors either.

Jeremy Davis's picture

Hi, this is not my area of expertise at all but I am happy to try to help.

I don't really understand what you are trying to do though?

Jeremy Selph's picture

I have lamp setup at my feet in an old p3 pc and works great. I am using it as a testing server for websites, php etc. What I want to do is make it so that I can test the contact pages of the websites by sending emails. I cant seem to get this feature to work. Is it with lampp or ports on my router? I am not sure where to start?

Alon Swartz's picture

The current lamp appliance does not include an MTA (eg. postfix), so you will either need to install and configure one yourself (see ubuntu docs for reference), or setup your php application to use a remote smtp server.

I hope the above helps a little, but the more information you can provide about what you have tried, and what is not working would be helpful.

BTW, the lamp appliance in our upcoming release will include an MTA out of the box.
Jeremy Selph's picture

Should I wait until the new Lamp comes out? or Try to install an MTA myself.

Alon Swartz's picture

We are working really hard to get the upcoming release out the door. Shouldn't be too long... But, that is no reason to wait. As I mentioned before, you should either install an MTA or configure your app to use a remote SMTP server.

Both options are relatively easy to accomplish, for example, installing postfix should be as easy as:
apt-get update
apt-get install postfix
apt-get install webmin-postfix # if you would like a GUI config
and performing minor configurations according to your required setup.
Note: you should update the configuration to have it bind to localhost if you do not require it to serve other clients.

Good luck!

Add new comment