From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: "Nick S. Grechukh" To: community@altlinux.ru Date: Sun, 16 Jan 2005 20:07:49 +0200 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart24586215.A8zUFRBqPB"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200501162008.02101.ngrechukh@ua.fm> X-Spam-Score: -5.9 (-----) X-Spam-Report: Content analysis details on host gns.tdo.ua: -5.9 points, 7.0 required -3.3 ALL_TRUSTED Did not pass through any untrusted hosts -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] X-Virus-Scanned: ClamAV 0.80/620/Tue Dec 7 09:41:43 2004 clamav-milter version 0.80j on flash.zp.ukrtel.net X-Virus-Status: Clean Subject: [Comm] cyrus-imap sieveshell X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2005 18:08:06 -0000 Archived-At: List-Archive: List-Post: --nextPart24586215.A8zUFRBqPB Content-Type: multipart/mixed; boundary="Boundary-01=_21q6Bq/oDV6+nAw" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_21q6Bq/oDV6+nAw Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: base64 Content-Disposition: inline zsUg0M/M1d7BxdTT0SDXz8rUySDXIHNpZXZlc2hlbGwuIGltdGVzdCDB1dTFztTJxsnDydLVxdTT 0SwgwSBzaWV2ZXNoZWxsIArX2czF1MHF1C4K --Boundary-01=_21q6Bq/oDV6+nAw Content-Type: text/plain; charset="windows-1251"; name="cyrus.conf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cyrus.conf" # standard standalone server implementation START { # do not delete this entry! recover cmd="ctl_cyrusdb -r" # this is only necessary if using idled for IMAP IDLE # idled cmd="idled" } # 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="imap" prefork=5 # imaps cmd="imapd -s" listen="imaps" prefork=1 # pop3 cmd="pop3d" listen="pop3" prefork=3 # pop3s cmd="pop3d -s" listen="pop3s" prefork=1 sieve cmd="timsieved" listen="sieve" prefork=0 # smmapd cmd="smmapd" listen="/var/lib/imap/socket/smmapd" prefork=1 # these are only necessary if receiving/exporting usenet via NNTP # nntp cmd="nntpd" listen="nntp" prefork=3 # nntps cmd="nntpd -s" listen="nntps" prefork=1 # at least one LMTP is required for delivery # lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd" listen="/var/spool/postfix/public/lmtp" prefork=1 # this is only necessary if using notifications # notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1 } EVENTS { # this is required checkpoint cmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression, # Sieve or NNTP delprune cmd="cyr_expire -E 3" at=0400 # this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" at=0400 } --Boundary-01=_21q6Bq/oDV6+nAw Content-Type: text/plain; charset="windows-1251"; name="imapd.conf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="imapd.conf" # In more detail to look in man 5 imapd.conf #@include: admins: cyrus #afspts_localrealms: #afspts_mycell: #allowallsubscribe: 0 allowanonymouslogin: 1 allowapop: 1 #allownewnews: 0 #allowplaintext: 1 #allowusermoves: 0 #altnamespace: 0 annotation_db: skiplist #autocreatequota: 0 #createonpost: 0 #autocreateinboxfolders: #autosubscribeinboxfolders: #autosubscribesharedfolders: #berkeley_cachesize: 512 #berkeley_locks_max: 50000 #berkeley_txns_max: 100 configdirectory: /var/lib/imap #debug_command: #defaultacl: anyone lrs defaultdomain: home.gns.tdo.ua #defaultpartition: default #deleteright: c duplicate_db: berkeley-nosync duplicatesuppression: 0 #foolstupidclients: 0 #force_sasl_client_mech: plain #fulldirhash: 0 hashimapspool: 1 #hostname_mechs: #hostname_password: idlesocket: /var/lib/imap/socket/idle #ignorereference: 0 #imapidlepoll: 60 imapidresponse: 0 #imapmagicplus: 0 #implicit_owner_rights: lca lmtp_downcase_rcpt: 1 #lmtp_over_quota_perm_failure: 0 #lmtpsocket: {configdirectory}/socket/lmtp #loginrealms: #loginuseacl: 0 #logtimestamps: 0 #mailnotifier: #maxmessagesize: 0 mboxlist_db: skiplist #mupdate_connections_max: 128 #mupdate_authname: #mupdate_password: #mupdate_port: 3905 #mupdate_realm: #mupdate_retry_delay: 20 #mupdate_server: #mupdate_workers_start: 5 #mupdate_workers_minspare: 2 #mupdate_workers_maxspare: 10 #mupdate_workers_max: 50 #mupdate_username: #netscapeurl: http://asg.web.cmu.edu/cyrus/imapd/netscape-admin.html #newsmaster: news #newspeer: #newspostuser: #newsprefix: #notifysocket: {configdirectory}/socket/notify partition-default: /var/spool/imap #partition-name: plaintextloginpause: 1 #popexpiretime: -1 #popminpoll: 0 poptimeout: 5 #postmaster: postmaster #postuser: #proxy_authname: proxy #proxy_password: #proxy_realm: #proxyd_allow_status_referral: 0 proxyservers: cyrus kolya #ptloader_sock: #ptscache_db: berkeley #ptscache_timeout: 10800 #ptskrb5_convert524: 1 #quota_db: quotalegacy #quotawarn: 90 #quotawarnkb: 0 # If you want to have 8-bit symbols in 'Subject' the # reject8bit should matter 0 reject8bit: 0 #rfc2046_strict: 0 #rfc3028_strict: 1 #sasl_auto_transition: 0 #sasl_maximum_layer: 256 #sasl_minimum_layer: 0 #sasl_option: 0 sasl_pwcheck_method: auxprop sasl_auxprop_plugin: sasldb sasl_mech_list: PLAIN=20 seenstate_db: skiplist sendmail: /usr/sbin/sendmail servername: home.gns.tdo.ua #sharedprefix: Shared Folders #sieve_maxscriptsize: 32 #sieve_maxscripts: 5 sievedir: /var/lib/imap/sieve #sievenotifier: #sieveusehomedir: 0 #singleinstancestore: 1 #skiplist_unsafe: 0 #soft_noauth: 1 #srvtab: subscription_db: flat #syslog_prefix: #temp_path: /tmp #timeout: 30 #umask: 077 username_tolower: 1 #userprefix: Other Users #unix_group_enable: 1 #unixhierarchysep: 0 virtdomains: off --Boundary-01=_21q6Bq/oDV6+nAw Content-Type: text/plain; charset="windows-1251"; name="imap.log.console" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="imap.log.console" -------------- testing imap kolya@compact-home ~ $ imtest -m cram-md5 -a kolya home.gns.tdo.ua S: * OK home.gns.tdo.ua Cyrus IMAP4 v2.2.10 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED X-NETSCAPE S: C01 OK Completed C: A01 AUTHENTICATE CRAM-MD5 S: + PDE0MTM1ODE4MTcuMTUzNjU5MDNAaG9tZS5nbnMudGRvLnVhPg== Please enter your password: C: a29seWEgY2RjNzhmNzYwYjIwNDczZmY2OGIzY2UyMmMwZTI0ZmI= S: A01 OK Success (no protection) Authenticated. Security strength factor: 0 C: Q01 LOGOUT Connection closed. kolya@compact-home ~ $ imtest -m login -a kolya home.gns.tdo.ua S: * OK home.gns.tdo.ua Cyrus IMAP4 v2.2.10 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED X-NETSCAPE S: C01 OK Completed Please enter your password: C: L01 LOGIN kolya {1} S: + go ahead C: S: L01 OK User logged in Authenticated. Security strength factor: 0 C: Q01 LOGOUT Connection closed. kolya@compact-home ~ $ imtest -m digest-md5 -a kolya home.gns.tdo.ua S: * OK home.gns.tdo.ua Cyrus IMAP4 v2.2.10 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED X-NETSCAPE S: C01 OK Completed C: A01 AUTHENTICATE DIGEST-MD5 S: + bm9uY2U9IkJ2K2h0Vld5bW45aDVzU2tLL05xK3IxTWIzSXpFMzltdDg2OERXdkVNUlE9IixyZWFsbT0iaG9tZS5nbnMudGRvLnVhIixxb3A9ImF1dGgsYXV0aC1pbnQsYXV0aC1jb25mIixjaXBoZXI9InJjNC00MCxyYzQtNTYscmM0LGRlcywzZGVzIixtYXhidWY9NDA5NixjaGFyc2V0PXV0Zi04LGFsZ29yaXRobT1tZDUtc2Vzcw== Please enter your password: C: dXNlcm5hbWU9ImtvbHlhIixyZWFsbT0iaG9tZS5nbnMudGRvLnVhIixub25jZT0iQnYraHRWV3ltbjloNXNTa0svTnErcjFNYjNJekUzOW10ODY4RFd2RU1SUT0iLGNub25jZT0iVjZndDJDVG5lWmc0QkdIMzV5KzdxOHNOKzI3bHhDdkRWUTlhT2JNeGtaRT0iLG5jPTAwMDAwMDAxLHFvcD1hdXRoLWNvbmYsY2lwaGVyPXJjNCxtYXhidWY9MTAyNCxkaWdlc3QtdXJpPSJpbWFwL2hvbWUuZ25zLnRkby51YSIscmVzcG9uc2U9NWViOWQ4NzA2Mzk4NTU2MzFhMzkyNTY4NjljNDAxNmU= S: + cnNwYXV0aD0wNTAxY2RhODY4ZTg4ZjcwYTkzZDk2YzE3YzEzMzBhMQ== C: S: A01 OK Success (privacy protection) Authenticated. Security strength factor: 128 C: Q01 LOGOUT Connection closed. ---------------------------- TESTING SIEVE (digest-md5) kolya@compact-home ~ $ sieveshell -a kolya home.gns.tdo.ua connecting to home.gns.tdo.ua Please enter your password: Please enter your password: Bad protocol from MANAGESIEVE server: lost connection ---------------------------- TESTING SIEVE with cram-md5 kolya@compact-home ~ $ sieveshell -a kolya home.gns.tdo.ua connecting to home.gns.tdo.ua Please enter your password: unable to connect to server at /usr/bin/sieveshell line 169, line 1. ---------------------------- TESTING SIEVE with plain only kolya@compact-home ~ $ sieveshell -u kolya home.gns.tdo.ua connecting to home.gns.tdo.ua Please enter your password: unable to connect to server at /usr/bin/sieveshell line 169, line 1. --Boundary-01=_21q6Bq/oDV6+nAw Content-Type: text/plain; charset="windows-1251"; name="imap.log.syslog" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="imap.log.syslog" Jan 16 16:14:38 compact-home imap[2808]: accepted connection Jan 16 16:14:39 compact-home imap[2808]: login: home.gns.tdo.ua [192.168.192.2] kolya CRAM-MD5 User logged in Jan 16 16:14:50 compact-home imap[2811]: accepted connection Jan 16 16:14:50 compact-home imap[2811]: login: home.gns.tdo.ua [192.168.192.2] kolya plaintext User logged in Jan 16 16:14:58 compact-home imap[2812]: accepted connection Jan 16 16:14:58 compact-home imap[2812]: DIGEST-MD5 server step 1 Jan 16 16:14:58 compact-home imtest: DIGEST-MD5 client step 2 Jan 16 16:14:58 compact-home imtest: DIGEST-MD5 client step 2 Jan 16 16:14:58 compact-home imap[2812]: DIGEST-MD5 server step 2 Jan 16 16:14:58 compact-home imtest: DIGEST-MD5 client step 3 Jan 16 16:14:58 compact-home imap[2812]: login: home.gns.tdo.ua [192.168.192.2] kolya DIGEST-MD5 User logged in Jan 16 16:15:00 compact-home master[2794]: process 2810 exited, status 0 Jan 16 16:15:00 compact-home master[2848]: about to exec /usr/lib/cyrus/imapd Jan 16 16:15:00 compact-home imap[2848]: executed Jan 16 16:15:18 compact-home master[2850]: about to exec /usr/lib/cyrus/timsieved Jan 16 16:15:18 compact-home sieve[2850]: executed Jan 16 16:15:18 compact-home sieve[2850]: accepted connection Jan 16 16:15:18 compact-home sieve[2850]: DIGEST-MD5 server step 1 Jan 16 16:15:18 compact-home perl: DIGEST-MD5 client step 2 Jan 16 16:15:19 compact-home sieve[2850]: DIGEST-MD5 server step 2 Jan 16 16:15:21 compact-home sieve[2850]: attempting server step after doneflag Jan 16 16:15:21 compact-home master[2794]: process 2850 exited, signaled to death by 11 Jan 16 16:15:21 compact-home master[2794]: service sieve pid 2850 in BUSY state: terminated abnormally --------------------- now testing with only cram-md5 and plain Jan 16 16:16:57 compact-home master[2943]: about to exec /usr/lib/cyrus/timsieved Jan 16 16:16:57 compact-home sieve[2943]: executed Jan 16 16:16:57 compact-home sieve[2943]: accepted connection Jan 16 16:16:57 compact-home sieve[2943]: attempting server step after doneflag Jan 16 16:16:57 compact-home sieve[2943]: badlogin: home.gns.tdo.ua[192.168.192.2] CRAM-MD5 generic failure Jan 16 16:16:57 compact-home perl: No worthy mechs found Jan 16 16:16:57 compact-home master[2916]: process 2943 exited, status 0 --------------------- now leaving only plain Jan 16 16:20:18 compact-home sieve[3000]: executed Jan 16 16:20:18 compact-home sieve[3000]: accepted connection Jan 16 16:20:19 compact-home perl: No worthy mechs found --Boundary-01=_21q6Bq/oDV6+nAw-- --nextPart24586215.A8zUFRBqPB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.12 (GNU/Linux) iD8DBQBB6q2CXVoivS5g3GcRAkZtAJ49x+DiZHeR8Va9THiQHUAC4Qd8OACePRVz WYCLcLbMKElUqr4fMAmOTMg= =B/hw -----END PGP SIGNATURE----- --nextPart24586215.A8zUFRBqPB--