Forum: 

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

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.

Chris Primo's picture

Thanks a million.
Setting inet_interfaces=all and adding mymaildomain.org to the mydestination list sorted me out.

fookraa's picture

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???  

jake's picture

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
 

kenneth wyrick's picture

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 Davis's picture

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.

OMAR AHMED's picture

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 Davis's picture

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

OMAR AHMED's picture

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

Omar S. Ahmed

OMAR AHMED's picture

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

Or you will have issues sending out emails!

Chris Musty

Director

Specialised Technologies

Post new comment