Hi Eelco,
Thanks. I suppose you mean the signal 11 problem, so here are two
cases, both with level 5, but they have some debug lines commented
out. As it may sound very strange, the problem appears also on level 5
when I put a comment on line 276 in pipe.c
Also the test shows that the problem appears when I set
TRACE_TO_SYSLOG to 0 :) Or if I put a comment on vsyslog.
There is just too much code there. Hope all this means anything to
you. I can get you any debug you want, I will set up dbmail 1.0
somewhere again if needed.
If you have any suggestion for the ReadConfig I will be glad if you
post it.
Best regards,
Bobby
[EMAIL PROTECTED]
on Wednesday, March 5, 2003, 10:19:25 PM, Eelco van Beek - IC&S wrote:
EvBIS> I could really use a trace level 5 on this.
EvBIS> Do you have one available already?
EvBIS> thanks a lot,
EvBIS> Eelco
EvBIS> On woensdag, maa 5, 2003, at 17:55 Europe/Amsterdam, Boyan Alexiev
EvBIS> wrote:
>> Hi Eelco,
>>
>> It seems that the bug is definitely somewhere with the debug routine.
>> However I just installed 1.1 and it seems the problem is solved.
>> But there is still a problem, that I have not reported, regarding
>> ReadConfig(): trace lines in config.c
>> Although these are with TRACE_DEBUG the line appear always in the
>> syslog. Any ideas?
>>
>>
>> Best regards,
>> Bobby
>> [EMAIL PROTECTED]
>>
>> on Saturday, March 1, 2003, 4:27:11 PM, Eelco van Beek - IC&S wrote:
>> EvBIS> Hi Bobby,
>>
>> EvBIS> Could you sent me the e-mail message (full source, you can do
>> that with
>> EvBIS> the postcat <queufile> command) that resulted in the sigsegv?
>>
>> EvBIS> Best regards,
>>
>> EvBIS> Eelco
>>
>> EvBIS> On vrijdag, feb 21, 2003, at 22:14 Europe/Amsterdam, Boyan
>> Alexiev
>> EvBIS> wrote:
>>
>>>> Hello again guys!
>>>>
>>>> It seems I am having some problems with 1.0 dbmail-smtp that are not
>>>> unknown to you. And yes, I think this is related to messages being
>>>> sent over and over again (which sadly many of you have noticed on
>>>> this
>>>> very list, which I apologize for).
>>>> I am using Dbmail 1.0 official final source. This works with postfix
>>>> version 1.1.11.0-3 and mysql server 3.23.52-2
>>>> Here is the mail.log message:
>>>>
>>>> Feb 21 20:31:50 r2-d2 postfix/pipe[15725]: E91C55C00DD4:
>>>> to=<[EMAIL PROTECTED]>, relay=dbmail, delay=2, status=deferred
>>>> (Command died with signal 11: "/usr/sbin/dbmail-smtp")
>>>>
>>>> I have noticed this happens with mails for nonexistent users or such
>>>> that is redirected outside the domain (with an "external" alias).
>>>> Can you please advise me how to resolve this matter!
>>>> Thank you!
>>>>
>>>>
>>>> Best regards,
>>>> Bobby
>>>> [EMAIL PROTECTED]
>>>>
>>>> _______________________________________________
>>>> Dbmail mailing list
>>>> Dbmail@dbmail.org
>>>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>>>
>> EvBIS> _________________________
>> EvBIS> E.J.A. van Beek
>> EvBIS> ICT Manager
>> EvBIS> IC&S
>> EvBIS> T: +31 30 2322878
>> EvBIS> F: +31 30 2322305
>>
>> EvBIS> PGP-key:
>> EvBIS> www.ic-s.nl/keys/eelco.txt
>>
>> EvBIS> _______________________________________________
>> EvBIS> Dbmail mailing list
>> EvBIS> Dbmail@dbmail.org
>> EvBIS> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>
>> _______________________________________________
>> Dbmail mailing list
>> Dbmail@dbmail.org
>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>
EvBIS> _________________________
EvBIS> E.J.A. van Beek
EvBIS> ICT Manager
EvBIS> IC&S
EvBIS> T: +31 30 2322878
EvBIS> F: +31 30 2322305
EvBIS> PGP-key:
EvBIS> www.ic-s.nl/keys/eelco.txt
EvBIS> _______________________________________________
EvBIS> Dbmail mailing list
EvBIS> Dbmail@dbmail.org
EvBIS> https://mailman.fastxs.nl/mailman/listinfo/dbmail
Mar 5 16:03:43 boba-fett postfix/smtpd[25417]: connect from
greedo.bs.netel.bg[80.246.192.66]
Mar 5 16:03:43 boba-fett postfix/smtpd[25417]: A624A936D6:
client=greedo.bs.netel.bg[80.246.192.66]
Mar 5 16:03:45 boba-fett postfix/cleanup[25418]: A624A936D6:
message-id=<[EMAIL PROTECTED]>
Mar 5 16:03:45 boba-fett postfix/qmgr[25525]: A624A936D6: from=<[EMAIL
PROTECTED]>, size=1065, nrcpt=1 (queue active)
Mar 5 16:03:45 boba-fett postfix/smtpd[25417]: disconnect from
greedo.bs.netel.bg[80.246.192.66]
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: read_header(): readheader start
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: read_header(): readheader done
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: read_header(): function
successfull
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mime_readheader(): entering mime
loop
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mime_readheader(): found double
newline; header size: 23 lines
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): mimelist
currently has [16] nodes
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): mail address
parser starting
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): total fields in
header 16
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): scanning for
Return-Path
Mar 5 16:03:45 boba-fett last message repeated 15 times
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): found 0
emailaddresses
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): mail address
parser finished
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): mimelist
currently has [16] nodes
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): mail address
parser starting
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): total fields in
header 16
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): scanning for From
Mar 5 16:03:45 boba-fett last message repeated 11 times
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): found [EMAIL
PROTECTED], next in list is (null)
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): scanning for From
Mar 5 16:03:45 boba-fett last message repeated 3 times
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): found 1
emailaddresses
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list(): mail address
parser finished
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: main(): using SPECIAL_DELIVERY to
email addresses
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list_special():
gathering info from command line
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: mail_adr_list_special(): adding
[EMAIL PROTECTED] to userlist
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: auth_check_user(): checking user
[EMAIL PROTECTED] in alias table
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: auth_check_user(): executing
query, checks [-1]
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: __auth_query(): executing query
[SELECT deliver_to FROM aliases WHERE alias="[EMAIL PROTECTED]"]
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: auth_check_user(): into checking
loop
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: auth_check_user(): checking user
[EMAIL PROTECTED] to [EMAIL PROTECTED]
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: auth_check_user(): checking user
[EMAIL PROTECTED] in alias table
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: auth_check_user(): executing
query, checks [1]
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: __auth_query(): executing query
[SELECT deliver_to FROM aliases WHERE alias="[EMAIL PROTECTED]"]
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: auth_check_user(): adding [EMAIL
PROTECTED] to deliver_to address
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: insert_messages(): user [EMAIL
PROTECTED] found total of [1] aliases
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: pipe_forward(): delivering to 1
external addresses
Mar 5 16:03:45 boba-fett dbmail/smtp[25421]: pipe_forward(): opening pipe to
command /usr/sbin/sendmail [EMAIL PROTECTED]
Mar 5 16:03:45 boba-fett postfix/pickup[23820]: 9125A935A4: uid=105
from=<dbmail>
Mar 5 16:03:45 boba-fett postfix/cleanup[25418]: 9125A935A4:
message-id=<[EMAIL PROTECTED]>
Mar 5 16:03:45 boba-fett postfix/qmgr[25525]: 9125A935A4: from=<[EMAIL
PROTECTED]>, size=1183, nrcpt=1 (queue active)
Mar 5 16:03:45 boba-fett postfix/pipe[25420]: A624A936D6: to=<[EMAIL
PROTECTED]>, relay=dbmail, delay=2, status=deferred (Command died with signal
11: "/usr/sbin/dbmail-smtp")
Mar 5 16:03:45 boba-fett postfix/smtp[25425]: 9125A935A4: to=<[EMAIL
PROTECTED]>, relay=mail.netel.bg[80.246.192.2], delay=0, status=sent (250 Ok:
queued as BA6E95C000EB)
Mar 5 15:39:45 boba-fett postfix/smtpd[24579]: connect from
greedo.bs.netel.bg[80.246.192.66]
Mar 5 15:39:45 boba-fett postfix/smtpd[24579]: 42A3B936D6:
client=greedo.bs.netel.bg[80.246.192.66]
Mar 5 15:39:46 boba-fett postfix/cleanup[24580]: 42A3B936D6:
message-id=<[EMAIL PROTECTED]>
Mar 5 15:39:46 boba-fett postfix/qmgr[25525]: 42A3B936D6: from=<[EMAIL
PROTECTED]>, size=1073, nrcpt=1 (queue active)
Mar 5 15:39:46 boba-fett postfix/smtpd[24579]: disconnect from
greedo.bs.netel.bg[80.246.192.66]
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: read_header(): readheader start
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: read_header(): readheader done
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: read_header(): function
successfull
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mime_readheader(): entering mime
loop
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mime_readheader(): found double
newline; header size: 23 lines
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): mimelist
currently has [16] nodes
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): mail address
parser starting
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): total fields in
header 16
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): scanning for
Return-Path
Mar 5 15:39:46 boba-fett last message repeated 15 times
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): found 0
emailaddresses
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): mail address
parser finished
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): mimelist
currently has [16] nodes
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): mail address
parser starting
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): total fields in
header 16
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): scanning for From
Mar 5 15:39:46 boba-fett last message repeated 11 times
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): found [EMAIL
PROTECTED], next in list is (null)
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): scanning for From
Mar 5 15:39:46 boba-fett last message repeated 3 times
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): found 1
emailaddresses
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list(): mail address
parser finished
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: main(): using SPECIAL_DELIVERY to
email addresses
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list_special():
gathering info from command line
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: mail_adr_list_special(): adding
[EMAIL PROTECTED] to userlist
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: auth_check_user(): checking user
[EMAIL PROTECTED] in alias table
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: auth_check_user(): executing
query, checks [-1]
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: __auth_query(): executing query
[SELECT deliver_to FROM aliases WHERE alias="[EMAIL PROTECTED]"]
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: auth_check_user(): into checking
loop
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: auth_check_user(): checking user
[EMAIL PROTECTED] to [EMAIL PROTECTED]
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: auth_check_user(): checking user
[EMAIL PROTECTED] in alias table
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: auth_check_user(): executing
query, checks [1]
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: __auth_query(): executing query
[SELECT deliver_to FROM aliases WHERE alias="[EMAIL PROTECTED]"]
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: auth_check_user(): adding [EMAIL
PROTECTED] to deliver_to address
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: insert_messages(): user [EMAIL
PROTECTED] found total of [1] aliases
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: insert_messages(): alias
deliver_to is [EMAIL PROTECTED]
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: pipe_forward(): delivering to 1
external addresses
Mar 5 15:39:46 boba-fett dbmail/smtp[24583]: pipe_forward(): opening pipe to
command /usr/sbin/sendmail [EMAIL PROTECTED]
Mar 5 15:39:46 boba-fett postfix/pickup[23820]: 6B4CA935A4: uid=105
from=<dbmail>
Mar 5 15:39:46 boba-fett postfix/cleanup[24580]: 6B4CA935A4:
message-id=<[EMAIL PROTECTED]>
Mar 5 15:39:46 boba-fett postfix/qmgr[25525]: 6B4CA935A4: from=<[EMAIL
PROTECTED]>, size=1191, nrcpt=1 (queue active)
Mar 5 15:39:46 boba-fett postfix/pipe[24582]: 42A3B936D6: to=<[EMAIL
PROTECTED]>, relay=dbmail, delay=1, status=sent (bs.netel.bg)
Mar 5 15:39:46 boba-fett postfix/smtp[24587]: 6B4CA935A4: to=<[EMAIL
PROTECTED]>, relay=mail.netel.bg[80.246.192.2], delay=0, status=sent (250 Ok:
queued as 8F9D65C000F8)