cozy-docker icon indicating copy to clipboard operation
cozy-docker copied to clipboard

Postfix issues

Open bnjbvr opened this issue 10 years ago • 4 comments

I can't seem to be able to send any email from my docker hosted cozy. Adding information as I find them:

  • rsyslog was stopped, had to start it by hand. Not sure if I did actually stop it once, or if it's set up to not start on a fresh instance. Not related to sending mail, but related to how to debug them :D
  • the chrooted environment is missing some links, for a reason I ignore: /var/spool/postfix/etc should contain a copy of /etc/services and /etc/resolv.conf

bnjbvr avatar Oct 12 '15 15:10 bnjbvr

Ok, so I assume your PR is fixing this issue ? https://github.com/cozy-labs/cozy-docker/pull/16

Kloadut avatar Oct 13 '15 17:10 Kloadut

Yes it does! (at least for the postfix bits, not the rsyslog not being started bits)

bnjbvr avatar Oct 13 '15 17:10 bnjbvr

Okay ! I'll test this right away

Kloadut avatar Oct 13 '15 17:10 Kloadut

Anyhow, it seems the configuration of the postfix instance was done in a weird way, as it doesn't have any files inside the /etc chroot. I've seen on ubuntu that when installing, if you chose the first option when configuring postfix for the first time (there's an ncurses interface showing up, it might be skipped on docker), it wasn't copying anything inside the chroot. Could that be the issue?

bnjbvr avatar Oct 13 '15 17:10 bnjbvr