View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-08-2013, 01:56 AM   #1
Registered: May 2010
Posts: 133

Rep: Reputation: 16
Webmail interface could not log on to timsieved

I ported a mail server from RHEL4 to RHEL6 (Red Hat Enterprise Linux Server release 6.3). It has a cyrusd running and email via IMAP works in principle fine.
My problem is with a Squirrelmail webmail interface on another RHEL6 server. It connects fine to the mailserver and can send and receive emails. The problem is with the avelsieve plugin. As soon as I enable it the interface reports to any logged in user:

"Could not log on to timsieved daemon on your IMAP server
Please contact your administrator."

The plugin worked with the old server and the new one has - to the best of my knowledge - the same IP, hostname and firewall settings (port 2000/tcp is open).
Currently I am trying to get version 1.9.9 (alpha) running where as far as I remember 1.9.8 (alpha) was the version that worked before on the old server (but not on the new one either).

I can ping the server and the telnet connection looks fine:
 # telnet 2000
 Connected to
 Escape character is '^]'.
 "IMPLEMENTATION" "Cyrus timsieved v2.3.16-Fedora-RPM-2.3.16-6.el6_2.5"
 "SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify envelope relational regex subaddress copy"
The settings in /etc/imapd.conf are:
sievedir: /var/lib/imap/sieve
sieve_maxscriptsize: 512
Where these are the permissions for the sieve directory:
# getfacl /var/lib/imap/sieve
getfacl: Removing leading '/' from absolute path names
# file: var/lib/imap/sieve
# owner: cyrus
# group: mail
The user running the imap daemon is indeed cyrus:
# ps aux | grep imap
cyrus      461  0.0  0.1 119000  3460 ?        S    Jan07   0:10 imapd -s
My settings in /etc/cyrus.conf are:
  # add or remove based on preferences
  sieve         cmd="timsieved" listen="sieve-filter" prefork=0
I tried also "sieve" and "" instead of "sieve-filter".

I disabled TLS in my /usr/share/squirrelmail/plugins/avelsieve/config/config.php
$sieveport = 2000;
$avelsieve_disabletls = true;
I even disabled the firewall completely but this did not help. Do you have any ideas which settings I could try or how to debug the problem? It is urging me quite a lot (although you need not to be urged of course) because lots of users need to disable their vacation responders after the holidays.
Old 01-08-2013, 07:59 AM   #2
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Did you cross checked SeLinux related settings . I mean to say SeLinux is in enabled state or its in disabled state .

root# sestatus

Old 01-08-2013, 08:50 AM   #3
Registered: May 2010
Posts: 133

Original Poster
Rep: Reputation: 16
# sestatus 
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted
The debug mode of the avelsieve plugin is not very helpful for me by the way:
(Debug Mode). Login failed. Capabilities:ERROR:
Could not log on to timsieved daemon on your IMAP server
Please contact your administrator.

Last edited by XXLRay; 01-08-2013 at 09:03 AM. Reason: Addition
Old 01-08-2013, 09:44 AM   #4
Registered: May 2010
Posts: 133

Original Poster
Rep: Reputation: 16
Got it back running. The utilized sieve port has changed from 2000 to 4190 between RHEL4 and RHEL6 furthermore I had to explicitely allow plaintext for saslauth in my imapd.conf.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
450 errors sending mail on centos+ostfix+dovecot+amavisd via webmail interface sneakyimp Linux - Software 2 06-03-2008 03:29 PM
sendmail webmail interface kafnir Linux - Networking 2 03-29-2007 11:25 AM
Users can't log into Webmail - Error 500 Twistedlizzard Linux - Software 17 06-14-2005 05:37 AM
Webmail interface for POP3 mail.. Has it been done? sedulous Linux - Software 18 05-17-2004 10:40 PM
Webmail Interface johnlee Linux - General 1 01-21-2002 01:31 AM

All times are GMT -5. The time now is 06:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration