After looking through the logs, I seem to have figured this one out. Postfix was leaving log messages claiming the dbmail-smtp program was crashing. But I was still getting messages in the database. Apparently postfix was then not deleting the mail from the queue so it would try and redeliver every time it received another message.

I'm not really sure how all this stuff works, so I'm guessing a little bit here.

I downloaded the latest CVS and recompiled, got that working and the problem seems to have gone away.

Thanks,
-Micah

At 05:47 PM 7/26/2002 -0700, you wrote:
Alright, I can't seem to make heads or tails of this. I looked through all the Postfix documentation I could find, as well as dbmail, and no leads. Maybe one of you can help:

I'm running a Redhat 7.2 system, with Postfix 1.1.10 compiled with MySQL support as my MTA. dbmail is providing pop3 access, and the mydestination option for postfix points to a MySQL table so that I can add virtual domains easily. (via a php script I haven't written yet.. )

Everything works, I'm hosting 3 domains currently on the machine. I have 1 dbmail account that is aliased 3 times, once for each domain name.

Now, when I send mail to any of these 3 accounts to test them the mail should forward to the one pop account, which it does, but it does it many times. Initially when I check mail via pop3, I'll get one copy of the email, and then a few minutes later, another copy, and so on. So far I have not received more than 4 copies, but sometimes I only get two copies.

Here's my dbname.conf:
"0";"TRACE_LEVEL";"5"
"0";"TRACE_TO_SYSLOG";"1"
"0";"TRACE_VERBOSE";"0"
"0";"SENDMAIL";"/usr/sbin/sendmail"
"0";"DBMAIL_FROM_ADDRESS";"[EMAIL PROTECTED]"
"0";"POSTMASTER";"[EMAIL PROTECTED]"
"0";"POP3D_EFFECTIVE_USER";"dbmail"
"0";"POP3D_EFFECTIVE_GROUP";"dbmail"
"0";"POP3D_BIND_IP";"*"
"0";"POP3D_BIND_PORT";"110"
"0";"POP3D_DEFAULT_CHILD";"30"
"0";"POP3D_MAX_CHILD";"50"
"0";"POP3D_CHILD_MAX_CONNECTS";"10000"
"0";"POP3D_CHILD_TIMEOUT";"300"
"0";"POP3D_IP_RESOLVE";"yes"
"0";"IMAPD_EFFECTIVE_USER";"dbmail"
"0";"IMAPD_EFFECTIVE_GROUP";"dbmail"
"0";"IMAPD_BIND_IP";"*"
"0";"IMAPD_BIND_PORT";"143"
"0";"IMAPD_DEFAULT_CHILD";"5"
"0";"IMAPD_MAX_CHILD";"15"
"0";"IMAPD_CHILD_MAX_CONNECTS";"1000"
"0";"IMAPD_DAEMONIZES";"yes"
"0";"IMAPD_CHILD_TIMEOUT";"3000"
"0";"SMTPD_EFFECTIVE_USER";"dbmail"
"0";"SMTPD_EFFECTIVE_GROUP";"dbmail"
"0";"SMTPD_BIND_IP";"*"
"0";"SMTPD_BIND_PORT";"25"
"0";"SMTPD_DEFAULT_CHILD";"20"
"0";"SMTPD_MAX_CHILD";"30"
"0";"SMTPD_CHILD_MAX_CONNECTS";"1000"
"0";"SMTPD_DAEMONIZES";"yes"
"0";"SMTPD_CHILD_TIMEOUT";"3000"
"0";"DBMAIL_POP_BEFORE_SMTP";"no"
"0";"DBMAIL_IMAP_BEFORE_SMTP";"no"

Any ideas?

Thanks,
-Micah

Reply via email to