Hello!

I'm building an fresh multidomain environment with Debian Lenny. I've
installed and configured postfix, spamc and cyrus-imapd and things are
running almost smoothly.

I can send email everywhere just fine via SMTPS, including my own host.
Since I'm on a testing stage I haven't tried to actually use that as an MX
for any host, so for now I'm stuck at local delivery for incoming mail.

Currently I have only one user, let's call him Jack Doe, and user account
is stored to LDAP. I've manually created the account and folders for cyrus
and I can login and use the service just fine via IMAP. Now when I try to
send mail to jack....@myhost.foo it's delivered just fine via local
SMTP(S) and things work as they should.

The problem now is that Jack has fw aliases, let's say j...@myhost.foo and
sa...@myhost.foo. These addresses doesn't work and I'm not sure if this is
an postfix or an cyrus -problem. Postfix recognizes the alias and tries to
deliver it via LMTP, just the same way than it does with 'actual' address.
However since there's no mailbox for 'j...@myhost.foo' cyrus LMTP fails:
cyrus/lmtpunix[12084]: verify_user(myhost.foo!user.jack) failed: Mailbox
does not exist
cyrus/lmtpunix[12084]: telling master 1

Now, based on what I understand, postfix should expand aliases (from the
LDAP) and deliver the mail with 'actual' address, instead of aliased one.
I have these on my conf:
alias_maps = ldap:/etc/postfix/ldap-alias.cf
virtual_alias_maps = ldap:/etc/postfix/ldap-alias.cf

And, again as far as I can understand, aliases itself seem to work. It's
the transport which doesn't work as it should. On master.cf I have this:
cyrus unix - n n - - pipe flags= user=cyrus argv=/usr/sbin/cyrdeliver -r
${sender} -m ${extension} ${recipient}

I've tried to search solution via google and pretty much every other way I
can imagine, but couldn't find any solution. The closest thing I found was
that some other have had this same problem, but most of the solutions were
"Works for me", which isn't really helpful on my case.

Hopefully someone can help me out here, thanks in advance.

-- 
Take

Reply via email to