* [Comm] cyrus-imap sieveshell
@ 2005-01-16 18:07 Nick S. Grechukh
2005-01-19 14:13 ` Nick S. Grechukh
0 siblings, 1 reply; 3+ messages in thread
From: Nick S. Grechukh @ 2005-01-16 18:07 UTC (permalink / raw)
To: community
[-- Attachment #1.1: Type: text/plain, Size: 84 bytes --]
не получается войти в sieveshell. imtest аутентифицируется, а sieveshell
вылетает.
[-- Attachment #1.2: cyrus.conf --]
[-- Type: text/plain, Size: 1386 bytes --]
# 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
}
[-- Attachment #1.3: imapd.conf --]
[-- Type: text/plain, Size: 3177 bytes --]
# In more detail to look in man 5 imapd.conf
#@include: <none>
admins: cyrus
#afspts_localrealms: <none>
#afspts_mycell: <none>
#allowallsubscribe: 0
allowanonymouslogin: 1
allowapop: 1
#allownewnews: 0
#allowplaintext: 1
#allowusermoves: 0
#altnamespace: 0
annotation_db: skiplist
#autocreatequota: 0
#createonpost: 0
#autocreateinboxfolders: <none>
#autosubscribeinboxfolders: <none>
#autosubscribesharedfolders: <none>
#berkeley_cachesize: 512
#berkeley_locks_max: 50000
#berkeley_txns_max: 100
configdirectory: /var/lib/imap
#debug_command: <none>
#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: <none>
#hostname_password: <none>
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: <empty string>
#loginuseacl: 0
#logtimestamps: 0
#mailnotifier: <none>
#maxmessagesize: 0
mboxlist_db: skiplist
#mupdate_connections_max: 128
#mupdate_authname: <none>
#mupdate_password: <none>
#mupdate_port: 3905
#mupdate_realm: <none>
#mupdate_retry_delay: 20
#mupdate_server: <none>
#mupdate_workers_start: 5
#mupdate_workers_minspare: 2
#mupdate_workers_maxspare: 10
#mupdate_workers_max: 50
#mupdate_username: <empty string>
#netscapeurl: http://asg.web.cmu.edu/cyrus/imapd/netscape-admin.html
#newsmaster: news
#newspeer: <none>
#newspostuser: <none>
#newsprefix: <none>
#notifysocket: {configdirectory}/socket/notify
partition-default: /var/spool/imap
#partition-name: <none>
plaintextloginpause: 1
#popexpiretime: -1
#popminpoll: 0
poptimeout: 5
#postmaster: postmaster
#postuser: <empty string>
#proxy_authname: proxy
#proxy_password: <none>
#proxy_realm: <none>
#proxyd_allow_status_referral: 0
proxyservers: cyrus kolya
#ptloader_sock: <none>
#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
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: <none>
#sieveusehomedir: 0
#singleinstancestore: 1
#skiplist_unsafe: 0
#soft_noauth: 1
#srvtab: <empty string>
subscription_db: flat
#syslog_prefix: <none>
#temp_path: /tmp
#timeout: 30
#umask: 077
username_tolower: 1
#userprefix: Other Users
#unix_group_enable: 1
#unixhierarchysep: 0
virtdomains: off
[-- Attachment #1.4: imap.log.console --]
[-- Type: text/plain, Size: 3440 bytes --]
-------------- 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: <omitted>
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, <STDIN> 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, <STDIN> line 1.
[-- Attachment #1.5: imap.log.syslog --]
[-- Type: text/plain, Size: 2485 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] cyrus-imap sieveshell
2005-01-16 18:07 [Comm] cyrus-imap sieveshell Nick S. Grechukh
@ 2005-01-19 14:13 ` Nick S. Grechukh
2005-01-19 20:39 ` Eugene Ostapets
0 siblings, 1 reply; 3+ messages in thread
From: Nick S. Grechukh @ 2005-01-19 14:13 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 292 bytes --]
On Sunday 16 January 2005 20:07, Nick S. Grechukh wrote:
> не получается войти в sieveshell. imtest аутентифицируется, а sieveshell
> вылетает.
ну что, никто не пользуется sieve?
хотя м.б. не в шелле дело. smartsieve тоже не входит, а в логах: sieve[4410]:
error decoding base64 string.
???
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] cyrus-imap sieveshell
2005-01-19 14:13 ` Nick S. Grechukh
@ 2005-01-19 20:39 ` Eugene Ostapets
0 siblings, 0 replies; 3+ messages in thread
From: Eugene Ostapets @ 2005-01-19 20:39 UTC (permalink / raw)
To: community
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nick S. Grechukh wrote:
| On Sunday 16 January 2005 20:07, Nick S. Grechukh wrote:
|
|>не получается войти в sieveshell. imtest аутентифицируется, а sieveshell
|>вылетает.
|
| ну что, никто не пользуется sieve?
| хотя м.б. не в шелле дело. smartsieve тоже не входит, а в логах:
sieve[4410]:
| error decoding base64 string.
| ???
|
У меня все работает (tm)
Я пробежал по диагонали настройки и они у мнея не вызвали нареканий, но
если нужно разобраться - повтори (можно в личку) с комлектом
rpm -qa cyrus\|sasl
- --
С уважением,
Евгений Остапец
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFB7sWPby6E0604xfQRAiDiAJ9YmCtCUgRMvLAQ1Hw2Mkp1jel8mACfctPt
6CyhRZFa+tFWXDyoaTz205g=
=+LU9
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-19 20:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-16 18:07 [Comm] cyrus-imap sieveshell Nick S. Grechukh
2005-01-19 14:13 ` Nick S. Grechukh
2005-01-19 20:39 ` Eugene Ostapets
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git