Hello Paul
I think I found what's the problem, but I would like your comments about it
I set the Trace Level to 5 and I found the following on my syslog
(Im using smtp)



Apr 11 09:52:51 portero MailScanner[2216]: Requeue: 3FDE71B405B.69D46 to
C4DCE1B405E
Apr 11 09:52:51 portero MailScanner[2216]: Uninfected: Delivered 1 messages
Apr 11 09:52:51 portero postfix/qmgr[3401]: C4DCE1B405E:
from=<[EMAIL PROTECTED]>, size=1821, nrcpt=2 (queue active)
Apr 11 09:52:51 portero dbmail/smtp[3806]: sort.c, sort_and_deliver:
message id=272898, size=1770 is inserted
Apr 11 09:52:51 portero dbmail/smtp[3806]: sort.c, sort_and_deliver:
message id=272899, size=1770 is inserted
Apr 11 09:52:51 portero dbmail/smtp[3805]: sort.c, sort_and_deliver:
message id=272900, size=1770 is inserted

                          THIS COULD BE THE PROBLEM!!!
Apr 11 09:52:51 portero dbmail/smtp[3805]: sort.c, sort_and_deliver: error
copying message to user [49],maxmail exceeded

Apr 11 09:52:51 portero dbmail/smtp[3805]: pipe.c, insert_messages:
temporary failure sort_and_deliver for useridnr [49]
Apr 11 09:52:51 portero postfix/pipe[3075]: C4DCE1B405E:
to=<[EMAIL PROTECTED]>, relay=dbmail-smtp, delay=0, status=sent
(portero.mydomain.com)
Apr 11 09:52:51 portero postfix/pipe[3081]: C4DCE1B405E:
to=<[EMAIL PROTECTED]>, relay=dbmail-smtp, delay=0, status=bounced

On this situation, the user tcarrera (sender) received an email with a
message similar to "<[EMAIL PROTECTED]> user unknown"

I dont know how easy/harder could be to add an auto-notification (to the
user or only to mail administrator) when an user is reaching his max.
mailbox size.

Regards,

Humberto

> Humberto,
>
> If you do have this problem again, try setting the trace level for LMTP to
> 5,
> and sent the relevant lines from your syslog.
>
> Humberto Valiente wrote:
>> Yes...I already have the sql-recipients.cf file
>> Also this user receive emails find, but in some cases (randomly) postfix
>> or dbmail can't find the user(s) and then give back an "user unknown"
>> message.
>>
>> Talking with Paul Stevens he said that I should try with the daily
>> snapshot (dbmail_latest_2_0_branch.tar.gz) to solve this problem. I also
>> try running the latest version of dbmail (v.2.0.4) and I "still with the
>> same problem"
>>
>> Now I try running the daily snapshot that Paul gave to me.
>> For a few days I will be monitoring the "maillog" to see if everything
>> is
>>  find. In case something goes wrong ..I will write another email with a
>> "Still having 'user unknown messages" subject.
>>
>> Regards,
>>
>> Humberto
>>
>>
>>
>>
>>>Postfix is giving you the errors because there are no local usernames or
>>>addresses on the system.  After all, they're part of a database.  To
>>>that end, you need to tell dbmail where to find them.  I use the
>>>following and it works well.
>>>
>>>
>>>In /etc/postfix/main.cf use the following:
>>>
>>>local_recipient_maps = mysql:/etc/postfix/sql-recipients.cf
>>>
>>>Then the "/etc/postfix/sql-recipients.cf" file looks like:
>>>
>>>user=<dbusername>
>>>password=<dbpassword>
>>>hosts=localhost
>>>dbname=dbmail
>>>table=dbmail_aliases
>>>select_field=alias
>>>where_field=alias
>>>
>>>
>>>That will solve the unknown user errors.
>>>
>>>Curtis
>>>
>>>Paul J Stevens wrote:
>>>
>>>
>>>>Humberto,
>>>>
>>>>You want:
>>>>http://www.dbmail.org/download/snapshots/dbmail_latest_2_0_branch.tar.gz
>>>>
>>>>Humberto Valiente wrote:
>>>>
>>>>
>>>>>Hello Steve
>>>>>
>>>>>In a previous email you told me to user daily snapshot to solve my
>>>>>problem
>>>>>with 'user unknown" messages. But you told me too that snapshots are
>>>>>not a
>>>>>perfect fix, but better nonetheless than 2.0.4.
>>>>>
>>>>>Before that I try intalling the latest version of dbmail (2.04)
>>>>>
>>>>>After the installation the "user unknown" error messages disappear
>>>>>..but
>>>>>now they are appearing again.
>>>>>
>>>>>I would like to know which is the difference to use the latest dbmail
>>>>>version (2.04 from 2005-03-17) vs daily snapshots (from 2004-11-29)?
>>>>
>>>>
>>>>That's ancient stuff :-) Many bugs were fixed since then.
>>>>
>>>>
>>>>>and Which of the daily snapshot I should apply? (latest, HEAD,
>>>>>branch, all)
>>>>
>>>>
>>>>the 'latest' snapshots are symlinks to the relevant tar files. Use the
>>>>branch for 2.0.
>>>>
>>>
>>>
>>>_______________________________________________
>>>Dbmail mailing list
>>>[email protected]
>>>https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>>
>>
>>
>> _______________________________________________
>> Dbmail mailing list
>> [email protected]
>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>
>
> --
>    ________________________________________________________________
>    Paul Stevens                                         [EMAIL PROTECTED]
>    NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
>    The Netherlands_______________________________________www.nfg.nl
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>

Reply via email to