Re: Headers and footers not appearing on list messages
"Kenneth G. Gordon" <[email protected]> Thu, 20 Aug 2009 16:35:01 -0700
| Newsgroups | gmane.mail.majordomo.general |
|---|---|
| Message-ID | <4A8D7B35.5648.2C14F2E6@localhost> |
On 20 Aug 2009 at 18:06, Daniel Liston wrote: > > However, if I set ALL files in the majordomo/lists director to mode > > 644, neither the header nor the footer appears on any list message. > > Are you sure they are not in the message? Yes. Absolutely. They are not even there when I use PINE to view those e-mails, nor in Pegasus, even when I look at the RAW file. They are simply not there. > Or are they hidden by > MIME/HTML message bodies? CTRL-U in netscape/mozilla/thunderbird to > see pieces of the message hidden by the client. I am not sure of > equivalent outlook/eudora/other clients keys, but they do have this > ability too. NONE of this applies in this case. > > The above leads me to believe that the $list.config files are not > > even being used at all with the present mode. > > This depends on the answer to the above, and whether "resend" is being > used on the alias that directs messages for your list. It is. > > Shouldn't some of those files be executable? > > ABSOLUTELY NOT!!! I assumed as much. > None. The only executables are in/under your majordomo $HOME > directory. My *.config files are 660 and my lists are 644. Ah HA! WHICH *..config files? Where? This is the question I am asking.... > My list, > digest, and archive directories are all 750. As are mine....although I think my list directory is 4750...since it is owned by majordom > Then again, my majordomo > user has it's own group, and mail is a member of majordomo and > majordomo is trusted. So is mine...actually, majordom is a member of mail. I suppose I should reverse that... > > If I do not set at least the $list file to mode 644, I get an error > > message from sendmail that the file is group writeable and it won't > > read it. > > Sendmail security can be reduced to allow group writable files, but > this is not necessary either. And I do not want to do that either! > As this is not in majordomo's control, > but sendmail's, Yes. I know. > I offer; > > http://www.sendmail.org/tips/dontBlameSendmail I have already read that....so many times my eyes are tired. > > Thus, none of the list administrators can edit their $list files > > unless they su majordom, or unless I make all the files associated > > with a particular list owned by the list administrator. > > Incorrect! Admins do not have to manipulate the files locally, or > even have a login on your majordomo/sendmail server. Lists and their > configs can be managed remotely through email commands to majordomo. I know that. I HAVE read the Majordomo documentation, after all, although it may seem as though I haven't. However, most of my list managers prefer to use SSH or similar rather than the e-mail management method. > To add or remove addresses from a list, they simply send one line for > each command in the body of a message to your majordomo alias. > > approve list-password [un]subscribe listname email@address > approve list-password [un]subscribe listname [email protected] > > The above method means list owners do not need permission to > manipulate files in the majordomo lists directory, as majordomo is the > user making changes. > > [approve list-password] who listname > will retrieve the entire subscriber file Yes. I know all that, thanks. As I said, most of my list managers are reluctant to use that method. They prefer something they are used to using....SSH/telnet. After all, they have been using their preferred method for nigh onto 10 years... > > SEE ALSO: > config listname list-password > newconfig listname list-password > writeconfig listname list-password I have read all that. As I said... > > I have added majordom to the list of Trusted users in my > > sendmail.cf, which allows sendmail to read the $list files at all, > > but what do I do about the other files, especially the $list.config > > files? > > Adding majordom as a Trusted user does not do what you describe above, > but it may seem like it. A trusted user is one that sendmail will not > issue warnings about setting the from address to something other than > it's own login name. It may have a side effect of trusting > directories/files owned by that user as well. You should really be > following majordomo documentation for managing majordomo, then if > sendmail security is restricting your majordomo actions, you can relax > sendmail accordingly. That last, relaxing sendmail's security, I do NOT want to do. I have had too much trouble with hackers to even suggest making it any easier for those scum-of-the-earth. > > This might be helpful, with lots of good troubleshooting/debugging > information; > > http://www.greatcircle.com/majordomo/README I have read that, repeatedly, and have printed it off several times. To provide another clue, I have the following files in my lists directory. $list $list.config $list.info $list.save $list.strip ALL $list files are 644 If I make $list.config 644, it does not get "read" or applied. I HAVE to set that file, at least, as 664 in order for it to work. I do not yet know if the others are effected as well. However, you say above that your *.config files are 664, so again, I ask WHICH *.,config files? Those dealing with majordomo itself, those associated with each list, those over in the directory where I did Make and Install? Which? Am I correct in assuming that when you said *.config, you meant ONLY those in the lists directory? Thank for all the time and help, BTW. Ken Gordon