In 2.1 you can run lmtpd in non-forking mode. For 2.0 you have to use the usual trick: set a sleep(10000) and perhaps a trace call where you suspect the problem, get the PID from the syslog, and attach the debugger to the running process.
Nataraj S Narayan wrote: > Hi > > I want to use the graphical debugger 'ddd' and trace through > 'dbmail-lmtpd' code ,while it executes. As it is a daemon, it doesnt > work the usual way in ddd. > > Plz suggest how to trace thru the code for a daemon program. > > regards > > Nataraj > _______________________________________________ > Dbmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail > -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl
