Hi, On Wed, 03 Dec 2003 19:02:25 -0500, you wrote:
>No, as long as you are careful to only look at the second line of the >very first Received: header; and you ignore all other Received: headers. OK, please let me repeat. It would be nice if all others interested in this could check this. the goal is to configure a newsletter, that only can be posted to by one person, the newsletter author. the list should be maintanance free, so we don�t want to use moderation. Also we don�t want to use any kind of "secret address" or any "security by obscurity" model for the allowed posting addresses. The trick will be to creat a .courier file in the mailinglist account home directory (right?) which checks the SECOND line of the FIRST "received:" - header. In this line there will be two important informations: the AUTH method and the account that posted this messages. it could look like this: (AUTH: CRAM-MD5 [EMAIL PROTECTED]) At least that�s what I see in the headers. This part of the header can not be forged, as it is generated by courier. But we have to assure that it really is the SECOND line of the FIRST received header. But this can change, if an other auth-method is used, right? What other strings should be grepped for then? Could you please provide a regular expression, that would match all possible auth methods? And how do I assure that I am only testing for the second line of the first received header? E.g. if i forward that message to another account, the second line of the first received header will be (forwarded by [EMAIL PROTECTED]) But if I grep the all of the header for that AUTH string, it is wrong, because the sender of the mail himself could have put such a header into his mail.... hmmm.. Couldn�t one of you programmers please show me, how to get this done? I could imagine that there are many people out there that would like to run newsletters based on courier-mlm, if they knew how they could assure that only allowed people can post to that newsletter. Thanks again for your attention! ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
