Restore email not shown
Hi,
I’m having trouble with emails restore.
I can download zip archives of selected emails after installing php-zip but I can’t see the icon
SMARTHOST is defined, I also defined IMAP_HOST and ENABLE_IMAP_AUTH
If anyone as an idea
regards
Jérôme
Comments (11)
-
reporter -
repo owner I doubt that either SMARTHOST or ENABLE_IMAP_AUTH is set. Show me the following output:
grep SMARTHOST /usr/local/etc/piler/config-site.php
(Or wherever your config-site.php is)
-
repo owner Thanks. I suggest you to remove your last comment because I didn’t ask for the contents of config-site.php and thus sharing your passwords, domains with the world.
Anyway run the following command (and share only its output)
grep config-site.php /var/piler/www/config.php
-
reporter Damned, I made wrong copy/paste .. sorry (it’s only a test plateform won’t stay up really long)
root@cu-mailpiler:/home/jlagrue# grep SMARTHOST /var/piler/www/config-site.php $config['SMARTHOST'] = '10.1.5.11'; $config['SMARTHOST_PORT'] = 25;
-
reporter ok .. I got it I think.
In config.php I have this line :
require_once '/etc/piler/config-site.php';
I move config-site.php in /etc/piler/ and it’s good now
-
repo owner - changed status to invalid
-
reporter Hi,
I’m re-opening this thread because I’ve installed a new piler server.I’m having the problem but this time I’ve check that config-site.php is in /etc/piler
Config files are (almost) same as the other server (almost mostly because hostid is not the same)
It seems to come from piler.conf because when I download eml file, I have an error message saying
“error parsing the configfile: /etc/piler/piler.conf”
But I can’t figure out where is the problem.
Here is my /etc/piler/piler.conf
archive_emails_not_having_message_id=0 archive_only_mydomains=0 backlog=20 cipher_list=ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS clamd_socket=/tmp/clamd default_retention_days=3670 enable_chunking=0 enable_cjk=0 enable_folders=1 encrypt_messages=1 extra_to_field=X-Envelope-To: extract_attachments=1 helper_timeout=20 hostid=archives.xxxxxx.com listen_addr=0.0.0.0 listen_port=25 max_connections=64 max_requests_per_child=10000 memcached_servers=127.0.0.1 memcached_to_db_interval=900 memcached_ttl=86400 min_message_size=100 min_word_len=1 mmap_dedup_test=0 mysql_connect_timeout=2 mysqlcharset=utf8mb4 mysqldb=piler mysqlpwd=Aiv7QqB92MsmYC mysqlsocket=/var/run/mysqld/mysqld.sock mysqluser=piler number_of_worker_processes=6 pemfile=/etc/piler/piler.pem pidfile=/var/run/piler/piler.pid piler_header_field=X-piler-id: process_rcpt_to_addresses=0 server_id=0 smtp_timeout=60 spam_header_line= syslog_recipients=0 tls_enable=1 tweak_sent_time_offset=0 update_counters_to_memcached=1 username=piler verbosity=3 workdir=/var/piler/tmp
If you have any idea
regards
Jerome
-
repo owner - changed status to open
-
repo owner Show me ls -la /etc/piler/piler.conf output. Make sure it’s owned by root:piler with 0640 permissions on it.
-
reporter I feel so ashamed .. I did not check this point ! owner was good but with 600 permissions .
Changed to 0640 and everything run correctly!
I hope next time I’ll install one I won’t do the same
have a good day
Jerome
-
repo owner - changed status to closed
- Log in to comment
forgot to say that I already look at
https://bitbucket.org/jsuto/piler/issues/142/restore-email
https://bitbucket.org/jsuto/piler/issues/981/missing-restore-icon-on-search-result-page