>> dovecot   unix  -       n       n       -       -       pipe
>>  flags=DRhu user=mail:mail argv=/usr/libexec/dovecot/deliver -f
> ${sender}
>> -d ${recipient}
> 
> add in -e just before  -d
> 

I tried this first, same result.

On Fri, 27 Mar 2009 22:17:01 +1000 (EST), Res <r...@ausics.net> wrote:
> On Fri, 27 Mar 2009, Steffen Schaumburg wrote:
> 
>>
>> --main.cf non-default parameters--
> 
> Is your sql querry written OK?
> Connect to mysql and issue the commands manually to ensure it returns a 
> lookup result.

Tried (using the mailauth user as written in the mysql_virtual_*.cf files)
and they work. One thing that might be off is the mailbox query which
yields "schaumburger.info/steffen/Maildir/" - is that enough or should it
be "/var/mail/schaumburger.info/steffen/Maildir/"? Also the SQL commands in
the .cf files do not finish with a ; but it worked on a previous setup I
had so I don't think that's it?
I also checked that the alias table contains the mailboxes as well, and it
does. 

I just compared my configs on the new server to a testserver I had made
some time ago and that I only just remembered and it seems to be identical
except on the testserver I had manually set mydomain, myorigin and
myhostname. Now I didn't think this could be the cause of the problem but I
tried anyways, and the problem persists exactly as before :(
I also checked the SQL queries in the testserver and they yield identical
results (except the domain is different since that was running on a
different domain).

>> dovecot_destination_recipient_limit = 1
> 
> Thats a good entry idea.
> I dont use gentoo, we use Slackware, but it's similar. I'll send you 
> off-list a URL to check out.
> 

Cheers, I have to be honest though I just copied that from the guide :)

Maybe somebody knows this, is the error in the postfix stage (of checking
if the user exists) or is it in the dovecot phase (of actually delivering
the mail)? I would think it's the postfix stage but having confirmation of
that would be nice.

Also as you could see from the output of postfinger I tried adding -v to
master.cf to get more info but there's nothing in my log files about my
attempts to send emails. Can I get it to be more verbose?


Thanks so far, hope we can track this problem down :)
Steffen

Reply via email to