View Full Version : DA mailinglist or majordomo settings?
The Majordomo configuration page in DA seems to have a lot of nice controls in an easy to read form.
However I can not find any documentation on what all the fields do and how they work together (or not). For example what are the 'taboo' fields used for, what is the difference between a 'fronter' and a 'header'. What do all the other fields mean?
The help refers you to the majordomo web site, but some browsing and searching does not seem to line up with what is on the DA mailing list configuration page.
Has anyone figured this stuff out at all? What do all the different fields mean and what affect do they have on my mailing lists?
It's just not obvious to me! Thanks for any help with this!
NHFTRich-
Majordomo was designed for its primary interface to be email. The DA interface is another means of accessing the frequently used features in majordomo. It sounds clunky, but the majordomo setup on the DA servers sends its replies fairly briskly - in my experience, majordomo replies to commands get back to me from the hostpc servers within 30 seconds. Of course, YMMV, depending on how many hops your email has to make between your desktop and the server.
One quick way that you can gain insight into the inner workings of majordomo is to retrieve the overview document within it by email. For instance, send an email to majordomo@nameofyourdomainhere.whatever and put only the word "help" in the body of the message. Majordomo will email you back with an overview of the commands available.
Since the docs describe this better than I can, here are a couple of excerpts from the "help" message from majordomo:
This is version 1.94.5 of Majordomo.
If you're familiar with mail servers, an advanced user's summary of
Majordomo's commands appears at the end of this message.
Majordomo is an automated system which allows users to subscribe
and unsubscribe to mailing lists, and to retrieve files from list
archives.
You can interact with the Majordomo software by sending it commands in the body of mail messages addressed to "majordomo@namedeleted.com". Please do not put your commands on the subject line; Majordomo does not process commands in the subject line.
You may put multiple Majordomo commands in the same mail message.
Put each command on a line by itself.
If you use a "signature block" at the end of your mail, Majordomo may
mistakenly believe each line of your message is a command; you will
then receive spurious error messages.* To keep this from happening,
either put a line starting with a hyphen ("-") before your signature,
or put a line with just the word
<SNIP>
It understands the following commands:
* * subscribe <list> [<address>]
Subscribe yourself (or <address> if specified) to the named <list>.
* * unsubscribe <list> [<address>]
Unsubscribe yourself (or <address> if specified) from the named <list>.
"unsubscribe *" will remove you (or <address>) from all lists.* This
_may not_ work if you have subscribed using multiple addresses.
* * get <list> <filename>
* * * * Get a file related to <list>.
* * index <list>
* * * * Return an index of files you can "get" for <list>.
* * which [<address>]
Find out which lists you (or <address> if specified) are on.
* * who <list>
Find out who is on the named <list>.
* * info <list>
Retrieve the general introductory information for the named <list>.
* * intro <list>
Retrieve the introductory message sent to new users.* Non-subscribers
may not be able to retrieve this.
* * lists
Show the lists served by this Majordomo server.
* * help
Retrieve this message.
* * end
Stop processing commands (useful if your mailer adds a signature).
Many of the switches in the DA CP for majordomo relate to who can access the functions by email. If you setup large email lists, spammers (or competitors) could potentially retrieve all of the lists and all of the email addresses on those lists from your majordomo server by sending it commands through the email interface. The default settings are wide open, so if you use a lot of lists and are concerned about this, you will want to use the DA CP to set the commands for "Who access" and "Which access" to "Closed."
In general, syntax is critical in majordomo email commands. A punctuation mark out of place will yield an error message more often than not. On the other hand, majordomo tends to be very forgiving in that it is difficult to accidentally send the wrong command and really foul something up! :)
Majordomo has a lot of great features that are not accessible via the DA CP. If you want to do some serious email list setup, you may want to explore those settings with some practice lists before you populate your lists with real addresses.
Thanks for the reply.
I'll have to dig some more to see if I can find out what some of the DA settings do. I couldn't find it with the searching I did a couple of times.
If anyone finds documentation on the DA panel settings, I'd appreciate it if you share it here.
I have more questions than answers on majordomo.
After spending a few hours on this, I can't find any documentation on the fields in the DirectAdmin interface.
If you use the DirectAdmin documentation help pages, they refer you to the majordomo web pages at great circle. These pages ask you to purchase a book. I'll have to go to a book store to see if the answers I seek are in this book.
It sure would be nice if a simple explaination of the different fields in the DirectAdmin mailing list screens were at least defined as to what they do.
For example, right now I'm trying to debug a problem where every time someone sends a message to one of my mailing lists I recieve the following email in my root mailbox:
MAJORDOMO ABORT (mj_digest)!!
open(DIGEST,
">/etc/virtual/mydomain.dom/majordomo/lists/mymaillist-digest.archive/v01.n001"):
No such file or directory
The interesting thing is that I have no users subscribed to a mailing list digest. So how do I clear this error message?
Why do I get this message if there is no digest users?
I'd appreciate some help. If anyone is using the DirectAdmin majordomo and would like to work together to document its settings, I'll be happy to share the results with everyone to save others from wasting too much time themselves on it.
Rich
Hi Rich-
Just a guess, but maybe a workaround to try that would eliminate the problem is to subscribe a null user to the digest? (Create a forwarder in your domain that points to :blackhole: and subscribe the forwarder address to this list's digest.) Perhaps the "right hand" of the software is looking for a digest file that it thinks the "left hand" created, but the left hand didn't create one because there are no digest subscribers?
I have some experience with majordomo (and its "cousins" listserv and listproc) from a few years back, and I'm using it fairly lightly here. (~10 lists with <10 subs each) You can PM me (NM, i just PMed you my email.) Let me know what you'd like to document and maybe I can find some of it in the help docs or give you my interpretation. You might also find some takers for this project over at the DirectAdmin forums.
Thanks Jeff,
I thought of doing that, but the blackhole is more of a work around than a fix.
I sent you an email, we can talk more on this. I'd like to get the fields documented at least.
Thanks for the help and the offers.
R
Well, I've done some digging.
It appears there's a directory missing. That's what this error:
MAJORDOMO ABORT (mj_digest)!!
open(DIGEST,
">/etc/virtual/mydomain.dom/majordomo/lists/mymaillist-digest.archive/v01.n001"):
No such file or directory
Is all about.
So my guess is that DirectAdmin has some bugs in the MajorDomo setup scripts. If a directory should be required, it should have created it with the proper permissions.
Also if you ever delete a mailing list, it should removed the directories.
Is anyone else using mailling lists under DirectAdmin?
I can't find any directory that looks like /etc/virtual. Is this the same as /user/loginname?
So where would I find or should I locate majordomo/lists/mymaillist-digest.archive/ and can I set the owner under directadmin?
(continued from )Email 101 (http://www.hostpc.com/forums/index.php?act=ST&f=2&t=926&st=0#))
I also am interested in learning what the DA Control Panel settings for MajorDomo mean. I want to set up a mailing list for sending out newsletters; I don't want anyone else to be able to send to the list except for me; and of course the emails need to be hidden from spammers.
Here are the settings I'm starting with:
Get Access:* * * List (Open, Closed)
Index Access: Open (Closed, List)
Info Access:* * Open (Closed, List)
Intro Access:* * List (Open, Closed)
Which Access: Closed (Open, Closed, List)
Who Access:* Closed (Open, Closed, List)
Welcome:* * * * No (Yes, No)
Mungedomain: No (Yes)
Moderate:* * * * No (Yes)
Moderator:* * * blank
Precedence:* * bulk
Purge Received: No (Yes)
Restrict Post: me@mydomain.com
Strip: Yes (No)
Can someone explain Get Access, Index Access, Info Access, and Intro Access?
The Restrict Post feature isn't working correctly -- it causes no emails to be sent at all.
D9r, this is the draft version of the info that NHFTRich and I came up with in researching those settings. You may need to review my November 27 post in this thrread to understand Get, Index, Info and Intro, which are majordomo commands issued via email.
> For the commands below, the following conventions apply:
> list = limit access on this command to list members only
> open = allow access to this command to the world
> closed = allow access to this command to only the list owner
>>Get Access (list, open, closed)
>
> The Get feature permits retrieving files associated with a list. The
> "Get Access" setting determines who has access to the command using
> the criteria above.
>
> >Index Access (list, open, closed)
>
> The index feature lists the files associated with a list. The "Index
> Access" setting determines who has access to the command using the
> criteria above.
>
>
> >Info Access (list, open, closed)
>
> The Info feature provides more information about a list. The text for
> the "Info" is entered into the "List Information" field in the
> "Modify List" area in the DA Control Panel. The "Info Access"
> setting determines who has access to the command using the criteria
> above.
>
>
> >Intro Access (list, open, closed)
>
> The Intro feature normally retrieves the introductory message sent to
> new users. It is not possible to enter the Intro text in the DA
> Control Panel, so requests for "intro" from the server will return an
> error message. The "Intro Access" setting determines who has access
> to the command using the criteria above.
Well now I'm embarassed -- you already answered my question; I read the answer and it was staring me right in the face but I didn't see it.
Why do you think Restrict Post isn't working? On the control panel are you supposed to enter the email address, or the name of a list which contains the allowed emails?
How do I establish myself as the List Owner? In other words, how can I use index, who, etc while they're closed?
Originally posted by D9r@Mar 13 2004, 03:30 PM
Why do you think Restrict Post isn't working? On the control panel are you supposed to enter the email address, or the name of a list which contains the allowed emails?
The answer seems to be that you set up another list containing just your email address, and then put the name of that list in the field for Restrict Post. Just tested it and it worked. (neato!)
For example:
Restrict Post: nameof2ndlist
'nameof2ndlist' is a mailing list listing the people allowed to send to the 1st list (in this case, just me).
(If you want everyone on the first list to be allowed to post, then I assume you enter 'nameof1stlist'.)
I must say -- this majordomo mailing list stuff is loads of fun. What a great tool! (I just sent out my first mailing. Ooo, wow.)
Is majordomo standard with most server packages? Or is it one of the extras that makes hostpc stand above the rest? The ability to manage it via the DA Control Panel certainly is convenient.
D9r, I missed your post with the question yesterday.
That's a neat trick tying 2 lists together like that. I wouldn't have thought of that. I haven't tried to do much post-restricting on my lists, so I assumed it worked as published. I'm glad you figured out a workaround.
AFAIK, there is no way to change the list owner via email commands. All of the docs I see on majordomo say that the list owners are contained in an aliases file that only sys admins can access. I assume here at HostPC that would mean it is only available to root.
To answer your other question, I think majordomo is just a standard component of DirectAdmin. Mailing List apps as a category have been around longer than the web. (I was on some listserv lists back in the early 90s.) The major ones (listserv, listproc, majordomo) all work fairly similarly as far as managing them via email.
http://www.directadmin.com/forum/showthrea...=&threadid=1555 (http://www.directadmin.com/forum/showthread.php?s=&threadid=1555)
I ran across the thread above over at the DA Forum that discusses majordomo/DA and wanted to add it to this thread as a related resource for those having trouble. One of the users in that thread (jlasman) appears to be a major (;)) majordomo expert.
Regarding the question on how to establish myself as list-owner, I wanted to know how to administer the list via email when access is closed ('closed' giving access to the owner only). I haven't tested it yet, but I assume the method is to use the password in combination with commands.
Another question:
Is there any problem (when putting emails on the list) with using this format:
name@domain.com (firstname lastname)
Or is it better to not use the name in parenthesis?
name@domain.com
When the list is set so that only specific email addresses are allowed to mail to it, what prevents a creative individual from creating a false email account on their email client - pretending to be one of the allowed addresses, and mailing to the list? It seems to me anyone can create a 'pretend' email account. Does my question make sense?
Originally posted by D9r@Sep 24 2004, 08:20 AM
When the list is set so that only specific email addresses are allowed to mail to it, what prevents a creative individual from creating a false email account on their email client - pretending to be one of the allowed addresses, and mailing to the list? It seems to me anyone can create a 'pretend' email account.
The way to prevent non-subscribers from finding out who is on the list would be to restrict access to the majordomo "who" command in the control panel. If someone desiring to spam to your list KNOWS an address that's on that list, I don't think there's any way to prevent the spammer from spoofing and sending to the list.
Originally posted by Jeff+Sep 24 2004, 10:15 AM--><div class='quotetop'>QUOTE(Jeff @ Sep 24 2004, 10:15 AM)</div><div class='quotemain'><!--QuoteBegin-D9r@Sep 24 2004, 08:20 AM
When the list is set so that only specific email addresses are allowed to mail to it, what prevents a creative individual from creating a false email account on their email client - pretending to be one of the allowed addresses, and mailing to the list? It seems to me anyone can create a 'pretend' email account.
The way to prevent non-subscribers from finding out who is on the list would be to restrict access to the majordomo "who" command in the control panel. If someone desiring to spam to your list KNOWS an address that's on that list, I don't think there's any way to prevent the spammer from spoofing and sending to the list.
Quoted post
[/b][/quote]
Any recipient on the list would know at least 1 address of an allowed sender -- all they have to do is look to see who sent the email. They could then spam the list if they so desire by pretending to be the original sender. Is there a way to prevent that?
...(later)...I see now -- set the list to 'moderated'. Never mind.
========================================
BTW, here are some related threads for easy reference:
* Problems Setting Up Mailing Lists (http://www.hostpc.com/forums/index.php?showtopic=1456)
* Sending Attachments To A Mailing List (http://www.hostpc.com/forums/index.php?showtopic=1427)
* Mailing Lists (DirectAdmin.com) (http://www.directadmin.com/forum/showthread.php?s=&threadid=1555)
========================================
Could this thread be made a sticky topic so that it will always be at the top? I understand you can't do that with every topic, but this one seems like it might warrant it. If not, that's OK -- I can always find it again with a search.
The majordomo docs say:
3.10 - How do I set up a moderated list? How do I approve messages?
First, you need to tell Majordomo that the list is moderated. In the configuration file for the list, you set "moderate = yes". Do not try to use the now-deprecated "-A" option to resend. In fact you shouldn't be using ANY options to resend except "-h" and "-l", since all the others are handled in the config file.
Any mail which is not "approved", gets bounced with "Approval required". If the moderator wishes to approve the message for the list, then you need to tag the message as "approved" and send it to the list. The "approve" script, which comes with Majordomo, automates this for you. Whenever you get a message which needs approval, from your mail reader pipe the message through "approve". The password for each list needs to be put in your .majordomo file. Read the "approve" script for more information.
Can someone explain how to do this in plain English? In other words, does anyone know how to moderate a list and approve messages?
Originally posted by D9r@Aug 8 2005, 02:18 PM
The majordomo docs say:
If the moderator wishes to approve the message for the list, then you need to tag the message as "approved" and send it to the list. The "approve" script, which comes with Majordomo, automates this for you. Whenever you get a message which needs approval, from your mail reader pipe the message through "approve". The password for each list needs to be put in your .majordomo file. Read the "approve" script for more information.
Quoted post
* How do I "pipe the message through 'approve' from my mail reader?
* Where is the 'approve' script?
* How do I tag the message as 'approved'?
* Do I have access to majordomo files (such as files containing the email addresses) via FTP? (I'll go look and see.)
Asher Black
09-18-2005, 01:08 AM
I'm using Direct Access and my message footer and fronter don't work in any of my lists. What's up? Any idea?
What does purge received do?
Powered by vBulletin™ Version 4.0.3 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.