Hello,
I just created a shared mailbox where users can subscribe and post to
by addressing +shared@xxxxxxxxxxx mail gets delivered correctly. But
I'm trying to achieve that user+shared@xxxxxxxxxxx gets delivered to
this shared mailbox.
I just googled a few hours but couldn't find any pointers on how to
do that. It also seems that sieve isn't an option since from what I
found on the web shared mailboxes and sieve work together from
>=cyrus-2.3
Any pointers on how to do that would be helpfull.
I attached to log sessions, one where I successfully post to
+shared@xxxxxxxxxxx and one where I post (unsuccessfully) to user
+shared@xxxxxxxxxxx (the message is delivered to the users inbox).
\martin
Log excerpts (mailto:+shared@xxxxxxxxxxx):
Dec 13 04:14:34 localhost postfix/smtpd[10519]: C1B56152F8A9:
client=demo.example.com[192.168.0.1], sasl_method=PLAIN,
sasl_username=user@xxxxxxxxxxx
Dec 13 04:14:34 localhost postfix/cleanup[10581]: C1B56152F8A9:
message-id=<21A63CE6-6F32-4562-BB84-0701CCEE6514@xxxxxxxxxxx>
Dec 13 04:14:34 localhost postfix/qmgr[8829]: C1B56152F8A9:
from=<user@xxxxxxxxxxx>, size=601, nrcpt=1 (queue active)
Dec 13 04:14:34 localhost cyrus/imap[10572]: open: user
user@xxxxxxxxxxx opened INBOX/Sent
Dec 13 04:14:35 localhost postfix/smtpd[10589]: connect from
localhost.openforce.lan[127.0.0.1]
Dec 13 04:14:36 localhost postfix/smtpd[10589]: 0660B152F8AD:
client=localhost.openforce.lan[127.0.0.1]
Dec 13 04:14:36 localhost postfix/cleanup[10581]: 0660B152F8AD:
message-id=<21A63CE6-6F32-4562-BB84-0701CCEE6514@xxxxxxxxxxx>
Dec 13 04:14:36 localhost postfix/qmgr[8829]: 0660B152F8AD:
from=<user@xxxxxxxxxxx>, size=988, nrcpt=1 (queue active)
Dec 13 04:14:36 localhost cyrus/master[10592]: about to exec /usr/lib/
cyrus/bin/lmtpd
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: accepted connection
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: connection from
localhost.openforce.lan [127.0.0.1] preauth'd as postman
Dec 13 04:14:36 localhost cyrus/lmtp[10592]: executed
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: duplicate_check:
<21A63CE6-6F32-4562-BB84-0701CCEE6514@xxxxxxxxxxx> example.com!shared 0
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: duplicate_check:
<21A63CE6-6F32-4562-BB84-0701CCEE6514@xxxxxxxxxxx> example.com!shared 0
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: mystore: starting txn
2147483758
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: mystore: committing txn
2147483758
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: duplicate_mark:
<21A63CE6-6F32-4562-BB84-0701CCEE6514@xxxxxxxxxxx> example.com!
shared 1165979676 140737486810112
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: Delivered:
<21A63CE6-6F32-4562-BB84-0701CCEE6514@xxxxxxxxxxx> to mailbox:
example.com!shared
Dec 13 04:14:36 localhost postfix/lmtp[10591]: 0660B152F8AD: to=<
+shared@xxxxxxxxxxx>, relay=127.0.0.1[127.0.0.1]:24, delay=0.16,
delays=0.12/0.01/0.02/0, dsn=2.1.5, status=sent (250 2.1.5 Ok)
Dec 13 04:14:36 localhost postfix/qmgr[8829]: 0660B152F8AD: removed
Dec 13 04:14:36 localhost postfix/smtpd[10589]: disconnect from
localhost.example.com[127.0.0.1]
Dec 13 04:14:36 localhost postfix/lmtp[10582]: C1B56152F8A9: to=<
+shared@xxxxxxxxxxx>, orig_to=<+shared@xxxxxxxxxxx>, relay=127.0.0.1
[127.0.0.1]:10024, delay=1.4, delays=0.05/0/0.04/1.3, dsn=2.6.0,
status=sent (250 2.6.0 <+shared@xxxxxxxxxxx> Message accepted for
delivery)
Dec 13 04:14:36 localhost postfix/qmgr[8829]: C1B56152F8A9: removed
Log excerpts (mailto:user+shared@xxxxxxxxxxx):
Dec 13 04:21:38 localhost postfix/smtpd[10630]: connect from
demo.example.com[192.168.0.1]
Dec 13 04:21:38 localhost postfix/smtpd[10630]: 6C35F152F8A9:
client=demo.example.com[192.168.0.1], sasl_method=PLAIN,
sasl_username=user@xxxxxxxxxxx
Dec 13 04:21:38 localhost postfix/cleanup[10646]: 6C35F152F8A9:
resent-message-id=<7B20542C-21EF-4ECF-96A6-007970F19640@xxxxxxxxxxx>
Dec 13 04:21:38 localhost postfix/cleanup[10646]: 6C35F152F8A9:
message-id=<92AFD72F-5C46-45BB-9667-2A69910990BC@xxxxxxxxxxx>
Dec 13 04:21:38 localhost postfix/qmgr[8829]: 6C35F152F8A9:
from=<user@xxxxxxxxxxx>, size=858, nrcpt=1 (queue active)
Dec 13 04:21:38 localhost cyrus/imap[10605]: open: user
user@xxxxxxxxxxx opened INBOX/Sent
Dec 13 04:21:39 localhost postfix/smtpd[10649]: connect from
localhost.example.com[127.0.0.1]
Dec 13 04:21:39 localhost postfix/smtpd[10649]: 23A93152F8AD:
client=localhost.example.com[127.0.0.1]
Dec 13 04:21:39 localhost postfix/cleanup[10646]: 23A93152F8AD:
resent-message-id=<7B20542C-21EF-4ECF-96A6-007970F19640@xxxxxxxxxxx>
Dec 13 04:21:39 localhost postfix/cleanup[10646]: 23A93152F8AD:
message-id=<92AFD72F-5C46-45BB-9667-2A69910990BC@xxxxxxxxxxx>
Dec 13 04:21:39 localhost postfix/qmgr[8829]: 23A93152F8AD:
from=<user@xxxxxxxxxxx>, size=1259, nrcpt=1 (queue active)
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: accepted connection
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: connection from
localhost.example.com [127.0.0.1] preauth'd as postman
Dec 13 04:21:39 localhost cyrus/master[10652]: about to exec /usr/lib/
cyrus/bin/lmtpd
Dec 13 04:21:39 localhost cyrus/lmtp[10652]: executed
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: duplicate_check:
<7B20542C-21EF-4ECF-96A6-007970F19640@xxxxxxxxxxx> example.com!
user.user.shared 0
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: duplicate_check:
<7B20542C-21EF-4ECF-96A6-007970F19640@xxxxxxxxxxx> example.com!
user.user 1165979990
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: dupelim: eliminated
duplicate message to example.com!user.user id
<7B20542C-21EF-4ECF-96A6-007970F19640@xxxxxxxxxxx> (delivery)
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: mystore: starting txn
2147483771
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: mystore: committing txn
2147483771
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: duplicate_mark:
<7B20542C-21EF-4ECF-96A6-007970F19640@xxxxxxxxxxx> .user
+shared@xxxxxxxxxxxxxxxxxx 1165980099 0
Dec 13 04:21:39 localhost postfix/lmtp[10651]: 23A93152F8AD: to=<user
+shared@xxxxxxxxxxx>, relay=127.0.0.1[127.0.0.1]:24, delay=0.14,
delays=0.12/0.01/0.01/0, dsn=2.1.5, status=sent (250 2.1.5 Ok)
Dec 13 04:21:39 localhost postfix/qmgr[8829]: 23A93152F8AD: removed
Dec 13 04:21:39 localhost postfix/smtpd[10649]: disconnect from
localhost.example.com[127.0.0.1]
Dec 13 04:21:39 localhost postfix/lmtp[10647]: 6C35F152F8A9: to=<user
+shared@xxxxxxxxxxx>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.84,
delays=0.03/0.01/0.03/0.77, dsn=2.6.0, status=sent (250 2.6.0 <user
+shared@xxxxxxxxxxx> Message accepted for delivery)
Dec 13 04:21:39 localhost postfix/qmgr[8829]: 6C35F152F8A9: removed
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html