From: Jesse Norell <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED], DBMail mailinglist <[email protected]>
To: DBMail mailinglist <[email protected]>
Subject: Re: [Dbmail] Receiving mail
Date: Fri, 10 Mar 2006 09:51:34 -0700
> local_recipient_maps = mysql:/etc/postfix/sql-recipients.cf
>
> sql-recipients.cf
> user = dbmail
> password = mypassword
> hosts = localhost
> dbname = dbmail
> table = dbmail_aliases
> select_field = alias
> where_field = alias
> This is th error in the log file,
>
> web42205.mail.yahoo.com[66.218.93.206]: 550 <[EMAIL PROTECTED]>: Recipient
> address rejected: User unknown in virtual mailbox table;
> from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=SMTP
>
> ...this line seems to be the culprit, but it may be others in the
main.cf
> file. I'm not sure.
> virtual_mailbox_maps = hash:/etc/postfix/virtual_mailbox_recipients
Try setting:
virtual_mailbox_maps = mysql:/etc/postfix/sql-recipients.cf
I don't use the virtual_* stuff myself, but from the error I would guess
that may do it.
--
Jesse Norell - [EMAIL PROTECTED]
Kentec Communications, Inc.
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
I made that change and this is the error message i get,
server localhost: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
This is my dbmail.conf,
[DBMAIL]
# Database settings
# host for database, set to localhost if database is om
# the same host as dbmail and you want to use a local socket
# for connecting.
host=localhost
# if you want to use TCP/IP for connecting to the database,
sqlport=3306
# and have the database running on a non-standard port.
# when using a local socket connection to the database, fill
# in the path to the socket here (e.g. /var/run/mysql.sock)
#sqlsocket=/var/lib/mysql/mysql.sock
sqlsocket=/tmp/mysql.sock
I had to uninstall MySQL 5.0.18 and re-install 4.1.16 and now mysock is in
tmp. Why can't dbmail.conf find it?
Jim