Can't send emails to user+shared.... mailbox

Torsten E. linux-user at gmx.com
Mon Dec 6 05:09:24 EST 2004


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 user+share.lists.cyrus-imap at domain.tld, or
resp. user+shared.share.lists.cyrus-imap at domain.tld anymore, with
installed cyrus-imap 2.2.9 & 2.2.10.
Emails can be send to user+test at domain.tld.
(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




More information about the Info-cyrus mailing list