|
Hi Leon,
thanks for your suggestions. I read /Postfix-Cyrus-Web-cyradm-HOWTO and i think that i followed all trips Luc wrote down there. The following are my config files: ****** /etc/cyrus.conf ******** # UNIX sockets start with a slash and are put into /var/lib/imap/socket SERVICES { # add or remove based on preferences imap cmd="imapd" listen="xxx.xxx.xxx.xxx:imap" prefork=0 imaplocal cmd="imapd -C /etc/imapd-local.conf" listen="127.0.0.1:imap" prefork=0 imaps cmd="imapd -s" listen="xxx.xxx.xxx.xxx:imaps" prefork=0 imapslocal cmd="imapd -C /etc/imapd-local.conf" listen="127.0.0.1:imaps" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 pop3s cmd="pop3d -s" listen="pop3s" prefork=0 #sieve cmd="timsieved" listen="sieve" prefork=3 maxchild=10 sieve cmd="timsieved" listen="xxx.xxx.xxx.xxx:sieve" prefork=0 sievelocal cmd="timsieved -C /etc/imapd-local.conf" listen="127.0.0.1:sieve" prefork=0 ## Note: xxx.xxx.xxx.xxx is a replace of my server IP address ****** /etc/imapd.conf ******** postmaster: postmaster configdirectory: /var/lib/imap partition-default: /var/spool/imap sievedir: /var/lib/imap/sieve sieveuserhomedir: no # admins: noadmins allowanonymouslogin: no allowplaintext: yes autocreatequota: 200000 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd #sasl_pwcheck_method: auxprop lmtp_overquota_perm_failure: no sasl_mech_list: md5 servername: myhost.mydom.dom sieve_maxscriptsize: 32 sieve_maxscript: 5 unixhierarchysep: yes lmtpsocket: /var/spool/postfix/public/lmtp sendmail: /usr/sbin/sendmail ****** /etc/imapd-local.conf ******** postmaster: postmaster configdirectory: /var/lib/imap partition-default: /var/spool/imap sievedir: /var/lib/imap/sieve sieveuserhomedir: no admins: cyrus allowanonymouslogin: no allowplaintext: yes autocreatequota: 200000 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd #sasl_pwcheck_method: auxprop lmtp_overquota_perm_failure: no sasl_mech_list: md5 servername: myhost.mydom.dom sieve_maxscriptsize: 32 sieve_maxscript: 5 unixhierarchysep: yes lmtpsocket: /var/spool/postfix/public/lmtp sendmail: /usr/sbin/sendmail ****** /etc/pamd/imap ******** #%PAM-1.0 auth sufficient /lib/security/pam_pgsql.so #auth sufficient /lib/security/pam_unix_auth.so account required /lib/security/pam_pgsql.so #account sufficient /lib/security/pam_unix_acct.so ## Note: I copied /etc/pam.d/imap in /etc/pamd.d/pop, /etc/pamd.d/sieve, /etc/pamd.d/cyrus so they are all twins files. pam_pgsql.so calls web-cyradm postgresql db to authenticate users. The md5 crypting type works great with web-cyradm If I telenet on localhost to port sieve i got the following: telnet localhost sieve Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. "IMPLEMENTATION" "Cyrus timsieved v2.2.8" "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational regex" OK if i run sieveshell i got: /usr/bin/sieveshell -u cyrus -a cyrus 127.0.0.1 connecting to 127.0.0.1 unable to connect to server at /usr/bin/sieveshell line 169 I read a lot of howtos and mailing list but i cannot find the way to solve the problem. Any idea is very wellcome!! Thanks in advance to all. Socio [EMAIL PROTECTED] wrote: Hi, Look carefully to the /etc/cyrus.conf (here is the Lucs' manual - http://tldp.org/HOWTO/Postfix-Cyrus-Web-cyradm-HOWTO/cyrus-config.html#CYRUS-CONFIGFILES). You can see below "sievelocal" line: # UNIX sockets start with a slash and are put into /var/imap/socket SERVICES { # add or remove based on preferences imap cmd="imapd" listen="192.168.0.1:imap" prefork=0 imaplocal cmd="imapd -C /etc/imapd-local.conf" listen="127.0.0.1:imap" prefork=0 imaps cmd="imapd -s" listen="192.168.0.1:imaps" prefork=0 imapslocal cmd="imapd -C /etc/imapd-local.conf" listen="127.0.0.1:imaps" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 pop3s cmd="pop3d -s" listen="pop3s" prefork=0 sieve cmd="timsieved" listen="192.168.0.1:sieve" prefork=0 sievelocal cmd="timsieved -C /etc/imapd-local.conf listen="127.0.0.1:sieve" prefork=0Don't forget to create /etc/imapd-local.conf (look in the same page, the link is above). Regards, Leon Kolchinsky -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Gianni Socionovo Sent: Friday, September 09, 2005 11:26 AM To: [email protected] Subject: Re: [Web-cyradm] sieve problem Hi Leon, Sorry but i saw your reply just now. I copied /etc/pam.d/imap to /etc/pam.d/sieve. I checked cyrus.conf and i found the entries for sieve but not the sievelocal one. And I didn't find any reference about sievelocal in Luc's Howtos. What about it? Thanks and Regards. ________________________________ From: [EMAIL PROTECTED] <http://www.web-cyradm.org/mailman/listinfo/web-cyradm>lkolchin at univ.haifa.ac.il <mailto:web-cyradm%40web-cyradm.org?Subject=%5BWeb-cyradm%5D%20sieve%20problem&In-Reply-To=> Sent: Mon 29.08.2005 20:28 To: web-cyradm at web-cyradm.org <http://www.web-cyradm.org/mailman/listinfo/web-cyradm> Subject: [Web-cyradm] sieve problem ** /Mon Aug 29 20:28:49 CEST 2005/ Hello, Did you copy the /etc/pam.d/imap to /etc/pam.d/sieve? Do you have entries for sieve and sievolocal in cyrus.conf like in Lucs' HOWTO? If not, just add this stuff to the apropriate files. Regards, Leon Kolchinsky ________________________________ From: web-cyradm-bounces at web-cyradm.org <http://www.web-cyradm.org/mailman/listinfo/web-cyradm> on behalf of Gianni Socionovo Sent: Mon 29.08.2005 12:46 To: web-cyradm at web-cyradm.org <http://www.web-cyradm.org/mailman/listinfo/web-cyradm> Subject: [Web-cyradm] sieve problem Hi guys, i try to test sieve on my Cyrus-Imap plu web-cyradm environment, but it seem that it shoudn't work. when i run the command: sivtest -u cyrus -a cyrus localhost i got the message: S: "IMPLEMENTATION" "Cyrus timsieved v.2.2.8" S: "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational regexp" S: OK Authentication failed. generic failure Security strength factor: 0. thnks for any help. regards Socio _______________________________________________ This mailing list is hosted and supported by bit-heads GmbH | http://www.bit-heads.ch _______________________________________________ Web-cyradm mailing list Web-cyradm at web-cyradm.org <http://www.web-cyradm.org/mailman/listinfo/web-cyradm> http://www.web-cyradm.org/mailman/listinfo/web-cyradm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 4475 bytes Desc: not available Url : http://fix.bitheads.ch/pipermail/web-cyradm/attachments/20050829/edc4a60c/attachment.bin --
_________________________________________________ Gianni Socionovo E-Business Manager MEP S.p.A. Via Papa Giovanni XXIII, 49 61045 Pergola (PU) ITALY email: [EMAIL PROTECTED] Web Page: http://www.mepsaws.com Tel. +39 0721 737260 FAx. +39 0721 734533 |
_______________________________________________ This mailing list is hosted and supported by bit-heads GmbH | http://www.bit-heads.ch _______________________________________________ Web-cyradm mailing list [email protected] http://www.web-cyradm.org/mailman/listinfo/web-cyradm
