hello Nick or anyone else,
I've been grappling around through my lack of perl and related expression understanding and have now reached the point where I have somehow achieved my recent quest of trying to use the advertising sig removal to remove old list footers.
Now, I have to somehow find a way to demime all subscribers of a specific list except for one WebTV subscriber. I have so far tried to set the $::EXPAND_MULTIPART_RFC822_SECTION variable to either 0 or 1 but both are not appropriate. This is because one option removes any reply that he is referring to, and the other results in full headers appearing in the demimed mail.
I've seen a reference to WebTV in the demime file's comments, and I've also seen the comments I've pasted below relating to setting my sendmail alias, but I simply can't seem to think of how to set things up so the WebTV person's mails by-pass demime. I've been thinking of somehow catching his mails before they reach the standard alias, then maybe use another mailing list to somehow merge his posts with the other demimed posts, but am stumped as to how to set my CPanel filters etc to achieve this without compromising the headers in the main list. A further possible complication is that he is also subscribed to another list using his same email address, so I can't consider piping all of his posts sent to my domain to a single list specific destination.
In case it helps in any advice you can give, here is the alias line I am currently using to successfully demime all posts and then pipe to my mail manager program's cron:
[EMAIL PROTECTED]: |/home/cpaneluser/www/demime.pl "|/home/cpaneluser/www/mailgust/dbcron.pl 11"
By the way, I don't have unix command line access to my webspace. I use CPanel.
many thanks, Lee
=item target positional parameter: relay|-|>&=d|'|pipe as argument'
This required option indicates the mailing address that should get the reformatted message. If you want the message on stdout, use '-' as the address. The address to send to will not be read from the mail file, for security reasons.
You may specify a list of addresses. Simply insure that they are passed as one token and separated by semicolons. If you use sendmail, an alias such as:
realuser: "| demime '-;\realuser;otheruser' | other_program"
may be useful. It will deliver both to the next program in the pipe and to the mail file belonging to the real user that you are aliasing.
