Cyrus és Shared folders

Fórumok

Hi all,

Küzdök a Cyrus osztott mappájával.
Cyrus 2.2 + Debian etch

mosaic:/etc# cat imapd.conf
allowplaintext: yes
hashimapspool: 1
sasl_mech_list: PLAIN
sharedprefix: kozos
imap_admins: cyrus
configdirectory: /var/lib/cyrus
admins: cyrus
sasl_pwcheck_method: saslauthd
sievedir: /var/spool/sieve
altnamespace: 1
autocreatequota_units: 1
sieve_admins: cyrus
sasl_auto_transition: no
lmtp_downcase_rcpt: yes
partition-default: /system/mail/cyrus/mail
userprefix: user
sieveusehomedir: false
umask: 077
lmtp_admins: postmaster

cyradm:

192.168.1.100> lm
kozos (\HasChildren)
kozos.adatok (\HasNoChildren)
kozos.info (\HasNoChildren)
user.fax (\HasChildren)
user.fax.Sent (\HasNoChildren)
user.fax.Trash (\HasNoChildren)

192.168.1.100> lam kozos
cyrus lrswipcda
anyone lrswipcda

Thunderbird-ben látom a megosztott mappákat, de ha megakarom nyitni akkor a szerver közli velem, hogy "Invalid mailbox name"

Mit csináltam rosszul?

Hozzászólások

Mailbox does not exist.

Ez a pontos üzenet. De miért? Létezik!

