Hi, 

I've been doing some updates of dbmail at Orcon Internet during the 
last weeks. I've tried to split the changes up in different patches. 
(some of the patches are dependent of others though). The version
I've work on is the CVS from 30/10, which I think is pretty much the 
same as 'dbmail-1.0rc4.tgz'.

(config.patch 1of6)
Attached is a patch that allows more flexible configuration of dbmail. 
Instead of reading parameters from the database it takes them from a 
file, the command line or uses the default hardcoded values.
E.g.
 ./dbmail-imapd --TRACE_VERBOSE=1 --TRACE_LEVEL=5

Also included in the patch is an utility for changing the
process name (as shown by ps -ef etc.). This was done to make
debugging and error searching easier.
E.g.
 4681 ?        S      0:00 dbmail/imap4 : Server process
 4682 ?        S      0:00 dbmail/imap4 : Idle
 4683 ?        S      0:00 dbmail/imap4 : Idle
 4684 ?        S      0:00 dbmail/imap4 : Idle
 4685 ?        S      0:00 dbmail/imap4 : USER: klas [111.222.333.444]
 4687 ?        S      0:00 dbmail/imap4 : Idle


Kind regards 
/Klas Handel
[EMAIL PROTECTED]

Attachment: config.patch
Description: Binary data

Reply via email to