Thanks Sam - if anyone can give me a few pointers or confirmations it would
be appreciated...

I'm looking at Submit2.C. Inside void SubmitFile::openctl there is snippit
of code:

        ctlfile << COMCTLFILE_SENDER << (const char *)sender << endl
                << COMCTLFILE_FROMMTA << frommta << endl
                << COMCTLFILE_ENVID << envid << endl
                << COMCTLFILE_DSNFORMAT << dsnformat << endl
                << COMCTLFILE_MSGID << ino_buf << '.' << basemsgid << endl;

Now... if I were to add a record type COMCTLFILE_UID to libs/comctlfile.h, I
would like to capture the UID or authenticated user info and output it to a
control file record. In submit.C, I patched it to store the argv[2] and
argv[3] in global vars, so I could write them out to my logs (substituting
"EXTERNAL" for argv[3] if it is not set).



NOW FOR THE QUESTIONS:
1) If I add a new record type do I have to add parsing code for it somewhere
else? I just want it to be ignored except by my filters and admin programs -
is that ok or will it break something else?

2) Is this information currently passed from submit to submit2? If not, can
you give me some idea of how to do so without breaking things? (I'm sorry,
but I humbly admit my C is not my strongest skill) If it is, does it come in
the same fashion (as arvg variables?).

Thanks very much.

m/



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sam
Varshavchik
Sent: Saturday, March 15, 2003 4:49 AM
To: [EMAIL PROTECTED]
Subject: [courier-users] Re: Additional Q information needed - If I
build it, is it worthy of inclusion?


Mitch \(WebCob\) writes:

> I see two record types from the control files I don't see documented "A"
and
> "p" - can anyone point me to the starting point for the courier control
file
> code?

courier/libs/comctlfile.h

'A' is the next delivery attempt time. 'p' is the expiration time for faxes.



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to