This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Dovecot Error Help Please!
#1
Dovecot Error Help Please!
Hi all,

Have been a runnning a Sentora setup since Zpanel day's but recently had to do a complete re-install due to SSD Failure.

Since the re-install everything is humming away beautifully but i am finding the following error in my dovecot.log :

2020-02-28 00:31:08lda(admin@mydomain.com): Warning: sieve: file storage: Active sieve script symlink /var/sentora/vmail/mydomain.com/admin/dovecot.sieve is broken: Invalid/unknown path to storage (points to /var/sentora/vmail/mydomain.com/admin/sieve).

(Domain name changed to protect the innocent!)
I am not a Native linux person and more a ms-dos / os2 user so have spent literally hours trying to figure out what the issue could be and would really like to solve it to have the "Perfect Sentora Setup".

Here's a copy of my dovecot.conf - dovecot -n

# 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.24 (124e06aa)
# OS: Linux 3.10.0-1062.12.1.el7.x86_64 x86_64 CentOS Linux release 7.7.1908 (Core) xfs
# Hostname: panel.mydomain.com
auth_mechanisms = plain login
debug_log_path = /var/log/dovecot-debug.log
dict {
  quotadict = mysql:/etc/sentora/configs/dovecot2/dovecot-dict-quota.conf
}
disable_plaintext_auth = no
first_valid_gid = 12
first_valid_uid = 997
info_log_path = /var/log/dovecot-info.log
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = *
lmtp_save_to_detail_mailbox = yes
log_path = /var/log/dovecot.log
log_timestamp = %Y-%m-%d %H:%M:%S
mail_debug = yes
mail_location = maildir:/var/sentora/vmail/%d/%n
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext
passdb {
  args = /etc/sentora/configs/dovecot2/dovecot-mysql.conf
  driver = sql
}
plugin {
  acl = vfile:/etc/dovecot/acls
  quota = maildir:User quota
  sieve = ~/dovecot.sieve
  sieve_dir = ~/var/sentora/sieve/
  sieve_global_dir = /var/sentora/sieve/
  sieve_global_path = /var/sentora/sieve/globalfilter.sieve
  sieve_max_script_size = 1M
  trash = /etc/sentora/configs/dovecot2/dovecot-trash.conf
}
protocols = imap pop3 lmtp sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  }
  unix_listener auth-userdb {
    group = mail
    mode = 0666
    user = vmail
  }
}
service dict {
  unix_listener dict {
    group = mail
    mode = 0666
    user = vmail
  }
}
service imap-login {
  inet_listener imap {
    port = 143
  }
}
service imap {
  vsz_limit = 256 M
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  process_min_avail = 0
  service_count = 1
  vsz_limit = 64 M
}
service pop3-login {
  inet_listener pop3 {
    port = 110
  }
}
userdb {
  driver = prefetch
}
userdb {
  args = /etc/sentora/configs/dovecot2/dovecot-mysql.conf
  driver = sql
}
protocol lda {
  mail_plugins = quota sieve
  postmaster_address = admin@mydomain.com
}
protocol imap {
  imap_client_workarounds = delay-newmail
  mail_plugins = quota imap_quota trash
}
protocol lmtp {
  mail_plugins = quota sieve
}
protocol pop3 {
  mail_plugins = quota
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_uidl_format = %08Xu%08Xv
}
protocol sieve {
  managesieve_implementation_string = Dovecot Pigeonhole
  managesieve_max_compile_errors = 5
  managesieve_max_line_length = 65536
}

======================================================================

Any Help would be very much appreciated!
Thanks.
Reply
Thanks given by:
#2
RE: Dovecot Error Help Please!
So, i gather that due to no replys to my post that none of you Sentora "Tech gurus" can help to shed some light on the above problem..

Ok then, can any of you help me with directions to setup Sentora behind and Nginx reverse proxy server with SSL capability. Sentora is already up and running but need to access an Internal server on a different port but still have use of SSL access.
Was told by Tgates:

Quote "I had set this up once many years ago but no longer have any idea how I did it. Did you search the forums? There may still be a post about it somewhere."
-TGates - Head of Support.

I have searched the forums, top to bottom and cannot for the life of me find anything to do with setting up Sentora with SSL to run behind a Nginx reverse proxy server...

Can any Sentora "Gurus" help with this one please??  Huh
Reply
Thanks given by:
#3
RE: Dovecot Error Help Please!
It's saying the symlink to the other folder is non-existent or the folder isn't there.
Sentora uses some different file paths and locations which we add 'symlinks' during installation to point to the proper files/folders. It seems that the symlink may have not been created properly.

Me.B may be able to guide you on how to reset the symlink with a simple command line entry or two.

Issues like this can be caused by not installing Sentora as actual root user (like using sudo instead of root user).
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
user: 'postfix' host: 'localhost' (Got an error reading communication packets) cezars 0 2 ,784 02-01-2022, 08:58 PM
Last Post: cezars
suhosin.session.encrypt error With Https MET4LG0D 7 30 ,514 04-05-2020, 09:38 PM
Last Post: iraqiboy90
can not send email - SMTP error on roundcube wolvepy 9 31 ,782 01-03-2020, 08:37 AM
Last Post: Telepuzik

Forum Jump:


Users browsing this thread: 2 Guest(s)