On Thu, 2003-01-16 at 10:42, Ryan Butler wrote:

Okay, encountered another problem, its throwing sig 11's on aliases that
point to non local aliases:  eg:

alias: [EMAIL PROTECTED] points to [EMAIL PROTECTED]

in the aliases table:
insert into aliases values('','[EMAIL PROTECTED]','[EMAIL PROTECTED]','');

then I manually executed dbmail-smtp and pasted the email into it:

/usr/local/sbin/dbmail-smtp -d [EMAIL PROTECTED]

It produces the following in gdb:

bt
#0  0x400d5f99 in __libc_free (mem=0xbffff060) at malloc.c:3143
#1  0x0804d1c7 in pipe_forward (instream=0x40187660, targets=0xbffff518,
    from=0x806f720 "[EMAIL PROTECTED]", 
    header=0x806e300 "Subject: Testing\nFrom: Ryan Butler
<[EMAIL PROTECTED]>\nTo: [EMAIL PROTECTED]:
text/plain\nOrganization: ADI Internet Solutions\nMessage-Id:
<[EMAIL PROTECTED]>\nM"..., 
    databasemessageid=0) at forward.c:285
#2  0x0804c265 in insert_messages (
    header=0x806e300 "Subject: Testing\nFrom: Ryan Butler
<[EMAIL PROTECTED]>\nTo: [EMAIL PROTECTED]:
text/plain\nOrganization: ADI Internet Solutions\nMessage-Id:
<[EMAIL PROTECTED]>\nM"..., 
    headersize=539, users=0x80618d0, returnpath=0xbffff9b0, 
    users_are_usernames=0, deliver_to_mailbox=0x0,
headerfields=0x80618b4)
    at pipe.c:539
#3  0x0804b4ac in main (argc=3, argv=0xbffffa44) at main.c:167
#4  0x40075336 in __libc_start_main (main=0x804b0a4 <main>, argc=3, 
    ubp_av=0xbffffa44, init=0x8048ec4 <_init>, fini=0x8055af0 <_fini>, 
    rtld_fini=0x4000d2fc <_dl_fini>, stack_end=0xbffffa3c)
    at ../sysdeps/generic/libc-start.c:129
(gdb) frame 1
#1  0x0804d1c7 in pipe_forward (instream=0x40187660, targets=0xbffff518,
    from=0x806f720 "[EMAIL PROTECTED]", 
    header=0x806e300 "Subject: Testing\nFrom: Ryan Butler
<[EMAIL PROTECTED]>\nTo: [EMAIL PROTECTED]:
text/plain\nOrganization: ADI Internet Solutions\nMessage-Id:
<[EMAIL PROTECTED]>\nM"..., 
    databasemessageid=0) at forward.c:285
285       my_free (sendmail);
(gdb) 





Initial problem with unknown users:  [EMAIL PROTECTED] does not exist, so
calling dbmail-smtp -d [EMAIL PROTECTED] yields:

bt
#0  0x400d5f99 in __libc_free (mem=0xbffff070) at malloc.c:3143
#1  0x0804cb49 in bounce (
    header=0x806e300 "Subject: Testing\nFrom: Ryan Butler
<[EMAIL PROTECTED]>\nTo: [EMAIL PROTECTED]:
text/plain\nOrganization: ADI Internet Solutions\nMessage-Id:
<[EMAIL PROTECTED]>\n"..., 
    headersize=540, destination_address=0x806e978 "[EMAIL PROTECTED]",
type=1)
    at bounce.c:175
#2  0x0804c1cc in insert_messages (
    header=0x806e300 "Subject: Testing\nFrom: Ryan Butler
<[EMAIL PROTECTED]>\nTo: [EMAIL PROTECTED]:
text/plain\nOrganization: ADI Internet Solutions\nMessage-Id:
<[EMAIL PROTECTED]>\n"..., 
    headersize=540, users=0x80618d0, returnpath=0xbffff9b0, 
    users_are_usernames=0, deliver_to_mailbox=0x0,
headerfields=0x80618b4)
    at pipe.c:516
#3  0x0804b4ac in main (argc=3, argv=0xbffffa44) at main.c:167
#4  0x40075336 in __libc_start_main (main=0x804b0a4 <main>, argc=3, 
    ubp_av=0xbffffa44, init=0x8048ec4 <_init>, fini=0x8055af0 <_fini>, 
    rtld_fini=0x4000d2fc <_dl_fini>, stack_end=0xbffffa3c)
    at ../sysdeps/generic/libc-start.c:129
(gdb) 

#1  0x0804cb49 in bounce (
    header=0x806e300 "Subject: Testing\nFrom: Ryan Butler
<[EMAIL PROTECTED]>\nTo: [EMAIL PROTECTED]:
text/plain\nOrganization: ADI Internet Solutions\nMessage-Id:
<[EMAIL PROTECTED]>\n"..., 
    headersize=540, destination_address=0x806e978 "[EMAIL PROTECTED]",
type=1)
    at bounce.c:175
175       my_free (dbmail_from_address);
(gdb) 
(gdb) print dbmail_from_address
$1 = "[EMAIL PROTECTED]", '\0' <repeats 1000 times>


-- 
Ryan Butler <[EMAIL PROTECTED]>
ADI Internet Solutions

Reply via email to