From: Magnus Bäck (no email)
Date: Thu Mar 01 2007 - 16:13:21 EST
On Wednesday, February 28, 2007 at 09:17 CET,
Ebbe Hjorth <> wrote:
> > You must configure maildrop to make the same SQL lookups as in
> > mysql_virtual_mailbox_maps.cf. Unless virtual_transport == virtual,
> > virtual_mailbox_maps is only used by smtpd(8) for recipient address
> > validation. That is, Postfix will in your case not look up the
> > mailbox path and pass it on to maildrop. It's maildrop's job to
> > figure out the mailbox path.
>
> I havent changed anything in my main or master, but i ran authtest
> x at apz dot dk a mailbox i created with the postfixadmin web interface,
> and it returned
>
> # authtest x at apz dot dk
> Authentication succeeded.
>
> Authenticated: x at apz dot dk (uid 5001, gid 5001)
> Home Directory: /usr/local/mail/
> Maildir: /usr/local/mail/apz.dk/x at apz dot dk/
> Quota: 0
> Encrypted Password: (none)
> Cleartext Password: x
> Options: wbnodsn=1
>
> That should be fine, and the directories exist -
Okay, so there seems to be some configuration in place then. Invoke
maildrop from the shell and attempt to deliver a message to the same
user. I believe you can use the -d option or similar to increase the
log level.
Do not attempt to get it working with Postfix until you can have a
message delivered from the shell.
> should i still change to
> virtual_transport == virtual? and what would it change?
Setting virtual_transport = virtual may solve the delivery problem, but
it would mean that you don't use maildrop. That's probably not what you
want.
-- Magnus Bäck
|
|
|