[SOGo] Sieve and out of the office
Hi I'm having this problem with SOGo and sieve (dovecot pigeonhole). I can set an auto answer and I see a sogo.sieve script in the user home folder but when someone sends an email to that account no auto answer is sent. There is no error in SOGo or dovecot logs. And cron jobs are executed but nothing happens. I tried to execute sogo-ealarms-notify as sogo user and nothing happens either. So I tried to run it through strace -f and it seems there is something wrong when sogo-ealarms-notify tries to connect to the MySQL server. I have alarms enabled in SOGo configuration, I set OCSEMailAlarmsFolderURL and I can connect and read to the database server using OCSEMailAlarmsFolderURL's value. I would appreciate any help here because I don't know where else I can take a look at. Bye. -- Linkedin profile (http://es.linkedin.com/in/lafdez) G+ profile (https://plus.google.com/u/0/115320207805121303027/about) Twitter (@lafdez @_lafdez_) Identi.ca (@lafdez) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Sieve and out of the office
2013/1/10 Jean Raby jr...@inverse.ca On 13-01-10 3:59 AM, Luis Angel Fernandez Fernandez wrote: Hi I'm having this problem with SOGo and sieve (dovecot pigeonhole). I can set an auto answer and I see a sogo.sieve script in the user home folder but when someone sends an email to that account no auto answer is sent. There is no error in SOGo or dovecot logs. And cron jobs are executed but nothing happens. Can you post the content of the sogo.sieve script when the vacation message is enabled? require [vacation]; if allof ( not exists [list-help, list-unsubscribe, list-subscribe, list-owner, list-post, list-archive, list-id, Mailing-List], not header :comparator i;ascii-casemap :is Precedence [list, bulk, junk], not header :comparator i;ascii-casemap :matches To Multiple recipients of* ) {vacation :days 1 :addresses [luisangel.fernan...@aliratiun.tic] text: No estoy aquí . ; } Also, make sure the Email Addresses field is filled correctly in the preference dialog (vacation tab). It is filled only with the user's email address. I tried to remove it and then I clicked the Add default email addresses and it filled with user's email address so I guess it is filled correctly. If you set regular sieve filters under the mail options tab, do they work as expected? I hadn't tried them yet. I added one filter now and it seems they aren't working but the filter was added to the sogo.sieve script. require [fileinto,vacation]; if anyof (header :contains subject prueba) { fileinto Carpeta publicada; } if allof ( not exists [list-help, list-unsubscribe, list-subscribe, list-owner, list-post, list-archive, list-id, Mailing-List], not header :comparator i;ascii-casemap :is Precedence [list, bulk, junk], not header :comparator i;ascii-casemap :matches To Multiple recipients of* ) {vacation :days 1 :addresses [luisangel.fernan...@aliratiun.tic] text: No estoy aquí . ; } I tried to execute sogo-ealarms-notify as sogo user and nothing happens either. So I tried to run it through strace -f and it seems there is something wrong when sogo-ealarms-notify tries to connect to the MySQL server. sogo-ealarms-notify is for email reminders and it has nothing to do with vacation replies. Those are handled by the imap server via sieve. Ok. Good to know, thank you. -- Linkedin profile (http://es.linkedin.com/in/lafdez) G+ profile (https://plus.google.com/u/0/115320207805121303027/about) Twitter (@lafdez @_lafdez_) Identi.ca (@lafdez) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Sieve and out of the office
On 13-01-10 9:14 AM, Luis Angel Fernandez Fernandez wrote: If you set regular sieve filters under the mail options tab, do they work as expected? I hadn't tried them yet. I added one filter now and it seems they aren't working but the filter was added to the sogo.sieve script. Then I guess this is a problem with dovecot configuration of the sieve plugin (managesieve works correctly since the scripts are created) How does your mta deliver mails to dovecot? Is the sieve plugin enabled for that delivery method? (LDA, LMTP) See http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration -- Jean Raby jr...@inverse.ca :: +1.514.447.4918 (x120) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Sieve and out of the office
2013/1/10 Jean Raby jr...@inverse.cat. Then I guess this is a problem with dovecot configuration of the sieve plugin (managesieve works correctly since the scripts are created) How does your mta deliver mails to dovecot? Is the sieve plugin enabled for that delivery method? (LDA, LMTP) See http://wiki2.dovecot.org/**Pigeonhole/Sieve/Configurationhttp://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration Thanks. That was the problem. I'm using postfix as MTA and it was configured to use virtual as transport instead of the one named dovecot that uses dovecot-lda. Again, my bad. -- Linkedin profile (http://es.linkedin.com/in/lafdez) G+ profile (https://plus.google.com/u/0/115320207805121303027/about) Twitter (@lafdez @_lafdez_) Identi.ca (@lafdez) -- users@sogo.nu https://inverse.ca/sogo/lists