I am trying to get this messaged delivered to cyrus-imapd via lmtp as shown:
echo -e "Subject: Test Delivery\n\n A Test Message $(date)\n." | sendmail -vvv someuser+deliv...@example.com These imap directories exist: /var/spool/imap/s/someuser/example/delivery Both user.example and user.example.delivery have the cyrus-imapd acl "anyone:p" set as is required for extended delivery. /etc/postfix/main.cf has this setting: # ADDRESS EXTENSIONS (e.g., user+foo) # # The recipient_delimiter parameter specifies the separator between # user names and address extensions (user+foo). See canonical(5), # local(8), relocated(5) and virtual(5) for the effects this has on # aliases, canonical, virtual, relocated and .forward file lookups. # Basically, the software tries user+foo and .forward+foo before # trying user and .forward. # recipient_delimiter = + What I see in /var/log/maillog is this: Jun 25 15:50:34 inet07 postfix/pickup[27458]: CC0A983670: uid=0 from=<root> Jun 25 15:50:34 inet07 postfix/cleanup[28352]: CC0A983670: message-id=<20120625195034.cc0a983...@inet07.something.example.com> Jun 25 15:50:34 inet07 postfix/qmgr[27457]: CC0A983670: from=<r...@inet07.something.example.com>, size=391, nrcpt=1 (queue active) Jun 25 15:50:34 inet07 lmtpunix[28062]: accepted connection Jun 25 15:50:34 inet07 lmtpunix[28062]: lmtp connection preauth'd as postman Jun 25 15:50:34 inet07 master[28356]: about to exec /usr/lib/cyrus-imapd/lmtpd Jun 25 15:50:34 inet07 lmtpunix[28062]: IOERROR: fstating sieve script /var/lib/imap/sieve/s/someuser/defaultbc: No such file or directory Jun 25 15:50:34 inet07 lmtpunix[28062]: duplicate_check: <20120625195034.cc0a983...@inet07.something.example.com> user.someuser 0 Jun 25 15:50:34 inet07 lmtpunix[28356]: executed Jun 25 15:50:35 inet07 lmtpunix[28062]: duplicate_check: <20120625195034.cc0a983...@inet07.something.example.com> user.someuser 0 Jun 25 15:50:35 inet07 lmtpunix[28062]: Delivered: <20120625195034.cc0a983...@inet07.something.example.com> to mailbox: user.someuser Jun 25 15:50:35 inet07 lmtpunix[28062]: mystore: starting txn 2147483688 Jun 25 15:50:35 inet07 lmtpunix[28062]: mystore: committing txn 2147483688 Jun 25 15:50:35 inet07 lmtpunix[28062]: duplicate_mark: <20120625195034.cc0a983...@inet07.something.example.com> user.someuser 1340653834 105826 Jun 25 15:50:35 inet07 postfix/lmtp[28355]: CC0A983670: to=<someu...@inet07.something.example.com>, orig_to=<someuser+deliv...@example.com>, relay=inet07.something.example.com[/var/lib/imap/socket/lmtp], delay=0.34, delays=0.14/0.03/0.03/0.14, dsn=2.1.5, status=sent (250 2.1.5 Ok) Jun 25 15:50:35 inet07 postfix/qmgr[27457]: CC0A983670: removed Getting extended addresses to work is proving extremely trying. I cannot tell why the +delivery is simply dropped on final delivery as seems to be indicated in the second to last log entry. The virtual_domains map contains this: example.com - .example.com - The virtual_aliases map contains this: @example.com someuser someuser is not contained in any aliases maps. and postconf -n shows this: alias_database = hash:/etc/postfix/aliases.sysadmin, hash:/etc/postfix/aliases.domains, hash:/etc/postfix/aliases.main alias_maps = hash:/etc/postfix/aliases.sysadmin, hash:/etc/postfix/aliases.domains, hash:/etc/postfix/aliases.main command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 html_directory = no inet_interfaces = $myhostname, localhost inet_protocols = all mail_spool_directory = /var/spool/mail mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man newaliases_path = /usr/bin/newaliases.postfix propagate_unmatched_extensions = canonical, virtual readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES recipient_delimiter = + relay_domains = hash:/etc/postfix/relay_domains relayhost = smtp.hamilton.harte-lyne.ca sample_directory = /usr/share/doc/postfix-2.6.6/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop soft_bounce = yes transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 virtual_alias_domains = hash:/etc/postfix/virtual_domains virtual_alias_maps = regexp:/etc/postfix/virtual_aliases_regexp, hash:/etc/postfix/virtual_aliases Can anyone see what it is that is am doing wrong? -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3