Author |
|
Zolcsi Newbie
Joined: 30 May 2013 Location: Hungary
Online Status: Offline Posts: 6
|
Posted: 24 June 2013 at 8:09am | IP Logged
|
|
|
Hi folks,
I am running a Dovecot mail server with Dovecot Pigeonhole as the sieve server. When a user has no sieve rules (e.g. there are now sieve files in the users folder) afterlogic can successfully save the rules and everything works perfectly. However, for some reason, it fails to update existing files.
I've used telnet to log in to the sieve server, and I successfully modified a rule this way, so my sieve server is functioning properly.
Here is the relevant part of the log file:
[15:00:26.50] MANAGE-SIEVE[NOTE]: Start connection to "mail.somedomain.hu:2000"
[15:00:26.56] MANAGE-SIEVE[TIME]: 0.058319091796875 (raw connection)
[15:00:26.56] MANAGE-SIEVE[DATA]: < "IMPLEMENTATION" "Dovecot Pigeonhole"\r\n
[15:00:26.56] MANAGE-SIEVE[DATA]: < "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave"\r\n
[15:00:26.56] MANAGE-SIEVE[DATA]: < "NOTIFY" "mailto"\r\n
[15:00:26.56] MANAGE-SIEVE[DATA]: < "SASL" "PLAIN LOGIN"\r\n
[15:00:26.56] MANAGE-SIEVE[DATA]: < "STARTTLS"\r\n
[15:00:26.56] MANAGE-SIEVE[DATA]: < "VERSION" "1.0"\r\n
[15:00:26.56] MANAGE-SIEVE[DATA]: < OK "Dovecot ready."\r\n
[15:00:26.56] MANAGE-SIEVE[TIME]: 0.0036029815673828
[15:00:26.56] MANAGE-SIEVE[DATA]: > AUTHENTICATE "PLAIN" {36+}\r\n
[15:00:26.56] MANAGE-SIEVE[DATA]: > AHpvbGNzaUBpbnRlcnBvbnQuaHUAMTIzNDU2\r\n
[15:00:26.57] MANAGE-SIEVE[DATA]: < OK "Logged in."\r\n
[15:00:26.57] MANAGE-SIEVE[TIME]: 0.0030801296234131
[15:00:26.57] MANAGE-SIEVE[DATA]: > LISTSCRIPTS\r\n
[15:00:26.57] MANAGE-SIEVE[DATA]: < "sieve" ACTIVE\r\n
[15:00:26.57] MANAGE-SIEVE[DATA]: < OK "Listscripts completed."\r\n
[15:00:26.57] MANAGE-SIEVE[TIME]: 0.00018405914306641
[15:00:26.57] MANAGE-SIEVE[DATA]: > GETSCRIPT "sieve"\r\n
[15:00:26.57] MANAGE-SIEVE[DATA]: < {243}\r\n
[15:00:26.57] MANAGE-SIEVE[DATA]: < # Sieve filter\nrequire ["fileinto", "copy", "vacation"] ;\n\n#begin = filters =\n#sieve filter\n\n\n#sieve_filter:1;0;0;asd;3;INBOX.Egy\nif header :contains ["From"] "asd" {\nfileinto "INBOX.Egy" ;\nstop ;\n}\n\n#end sieve filter\n\n#end = filters =\nkeep ;\r
[15:00:26.57] MANAGE-SIEVE[DATA]: < \r\n
[15:00:26.57] MANAGE-SIEVE[DATA]: < OK "Getscript completed."\r\n
[15:00:26.57] MANAGE-SIEVE[TIME]: 0.00027799606323242
[15:00:26.57] MANAGE-SIEVE[DATA]: > CHECKSCRIPT {243+}\r\n
[15:00:26.57] MANAGE-SIEVE[DATA]: > # Sieve filter\nrequire ["fileinto", "copy", "vacation"] ;\n\n#begin = filters =\n#sieve filter\n\n\n#sieve_filter:1;0;0;asd;3;INBOX.Egy\nif header :contains ["From"] "asd" {\nfileinto "INBOX.Egy" ;\nstop ;\n}\n\n#end sieve filter\n\n#end = filters =\nkeep ;\r\n
[15:00:28.01] MANAGE-SIEVE[ERROR]: exception 'MailSo\Net\Exceptions\SocketReadException' with message 'MailSo-Net-Exceptions-SocketReadException (NetClient.php ~ 380)' in /public_html/mail.somedomain.hu/libraries/MailSo/Net/NetClient.php:380
Stack trace:
#0 /public_html/mail.somedomain.hu/libraries/MailSo/Sieve/ManageSieveClient.php(562): MailSo\Net\NetClient->getNextBuffer()
#1 /public_html/mail.somedomain.hu/libraries/MailSo/Sieve/ManageSieveClient.php(518): MailSo\Sieve\ManageSieveClient->parseResponse()
#2 /public_html/mail.somedomain.hu/libraries/MailSo/Sieve/ManageSieveClient.php(347): MailSo\Sieve\ManageSieveClient->sendRequestWithCheck('# Sieve filter?...')
#3 /public_html/mail.somedomain.hu/libraries/afterlogic/common/managers/sieve/manager.php(551): MailSo\Sieve\ManageSieveClient->CheckScript('# Sieve filter?...')
#4 /public_html/mail.somedomain.hu/libraries/afterlogic/common/managers/sieve/manager.php(574): CApiSieveManager->setSieveFile(Object(CAccount), '# Sieve filter?...')
#5 /public_html/mail.somedomain.hu/libraries/afterlogic/common/managers/sieve/manager.php(438): CApiSieveManager->resaveSectionsData(Object(CAccount))
#6 /public_html/mail.somedomain.hu/libraries/afterlogic/common/managers/sieve/manager.php(374): CApiSieveManager->SetFiltersRawData(Object(CAccount), '#sieve filter??...')
#7 /public_html/mail.somedomain.hu/libraries/ProjectSeven/Actions.php(2218): CApiSieveManager->UpdateSieveFilters(Object(CAccount), Array)
#8 [internal function]: ProjectSeven\Actions->AjaxUpdateSieveFilters()
#9 /public_html/mail.somedomain.hu/libraries/ProjectSeven/Service.php(95): call_user_func(Array)
#10 /public_html/mail.somedomain.hu/libraries/ProjectSeven/Boot.php(5): ProjectSeven\Service->Handle()
#11 /public_html/mail.somedomain.hu/index.php(54): include('/public_html/ma...')
#12 {main}
[15:00:28.01] DB : disconnect from webmail@localhost
[15:00:28.01] INFO[MEMORY]: Memory peak usage: 5MB
[15:00:28.01] MANAGE-SIEVE[NOTE]: Disconnected from "mail.somedomain.hu:2000" (success)
[15:00:28.01] MANAGE-SIEVE[TIME]: 1.5114171504974 (net session)
|
Back to Top |
|
|
tahunasky Newbie
Joined: 13 July 2011 Location: New Zealand
Online Status: Offline Posts: 25
|
Posted: 24 June 2013 at 5:08pm | IP Logged
|
|
|
Hi, Have a look at this post for what i have done:
http://www.afterlogic.com/forum/forum_posts.asp?TID=4883&PN=2
I have similar setup, and it works without a problem.
One thing i did notice though is i now have 2 sieve script files, one in the users root mail dir, and another in sieve directory. Not sure which one is used as they are both the same.
|
Back to Top |
|
|
Zolcsi Newbie
Joined: 30 May 2013 Location: Hungary
Online Status: Offline Posts: 6
|
Posted: 25 June 2013 at 12:31am | IP Logged
|
|
|
@tahunasky:
Thanks, unfortunately I used basically the same settings and it still does not work.
|
Back to Top |
|
|
Zolcsi Newbie
Joined: 30 May 2013 Location: Hungary
Online Status: Offline Posts: 6
|
Posted: 25 June 2013 at 12:55am | IP Logged
|
|
|
I have found what is causing the problem, it is a known issue with dovecot:
http://dovecot.org/pipermail/dovecot/2012-September/085585.html
|
Back to Top |
|
|