TurnKey Linux Virtual Appliance Library

Cant send email for lampp

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.

anyhelp?

anyhelp?

Jeremy's picture

What are you trying to do?

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?

I will explain

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

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.

so what do you think?

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

How long will it take for the

How long will it take for the new lamp applianceto come out?

i need this real bad...

 

ty

Alon Swartz's picture

No reason to wait...

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!

How much mail will it have?

I have been working on mail for the past couple of months, with no luck, kinda glad I'm not alone.

I have a full function email server appliance that does all the mail for us. I figured it best to keep it as simple as possible and let the mail server do the mail stuff and the LAMP server doing the LAP stuff ...not a typo - the MySQL server does the M stuff   :o)

I tried to install SSMTP but had no luck; I then tried NBSMTP, also no luck. Bit of a linux noob here, I probably missed something in the configuration.

I can also appreciate the need for greater functionality, if you dont have access to a mail server. Will you be adding a basic 'get the mail off the system' or will be be full function mail handling? ...or does that exceed the definition of LAMP ? (LAMP+IMAP+POP+SMTP = LAMPIPS? )

Alon Swartz's picture

Yes, a mail appliance will be featured in upcoming release

Yes, a mail appliance will be featured in our upcoming release.
On the other hand, if all you want is a way to "get mail", take a look at getmail4 - its a great tool I've been using for years.
apt-get update
apt-get install getmail4

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)