deliver/cyrdeliver won't work as expected.
Nicolas Christener
niki.christener at dtc.ch
Tue Sep 7 18:37:41 EDT 2004
Hello together
I've installed cyrus imapd 2.1.16 on a debian/testing system.
The user "nicolas" can connect to his mailbox and fetch the mails.
Now I try to fetch mails from a pop account (using fetchmail). This also works
fine. After fetching them I like to deliver the mails to the users Mailbox.
Junk-Mails should go into the users "Abfall" folder.
AFAIK it should be possible to handle this using the
"deliver (cyrdeliver on debian)" - tool using the "-m" switch.
But this seems not to work for me. All mails get delivered in the users
"inbox" (the root of the IMAP folders).
That's how I did it:
# /usr/sbin/cyrdeliver -m users.nicolas.Abfall nicolas < testmail
# /usr/sbin/cyrdeliver -m nicolas.Abfall nicolas < testmail
# /usr/sbin/cyrdeliver -m Abfall nicolas < testmail
But no mail went in to the "Abfall" folder.
ACL's should be ok:
localhost> lm
user.nicolas (\HasChildren)
user.nicolas.Archiv (\HasNoChildren)
user.nicolas.Abfall (\HasNoChildren)
localhost> lam user.nicolas
nicolas lrswipcda
localhost> lam user.nicolas.Abfall
nicolas lrswipcda
The log file (/var/log/mail.log):
Sep 7 14:36:18 localhost cyrus/master[29539]: about to
exec /usr/lib/cyrus/bin/lmtpd
Sep 7 14:36:18 localhost cyrus/lmtpunix[29539]: executed
Sep 7 14:36:18 localhost cyrus/lmtpd[29539]: accepted connection
Sep 7 14:36:18 localhost cyrus/lmtpd[29539]: lmtp connection preauth'd as
postman
Sep 7 14:36:18 localhost cyrus/lmtpd[29539]: duplicate_check:
<C5A922AB-FD87-11D8-ACA1-000393CC1A9A at lugbo.ch> user.nicolas.Abfall 0
Sep 7 14:36:18 localhost cyrus/lmtpd[29539]: duplicate_check:
<C5A922AB-FD87-11D8-ACA1-000393CC1A9A at lugbo.ch> user.nicolas 0
Sep 7 14:36:19 localhost cyrus/lmtpd[29539]: mystore: starting txn 2147483690
Sep 7 14:36:19 localhost cyrus/lmtpd[29539]: mystore: committing txn
2147483690
Sep 7 14:36:19 localhost cyrus/lmtpd[29539]: duplicate_mark:
<C5A922AB-FD87-11D8-ACA1-000393CC1A9A at lugbo.ch> user.nicolas
1094560578
Can somebody explain me, what I'm doing wrong?
I hope this question is not stupid... I tryed a lot, but
I'm a cyrus - newbie and couldn't find a solution. The Readme also told me,
that I could use "/var/run/cyrus/socket/lmtp" to deliver the messages. But I
have absolut no idea how this should work. Where could I find informations
about that?
Thanks in advanced
Nicolas
BTW: Sorry, my englisch isn't that good.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list