Debian Sarge : direct delivery to subfolder with postfix/lmtp cyrus

Sylvain MEDEOT symedeot at yahoo.fr
Wed Aug 16 10:15:00 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am working on a new mail server (postfix+lmtp+cyrus) and I would like
to allow my users to post to shared subfolders.

Postfix main.cf

recipient_delimiter = +
mailbox_transport = lmtp:unix:/var/spool/postfix/public/lmtp
virtual_transport=lmtp:unix:/var/spool/postfix/public/lmtp

imapd.conf
lmtp_downcase_rcpt: yes

lm
user/user4 (\HasChildren)
user/user4/Drafts (\HasNoChildren)
user/user4/Sent (\HasNoChildren)
user/user4/Trash (\HasNoChildren)
user/user4/hello (\HasNoChildren)
user/user4/test (\HasNoChildren)

listacl user/user4/test
user4 lrswipcda
anyone lrswipcda

If I send a message to shared+user4 at mydomain, the message goes to
user4.inbox and in the logs, I get :

Aug 16 16:11:21 mailsrv postfix/lmtp[2749]: 0E822376D:
to=<user4+test at mydomain>,
relay=/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp],
delay=0, status=bounced (host
/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp] said:
550-Mailbox unknown.  Either there is no mailbox associated with this
550-name or you do not have authorization to see it. 550 5.1.1 User
unknown (in reply to RCPT TO command))
Aug 16 16:11:21 mailsrv postfix/cleanup[2747]: 9B2D38D85:
message-id=<20060816141121.9B2D38D85 at mydomain>
Aug 16 16:11:21 mailsrv postfix/qmgr[2742]: 9B2D38D85: from=<>,
size=2878, nrcpt=1 (queue active)
Aug 16 16:11:21 mailsrv postfix/qmgr[2742]: 0E822376D: removed
Aug 16 16:11:21 mailsrv postfix/lmtp[2749]: 9B2D38D85:
to=<user4 at mydomain>,
relay=/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp],
delay=0, status=sent (250 2.1.5 Ok)
Aug 16 16:11:21 mailsrv postfix/qmgr[2742]: 9B2D38D85: removed
Aug 16 16:11:23 mailsrv cyrus/imapd[2756]: login:
pcwindows_stage[130.0.10.120] user4 plaintext
Aug 16 16:11:24 mailsrv cyrus/imapd[2757]: login:
pcwindows_stage[130.0.10.120] user4 plaintext

If I create a shared box :

cm commun
setacl commun anyone all

listacl commun
anyone lrswipcda

and add :
postuser: user4 to /etc/imapd.conf

The mails sent to user4+commun at mydomain

goes to the right folder (ie commun)...

Aug 16 16:01:19 mailsrv postfix/lmtp[2565]: 3530D8DB6:
to=<user4+commun at mydomain>,
relay=/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp],
delay=0, status=sent (250 2.1.5 Ok)

Server version :

name       : Cyrus IMAPD
version    : v2.1.18-IPv6-Debian-2.1.18-1+sarge2 2005/02/14 06:45:19
vendor     : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os         : Linux
os-version : 2.6.8-2-386
environment: Cyrus SASL 2.1.19
             Sleepycat Software: Berkeley DB 3.2.9: (February  1, 2005)
             Built w/OpenSSL 0.9.7e 25 Oct 2004
             Running w/OpenSSL 0.9.7e 25 Oct 2004
             CMU Sieve 2.2
             DRAC
             TCP Wrappers
             UCD-SNMP 4.2.5
             mmap = shared
             lock = fcntl
             nonblock = fcntl
             auth = unix
             idle = poll
             mailboxes.db = skiplist
             seen.db = skiplist
             subs.db = flat
             deliver.db = db3-nosync
             tls_sessions.db = db3-nosync

Any help appreciated...

Regards,

Sylvain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE4yhkG2qHcr4CDdkRAsaBAJ9dHxCr5CIg/RTXC1CDsEeiXFVjKQCePrKo
vogeRIoHnXH7e9MdtTwpJQg=
=X+/4
-----END PGP SIGNATURE-----

	
 p4.vert.ukl.yahoo.com uncompressed Wed Aug 16 13:27:01 GMT 2006 
	
		
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. 
http://fr.answers.yahoo.com 



More information about the Info-cyrus mailing list