Re: Help with Postfix and MySQL: User not found

From: Carl-Johan Kihlbom (no email)
Date: Fri Nov 01 2002 - 02:33:21 EST


On torsdag, okt 31, 2002, at 09:20 Europe/Stockholm, Keith Matthews
wrote:

> On Thu, 31 Oct 2002 01:19:20 +0100
> "Carl-Johan Kihlbom" <> wrote:
>
>> I'm struggling with a combo of Postfix, MySQL and Courier-IMAP to
>> serve virtual domains on a FreeBSD 4.6.2 box. None of the software is
>> installed from ports though. Everything is downloaded and compiled
>> from source.
>>
>> MySQL is working perfectly. I have set up a database called maildb as
>> per the instructions at http://kirb.insanegenius.net/postfix.html
>>
>> I have several problems, but the most critical is that Postfix bounces
>>
>> all incoming mail. My local primary unix account kihlbom is also in
>> the users table as , and in the file system as
>> /var/spool/postfix/virtual/domain.com/kihlbom/Maildir/. Still, when I
>> try to send mail to I get the following message in
>> /var/log/maillog:
>> postfix/qmgr[44536]: A0BA655E5: to=<>, relay=none,
>> delay=0, status=bounced (unknown user: "")
>>
>> Everything in my configuration is as outlined in the tutorial at
>> http://kirb.insanegenius.net/postfix.html
>>
>> Why won't postfix accept mail?
>>
>
> Have you tried tracing the MySQL calls? If there is the slightest
> problem the lookup will fail.
>
> I had such a situation recently where I had accidentally added a space
> at the start of the account name when setting up the database. Not easy
> to spot with command line sql calls, but very obvious with the logs.

This may be a stupid question, but which log(s) should I look at, and
where do I find it?

Thanks,

CJ

-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD