|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: debug smtp
From: Zhong Chen (chen
fastpointcom.com)Date: Wed Oct 11 2000 - 00:57:22 CDT
- Next message: Big Brother: "Spam Deferred Trick"
- Previous message: Matthias Andree: "Re: snapshot-20000924: bogus error message for "username
[11.22.33.44]" host-directed SMTP"
- Next in thread: Wietse Venema: "Re: debug smtp"
- Reply: Wietse Venema: "Re: debug smtp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I tried to debug the smtp process. In master.cf file, I added -D option:
smtpe unix - - n - 1 smtp -v -D
In main.cf, added:
process_name = smtp
debugger_command = /usr/local/bin/gdb $program_directory/$process_name $process_id & sleep 5
After sending a mail, following line appears in the maillog file: (the mail sent successfully)
Oct 10 22:34:44 smr smx/smtp[32083]: running: /usr/local/bin/gdb /usr/libexec/smx/smtp 32083 & sleep 5
But I didn't see any gdb has been invoke.
I also tried to use gdb to attach the running "smtp", by using: "attach <pid>" command, but no symbol table is loaded. (the program is compiled with gcc on linux with -g option)
Please help me. Thanks.
Z. Chen
- Next message: Big Brother: "Spam Deferred Trick"
- Previous message: Matthias Andree: "Re: snapshot-20000924: bogus error message for "username
[11.22.33.44]" host-directed SMTP"
- Next in thread: Wietse Venema: "Re: debug smtp"
- Reply: Wietse Venema: "Re: debug smtp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]