Hi Jan-Kees,

the log tells me that it is postfix (and not dbmail) that is rejecting the mail, because it does not know the local user 'jankees'.

You may want to check the output of `postconf local_recipient_maps` (it's value should be empty) The default value is 'proxy:unix:passwd.byname $alias_maps' and you have not explicitly unset it in main.cf. You can do this by putting 'local_recipient_maps = ' in main.cf. This way, you tell postfix not to look for local recipients.

Furthermore, you should not worry about the number of dbmail-smtp processes. A new instance of dbmail-smtp is started each time a mail is processed; it is not a daemon like dbmail-imapd or dbmail-pop3d

Kind regards,

Leander Koornneef


On 27-apr-04, at 15:20, Jan-Kees wrote:

Hello,

I am getting really close to have my server up and running.

When I send an email from e.g. hotmail to the dbmail setup , the following is shown in my maillog. The message is rejected.

Apr 27 15:09:37 fels postfix/smtpd[639]: connect from bay8-f10.bay8.hotmail.com[64.4.27.10]

Apr 27 15:09:38 fels postfix/smtpd[639]: 1FFD920A7: client=bay8-f10.bay8.hotmail.com[64.4.27.10]

Apr 27 15:09:38 fels postfix/smtpd[639]: 1FFD920A7: reject: RCPT from bay8-f10.bay8.hotmail.com[64.4.27.10]: 450 <[EMAIL PROTECTED]>: User unknown in local recipient table; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP helo=<hotmail.com>

Apr 27 15:09:39 fels postfix/smtpd[639]: disconnect from bay8-f10.bay8.hotmail.com[64.4.27.10]

 

 

Hereunder is proof that the user “jankees” does exist in mysql. This user is not present on the os level. Before I used dbmail, I simply used postfix and some pop daemon based on os users. Now, I have removed the osuser “jankees” and have set it up in mysql.

 

mysql> select * from users;

+-----------+---------+--------+-------------+-------------- +-----------------+---------------------+

| user_idnr | userid  | passwd | client_idnr | maxmail_size | encryption_type | last_login          |

+-----------+---------+--------+-------------+-------------- +-----------------+---------------------+

|         1 | jankees | secret |           0 |            0 |                 | 2004-04-27 15:04:01 |

|         2 | sharon  | secret |           0 |            0 |                 | 2004-04-27 13:24:57 |

+-----------+---------+--------+-------------+-------------- +-----------------+---------------------+

2 rows in set (0.01 sec)

 

mysql> select * from aliases;

+------------+------------------------+------------+-------------+

| alias_idnr | alias                  | deliver_to | client_idnr |

+------------+------------------------+------------+-------------+

|          1 | [EMAIL PROTECTED] | 1          |           0 |

|          2 | [EMAIL PROTECTED] | 2          |           0 |

+------------+------------------------+------------+-------------+

2 rows in set (0.02 sec)

 

Attached are some relevant files.

 

Also, I don’t have a good feeling about the dbmail-smtp. I don’t see it listed in the ps- aux.

 

Cheers,

 

JK
<transport><aliases><dbmail.conf><main.cf><master.cf><ps -aux.txt>_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to