TurnKey Linux Virtual Appliance Library

postfix setup

homer15's picture

how much of postfix is automatically configured out of the box with a turnkey appliance?  what steps do i need to take to start receiving emails?

Liraz Siri's picture

A few tips

With some appliances (e.g., LAMP) postfix is configured to support sending out emails. For security reasons we bind postfix to localhost by default so other servers can't connect to it to send you emails.

In other words, if you want to receive emails you'll need to tweak the configuration a bit:

  • Set inet_interfaces to 'all' instead of 'localhost'
  • add your domain to mydestination (or virtual_alias_domains as the case might be)
  • set up the DNS MX record to point to the appliance.

Also, unless you are rerouting mail to another server, you'll want to install an IMAP or POP3 server such as dovecot so you can get at those emails once you receive them.

Cant use it in Joomla

Configration
Joomla 1.5 appliance
on VirtualBox, host OS win. XP
adapters NAT and host only
This is a test environment on a local system connected to internet

i can ping external sites with webshell, update webmin and joomla, CURL works well...
However cannot send n receieve emails... Neither the joomla accont verificatino mail is able to send outside, not any email by a sipmle feedback foorm, which works perfect on online servers of thirdparty hosts...

how can i enable the system to send and recieve mails???  

Cant use it in Joomla too

I have the same problem here as fookra... joomla does not send out emails.

i can ping external sites with webshell, update webmin and joomla


Is there something we are missing for email configuration?

 

Configration
Joomla 1.5 appliance
on KVM/QEMU, host OS ubuntu 12.04
adapters NAT and host only, fixed IP address
 

can postfix sendmail w/o having mysql and apache loaded?

I'm use the core to install http;//project-open.org and for some reason i have not been able to configure postfix as a local server to send mail. I get a socket 2 error.

So, i'm thinking that there may be some postfix requirement for mysql that i may need to setup. In other words I'm looking for the standard install proceedure for install postfix on turnkylinux core without apache and mysql. I'm using postgresql and aolserver.

Jeremy's picture

Should be possible

Have a look at the Debian Postfix Wiki to get you started (TKL v12.x is based on Debian 6.0 - so anything that works for Debian 6.0 should work on TKL). I would imagine that there are setup instructions available for project-open.org but google is probably quite a good resource for that sort of thing too.

POSTFIX

Hy guys

So I'm trying to use postfix to send emails from joomla.

What do i set in the :

 

  • from email
  • smtp username
  •  

Omar S. Ahmed

Jeremy's picture

It should be all preconfigured

TKL appliances have Postfix already preconfigured so all you should need to do is configure the info in Joomla itself...

I messed up the main.cf

So I messed up the default main.cf, where can I get the one preconfigured for turnkey LAMP (Debian Version)

Omar S. Ahmed

Adding Other Appliances

Btw, how can I add another appliance to my existing setup, I have LAMP, but I want to add CANVAS and Others

Omar S. Ahmed

Chris Musty's picture

Use Bridged interface not NAT

Or you will have issues sending out emails!

Chris Musty

Director

Specialised Technologies

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)