> > The only problem that I can think of now, is how to > determine if mail is delivered local, or it is delivered > remote (to sign it or to check it), since --local-domains > isn't good enough. I was thinking of some way to read the > domains from rcpthosts and know which domains are local (will > check the signature) and which are not (will have to sign > them). Also to check if the mail is sent from local to local > and sign it, afterwards check it :)))) >
I think the problem here is that in qmail-scanner, you get all the recips in $recips like "[EMAIL PROTECTED]@domain2.com\0" - so, the problem you run into here is that recip #1 might be remote and recip #2 might be local. A function that checked all recips to be either all local (check) or all remote (sign) would be fine, but when you have mixed mode, you really cant do anything with it. IMO, Your best best is a patch to qmail-remote.c that 'signs' the domain key at that point as its leaving your system. Dallas ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general