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

2006-08-16 Thread Sylvain MEDEOT
-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 [EMAIL PROTECTED], the message goes to
user4.inbox and in the logs, I get :

Aug 16 16:11:21 mailsrv postfix/lmtp[2749]: 0E822376D:
to=[EMAIL PROTECTED],
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=[EMAIL PROTECTED]
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=[EMAIL PROTECTED],
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 [EMAIL PROTECTED]

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

Aug 16 16:01:19 mailsrv postfix/lmtp[2565]: 3530D8DB6:
to=[EMAIL PROTECTED],
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 


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


Re: Cyrus - Postfix - redirect mails from a special sender domain

2006-06-22 Thread Sylvain MEDEOT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Walter Willmertinger a écrit :
 I am new to Cyrus and used until now UW4-Imap with postfix and procmail.
 I need to redirect mails from a special external domain (say all mail
 from extspec.de http://extspec.de) to a group of users in our domain.
 Before using cyrus, I did this wirh procmail and procmailrc. Now I use
 cyrus with postfix.
 /etc/postfix/main.cf: mailbox_transport = cyrus
 
 Now I read some documents about sieve, but I found no recipe how to
 redirect mails from a special receiver (domain) to a group of users in
 our local domain.
 Can somebody give me a hint?
 
 Regards
 
 Walter

Hi,

Here is what I am using...

if allof (address :contains [From,FROM] extspec.de) {
 redirect [EMAIL PROTECTED];
}

Hope it helps...

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

iD4DBQFEmlwNG2qHcr4CDdkRAqP9AJdNp8KgU3txAItC1YMJHx0339u1AJ0R0pc3
A6YFjIBquFlWASsocy/kBw==
=O7uk
-END PGP SIGNATURE-




___ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire. 
http://fr.mail.yahoo.com

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


Re: Goodbye cyrus fools !!

2005-09-03 Thread Sylvain MEDEOT

Andrew Morgan a écrit :



On Sat, 3 Sep 2005, Gobbledegeek wrote:


I'm unsubscribing.

Good bye you cyrus fools !!



At least these guys are entertaining...   :)

Where will he go one he will have a problem with both notes and exchange 
? Back to smoke signals ?






___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com


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


Re: Problem with direct delivery to cyrus subfolder...[solved]

2005-08-23 Thread Sylvain MEDEOT






  
Configure MailScanner to not strip + extensions?

What happens if you enable MailScanner again?  Usually it's good idea to
start with least services as possible and then add them one by one to
see where problem could be.

O.
  
  


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


Hi,

Many thanks again for your help. Finally after further checking I've
seen that the cyrus rights were unsufficients...

si01 lrswipcda
any lrswipcda

I discovered that after checking the rights on the root folder : both
"any" and "anyone"... 
If somebody can tell me what is the difference...

Then I did the same so I added 

setacl user.si01.partage anyone all

And all is fine...

Regards,

Sylvain



	

	
		
___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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