Perszer, ha egy gond megoldódik jón egy újabb. ;(

Most azt kell megoldani, hogy a fetchmail mikor leveszi a szolgáltatótól a leveleket akkor az exim4 hajlandó legyen betenni a Shared folder->Info mappába a leveleket.

Esetleg ezt már megcsinálta valaki? Ha igen szeretném, ha leírná, hogy hogyan működik ez.

THX.

Küzdök egy ideje, de nem jön össze :(
Help please!

Hogyan kell beállítanom a Cyrus és/vagy Exim4 -et, hogy menjenek a levelek a Shared folderbe?

mosaic:/etc# cat cyrus.conf

START {
# do not delete this entry!
recover cmd="/usr/sbin/ctl_cyrusdb -r"

# this is recommended if using duplicate delivery suppression
delprune cmd="/usr/sbin/cyr_expire -E 3"
# this is recommended if caching TLS sessions
tlsprune cmd="/usr/sbin/tls_prune"
}

SERVICES {
# --- Normal cyrus spool, or Murder backends ---
# add or remove based on preferences
imap cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100

lmtp cmd="lmtpd" listen="lmtp" prefork=0 maxchild=20
lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0 maxchild=20
# ----------------------------------------------

# useful if you need to give users remote access to sieve
# by default, we limit this to localhost in Debian
# sieve cmd="timsieved" listen="localhost:sieve" prefork=0 maxchild=100

# this one is needed for the notification services
notify cmd="notifyd" listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1

# --- Murder frontends -------------------------
# enable these and disable the matching services above,
# except for sieve (which deals automatically with Murder)

# mupdate database service - must prefork at least 1
# (mupdate slaves)
#mupdate cmd="mupdate" listen=3905 prefork=1
# (mupdate master, only one in the entire cluster)
#mupdate cmd="mupdate -m" listen=3905 prefork=1

# proxies that will connect to the backends
#imap cmd="proxyd" listen="imap" prefork=0 maxchild=100
#imaps cmd="proxyd -s" listen="imaps" prefork=0 maxchild=100
#pop3 cmd="pop3proxyd" listen="pop3" prefork=0 maxchild=50
#pop3s cmd="pop3proxyd -s" listen="pop3s" prefork=0 maxchild=50
#lmtp cmd="lmtpproxyd" listen="lmtp" prefork=1 maxchild=20
# ----------------------------------------------
}

EVENTS {
# this is required
checkpoint cmd="/usr/sbin/ctl_cyrusdb -c" period=30

# this is only necessary if using duplicate delivery suppression
delprune cmd="/usr/sbin/cyr_expire -E 3" at=0401

# this is only necessary if caching TLS sessions
tlsprune cmd="/usr/sbin/tls_prune" at=0401

# indexing of mailboxs for server side fulltext searches

# reindex changed mailboxes (fulltext) approximately every other hour
#squatter_1 cmd="/usr/bin/nice -n 19 /usr/sbin/squatter -s" period=120

# reindex all mailboxes (fulltext) daily
#squatter_a cmd="/usr/sbin/squatter" at=0517
}

mosaic:/etc# cat imapd.conf
allowplaintext: yes
hashimapspool: 1
sharedprefix: shared
postuser: bb
sasl_mech_list: PLAIN
imap_admins: cyrus
admins: cyrus
sasl_pwcheck_method: saslauthd
sievedir: /var/spool/sieve
configdirectory: /var/lib/cyrus
altnamespace: 1
autocreatequota_units: 1
sieve_admins: cyrus
sasl_auto_transition: no
lmtp_downcase_rcpt: yes
partition-default: /system/mail/cyrus/mail
userprefix: user
sieveusehomedir: false
umask: 077
lmtp_admins: postmaster

Haladok. ;)

Már csak ez a gondom és jó lenne:
mosaic:/var/log/exim4# cat mainlog
2009-06-29 11:44:05 1MLDPB-0002xX-Ic <= root@mosaic.molnarnet U=root P=local S=381
2009-06-29 11:44:05 1MLDPB-0002xX-Ic ** bb@mosaic.molnarnet R=local_user T=local_delivery_cyrus: LMTP error after RCPT TO:: 550-Mailbox unknown. Either there is no mailbox associated with this\n550-name or you do not have authorization to see it.\n550 5.1.1 User unknown
2009-06-29 11:44:05 1MLDPB-0002xb-KF <= <> R=1MLDPB-0002xX-Ic U=Debian-exim P=local S=1168

Az imapd.conf-ban a postuser-t állíthatom amire akarom :( A épp be van állítva annak nem meg el a levél hanem a fenti hiba van a logban. :(

Figyu, a postuser azert van, hogy *csak* shared folder-ekbe pakolassza a cyrus a neki erkezo leveleket. Innentol mar csak az exim-et kell meggyozni, hogy a rendszeren letezik ilyen felhasznalo (ennek mikentjerol nem nyilatkozom, mert nem ertek az exim-hez). Fapados modszerrel csinalsz egy uj unix user-t, akihez nem csinalsz a cyrus-ban mailbox-ot, igy mar az exim is boldog lesz.

Így sem működik a dolog :(
Egyébként az LMTP adja a hibát. Viszont:

mosaic:~# lmtptest -u bb mosaic.molnarnet
S: 220 mosaic LMTP Cyrus v2.2.13-Debian-2.2.13-10 ready
C: LHLO example.com
S: 250-mosaic
S: 250-8BITMIME
S: 250-ENHANCEDSTATUSCODES
S: 250-PIPELINING
S: 250-SIZE
S: 250 IGNOREQUOTA
Authenticated.
Security strength factor: 0
quit
221 2.0.0 bye
Connection closed.

most nagyjából félig végigolvastam a témát, de kicsit elvesztettem a fonalat, hogy mit is akarsz :)
ha jól értem, azt akarod, hogy egy adott mailboxba (bb user) jönnek a levelek, de ezeket te nem ide, hanem egy shared folderbe akarod tenni?
esetleg egy szimpla sieve scripttel ez könnyedén megoldható lenne, nem?

----------------------------------
feel the beat - it's everywhere!

igen. postfixszel működik minden frankón cyrussal.
:)

szerk.: ja és még egy tipp ha van rá lehetőséged. webmin és cyrus modul. (az eximet alapból tudja a webmin.) szerintem sokkal kényelmesebb abban csinálni, mint manuálisan. egy csomó hibát elve kiszűr, elég okosak a webmin modulok.

----------------------------------
feel the beat - it's everywhere!