failed virtual domain delivery via lmtp - any ideas?

bebop33 at gmx.de bebop33 at gmx.de
Mon May 9 16:53:32 EDT 2005


Hi friends,

I'm desperately going crazy with this:
I have a virtual CyrusImapd-Postfix-Setup (thanks to Derrick Brashear), but
postfix won't deliver the mail via lmtp to the virtual domain, while the
primary domain works fine:

lmtpunix[8758]: accepted connection
lmtpunix[8758]: lmtp connection preauth'd as postman
lmtpunix[8758]: verify_user(user.ce) failed: Mailbox does not exist
lmtpunix[8756]: accepted connection
lmtpunix[8756]: lmtp connection preauth'd as postman
lmtpunix[8756]: verify_user(user.ce) failed: Mailbox does not exist
master[8811]: about to exec /usr/cyrus/bin/lmtpd

after it did:

postfix/lmtp[8808]: Using LMTP PIPELINING, send buffer size is 4096
postfix/lmtp[8808]: > public/lmtp[public/lmtp]: MAIL FROM:<ce at primary.dom>
SIZE=319
postfix/lmtp[8808]: > public/lmtp[public/lmtp]: RCPT TO:<ce at virtual.dom>
postfix/lmtp[8808]: > public/lmtp[public/lmtp]: DATA
postfix/lmtp[8808]: < public/lmtp[public/lmtp]: 250 2.1.0 ok
postfix/lmtp[8808]: < public/lmtp[public/lmtp]: 550-Mailbox unknown.  Either
there is
                         no mailbox associated with this
postfix/lmtp[8808]: < public/lmtp[public/lmtp]: 550-name or you do not have 
                         authorization to see it.
postfix/lmtp[8808]: < public/lmtp[public/lmtp]: 550 5.1.1 User unknown

But there the user exists in imapd, and he has an inbox! It's a multi-DOM
with virtual mailboxes on latest cyrus-imap though.


Below some config-stuff, I'd really appreciate any help.

thank you in advance
chris


# postconf -n
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
inet_interfaces = 127.0.0.1, 172.16.x.y, a.x.y.z
local_recipient_maps =
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:public/lmtp
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, primary.dom, host.other.intern, other.intern,
localhost, host.primary.dom
myhostname = mx.primary.dom
mynetworks = 127.0.0.1/32
myorigin = primary.dom
newaliases_path = /usr/bin/newaliases
program_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
recipient_canonical_maps = hash:/etc/postfix/canonical_recipient
relocated_maps = hash:/etc/postfix/relocated
sender_canonical_maps = hash:/etc/postfix/canonical_sender
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_recipient_restrictions =
permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sender_restrictions = hash:/etc/postfix/access
strict_rfc821_envelopes = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450
virtual_mailbox_base = /var/mail
virtual_mailbox_domains = virtual.dom
virtual_mailbox_maps = hash:/etc/postfix/virtual
virtual_transport = lmtp:unix:public/lmtp

# master.cf:
lmtp      unix  -       -       y       -       -       lmtp -v

# cyrus.conf
   lmtpunix     cmd="lmtpd" listen="/var/spool/postfix/public/lmtp"
prefork=1

# imapd.conf:
configdirectory: /var/imap.cf
partition-default: /var/spool/imap
admins: mailadmin
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
virtualdomains: userid
unixhierarchysep: true
servername: host
loginrealms: localhost host primary.dom virtual.dom

# sasldblistusers2
ce at virtual.dom: userPassword
ce at virtual.dom: cmusaslsecretOTP

-- 
+++ Neu: Echte DSL-Flatrates von GMX - Surfen ohne Limits +++
Always online ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

-- 
+++ Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS +++
GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail
---
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