Hi all,
My new testing instance of Alaveteli
https://test.nuvasuparati.info/ has
an issue: postfix will run mailin with only a limited PATH variable that
has only two locations: /bin and /usr/bin and I want it to be ran with
the entire PATH variable of my user which contains also
/home/deploy/.rbenv/shims besides the usual /usr/bin:/bin. How can I do
this?
mailin does not see rails since it does not see the rbenv gems so it all
fails. If I run mailin with the deploy user and not trough postfix it
works (at least it sees rails and other gems).
sudo su - deploy
cat /tmp/foi-mailin-mail-yyN6AMqL | script/mailin
I asked the question on SO since it is postfix related and I posted more
details there.
http://stackoverflow.com/q/35874667/1387563
On my old Alaveteli instance I have exim4 and configs are different
there and I cannot reuse them.
PS: I configured the whole testing server including the DKIM DNS entries
with Ansible. The plan is to add Let's Encrypt to the Ansible tasks and
have automated HTTPS certificates :)
dig TXT rsa1._
domainkey.test.nuvasuparati.info.
Thank you,
Andrei Petcu