1

I have a chef environment on my system, which is running Ubuntu Linux 12.10. I cannot seem to get chef configured correctly to do send_mail in Django/Python. Where do I look. What do I need to configure chef to do this? My Python/Django code is fine.

4

1 に答える 1

1

You need to make sure postfix is set up in chef first. If not, log into your VM were chef is running:

sudo apt-get install postfix

Then gedit, nano, VIM, or whatever you prefer into main conf file:

sudo vi /etc/postfix/main.cf

Finally, see what your relay host is set to and alte it to the email bo you wnt the contact emails to go:

relayhost = mail.your-admin-email.com

See if that doesn't fix the issue for u.

于 2013-02-18T19:15:58.647 に答える