Hi Rob,
Rob Tanner schrieb am Montag, 6. Dezember 2004 17:40: > Not having every used alternate name space, I can only speak about > what appears to be an incongruity between the actual namespace and > imapd.conf. Using cyradm, you created mailboxes with the prefix > "share" but in imapd.conf you set the sharedprefix option to "shared".
Yep ... as far as I understood some descriptions on it its needed for "crappy" mailclients like Outlook or Outlook Express (and we have those users) ...
But even sending emails to [EMAIL PROTECTED] does not work - all emails adressed to user+shared.share... are delivered to Inbox. What's most curious for me is, that the whole config works at least up to version 2.2.3 (haven't tried 2.2.4, 2.2.5, 2.2.6 & 2.2.7), and I didn't find any related changes within the docs.
Here are the logs (/var/log/mail) of two test emails:
Dec 6 17:53:29 suse92 postfix/smtpd[1099]: connect from localhost[127.0.0.1]
Dec 6 17:53:29 suse92 postfix/smtpd[1099]: 4EE83780A1C1: client=localhost[127.0.0.1]
Dec 6 17:53:29 suse92 postfix/cleanup[1092]: 4EE83780A1C1: message-id=<[EMAIL PROTECTED]>
Dec 6 17:53:29 suse92 postfix/smtpd[1099]: disconnect from localhost[127.0.0.1]
Dec 6 17:53:29 suse92 postfix/qmgr[9600]: 4EE83780A1C1: from=<[EMAIL PROTECTED]>, size=1143, nrcpt=1 (queue active)
Dec 6 17:53:29 suse92 amavis[30980]: (30980-07) Passed CLEAN, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Message-ID: <[EMAIL PROTECTED]>, Hits: -1.873
Dec 6 17:53:29 suse92 postfix/smtp[1094]: AC2917800667: to=<[EMAIL PROTECTED]>, relay=localhost[127.0.0.1], delay=12, status=sent (250 2.6.0 Ok, id=30980-07, from MTA: 250 Ok: queued as 4EE83780A1C1)
Dec 6 17:53:29 suse92 postfix/qmgr[9600]: AC2917800667: removed
Dec 6 17:53:29 suse92 postfix/pipe[1101]: 4EE83780A1C1: to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=sent (mail.warblade.dyndns.org)
Dec 6 17:53:29 suse92 postfix/qmgr[9600]: 4EE83780A1C1: removed
Dec 6 17:57:17 suse92 postfix/smtpd[1137]: connect from localhost[127.0.0.1]
Dec 6 17:57:17 suse92 postfix/smtpd[1137]: 4B588780A1C2: client=localhost[127.0.0.1]
Dec 6 17:57:17 suse92 postfix/cleanup[1130]: 4B588780A1C2: message-id=<[EMAIL PROTECTED]>
Dec 6 17:57:17 suse92 postfix/smtpd[1137]: disconnect from localhost[127.0.0.1]
Dec 6 17:57:17 suse92 postfix/qmgr[9600]: 4B588780A1C2: from=<[EMAIL PROTECTED]>, size=1189, nrcpt=1 (queue active)
Dec 6 17:57:17 suse92 amavis[30255]: (30255-09) Passed CLEAN, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Message-ID: <[EMAIL PROTECTED]>, Hits: -1.87
Dec 6 17:57:17 suse92 postfix/smtp[1132]: 1BB7B780A1C1: to=<[EMAIL PROTECTED]>, relay=localhost[127.0.0.1], delay=11, status=sent (250 2.6.0 Ok, id=30255-09, from MTA: 250 Ok: queued as 4B588780A1C2)
Dec 6 17:57:17 suse92 postfix/qmgr[9600]: 1BB7B780A1C1: removed
Dec 6 17:57:17 suse92 postfix/pipe[1139]: 4B588780A1C2: to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=sent (mail.warblade.dyndns.org)
Dec 6 17:57:17 suse92 postfix/qmgr[9600]: 4B588780A1C2: removed
I can't see any failure, error, etc. there ...
> -- Rob
Thanks for replying! c y Torsten
> --On Monday, December 06, 2004 11:09:24 AM +0100 "Torsten E."
<[EMAIL PROTECTED]> wrote:
Good morning list,
some weeks ago I sent an question regarding this problem, and now I'll try it again.
Subject is: can't send emails eg. to [EMAIL PROTECTED], or resp. [EMAIL PROTECTED] anymore, with installed cyrus-imap 2.2.9 & 2.2.10. Emails can be send to [EMAIL PROTECTED] (Above is an example - no email could be send to any subscribed shared-folder (mailboxes with prefix "share").)
Mailboxes are created using (as an short example): cyradm --auth login --user cyrus localhost cm user.torsten sam user.torsten cyrus all cm user.torsten.test cm share.test sam share.test anyone all cm share.lists cm share.lists.cyrus sam share.lists anyone all lam * share: anyone lrswipcda share.lists.cyrus-imap: anyone lrswipcda share.test: anyone lrswipcda user.root: root lrswipcda cyrus lrswipcda user.torsten: torsten lrswipcda cyrus lrswipcda
Systems we tested: SuSE 9.0: originally installed with cyrus-imapd 2.1.15: worked fine!
SuSE 9.1: originally installed with cyrus-imapd 2.2.3: worked fine! updated to cyrus-imapd 2.2.9 (self compiled): didn't work anymore updated to cyrus-imapd 2.2.10 (self compiled): didn't work anymore
SuSE 9.2: originally installed with cyrus-imapd 2.2.8: didn't work updated to cyrus-imapd 2.2.9 (self compiled): didn't work downgraded to cyrus-imapd 2.2.3 (used SuSE 9.1 rpm's): works fine!
The enviroment is always the same. On the currently used test system we run: postfix 2.1.15, same main.cf & master.cf & imapd.conf & cyrus.conf used. cyrus-sasl 2.1.19 perl 5.8.5
Used configurations on the testmachine:
/etc/imapd.conf: configdirectory: /var/lib/imap partition-default: /var/spool/imap sievedir: /var/lib/sieve admins: cyrus allowanonymouslogin: no autocreatequota: 10000 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd lmtp_overquota_perm_failure: no # ### # altnamespace: yes userprefix: user sharedprefix: shared # b/c of having 2 MS test machines (with OE) here postuser: cyrus unixhierarchysep: no allowallsubscribe: yes #duplicatesuppression: no
/etc/cyrus.conf: # standard standalone server implementation
START { # do not delete this entry! recover cmd="ctl_cyrusdb -r"
# this is only necessary if using idled for IMAP IDLE idled cmd="idled" }
# UNIX sockets start with a slash and are put into /var/lib/imap/socket SERVICES { # add or remove based on preferences imap cmd="imapd" listen="imap" prefork=0 # imaps cmd="imapd -s" listen="imaps" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 # pop3s cmd="pop3d -s" listen="pop3s" prefork=0 sieve cmd="timsieved" listen="sieve" prefork=0
# at least one LMTP is required for delivery # lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=0
# this is only necessary if using notifications # notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork }
EVENTS { # this is required checkpoint cmd="ctl_cyrusdb -c" period=30
# this is only necessary if using duplicate delivery suppression delprune cmd="cyr_expire -E 3" at=0400
# this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" at=0400
# Uncomment the next entry, if you want to automatically remove # old messages of EVERY user. # This example calls ipurge every 60 minutes and ipurge will delete # ALL messages older then 30 days. # enter 'man 8 ipurge' for more details
# cleanup cmd="ipurge -d 30 -f" period=60 }
postconf -n: alias_maps = hash:/etc/aliases biff = no canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no html_directory = /usr/share/doc/packages/postfix/html inet_interfaces = all mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = mailbox_size_limit = 0 mailbox_transport = cyrus mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 10240000 mydestination = $myhostname, localhost.$mydomain myhostname = suse92test.skar.dt newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES recipient_delimiter = + relayhost = relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix/samples sender_canonical_maps = hash:/etc/postfix/sender_canonical sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_sasl_auth_enable = no smtp_use_tls = no smtpd_client_restrictions = smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = no smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_use_tls = no strict_rfc821_envelopes = no transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550
/etc/postfix/master.cf:
smtp inet n - n - - smtpd
# smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
# submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o
# smtpd_etrn_restrictions=reject 628 inet n - n -
# - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
# qmgr fifo n - n 300 1 oqmgr
# tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
# localhost:10025 inet n - n - - smtpd -o
# content_filter=
# maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m
${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc
${sender} ${recipient}
Best regards Torsten
--- 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
--- 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