Using Mailing lists properly.

modem

Verified User
Joined
Apr 7, 2004
Messages
362
I just started working with the mailing list feature inside of DirectAdmin and want to setup a private mailing lists to certain business associates to keep them informed about things I do.

Anyway I created the mailing list, populated it with the 20 or so addresses of which I made as a regular subscriber and not a digest-subscriber. Well after I did that I sent an email to the mailing list's name to see if it worked. Unfortunately no one got any emails or it appeared that this didn't broadcast the email at all. Do I need to do something else in order for that to work?
 
A few things to look at are the various log files. Look at the /var/log/exim/mainlog for any signs of the email you sent. It will tell you if it received the email and if it attempted to deliver it. It is possible that they could be frozen in /var/spool/exim/input for some reason. If they weren't frozen, you want to check the address you used for the owner-${LISTNAME}@${DOMAINNAME} alias. If post experienced a problem, the mail will be sent to that address and not the user that sent it.
 
I did some checking and noticed that when I send an email to the mailing list... the mailing list will send me a copy of it, but not send anyone else a copy.
 
I checked the logs and there was no errors there. There was also no mention of it sending to the 20 other addresses on the mailing list. Does majordomo need a port open on the firewall to function like SpamAssassin does?
 
modem said:
I checked the logs and there was no errors there.
Instead of looking for errors, look to see if exim attempted to send to any of the other addresses.
There was also no mention of it sending to the 20 other addresses on the mailing list.
I guess you're answering me and saying that majordomo is sending only to your email address and to no other.

So the first question I'd ask is what's in the list file? Are the addresses you're sending to all in the file?

Do not paste the file into this forum; you don't want to expose those email addresses to the net. But if you want to attach it to a post one of us can look at it and help you figure it out.
Does majordomo need a port open on the firewall to function
Only port 25, which is normally open for email.
like SpamAssassin does?
What port does SpamAssassin require?

Jeff
 
Jeff,

I checked the lists file located in /etc/virtual/... and inside there all of the addresses are listed accordingly. Obviously these aren't the real addresses but they are in this form:

[email protected]
[email protected]
[email protected]

etc.

In response to your question about spamassasin, when I orginially setup spam assassin and did the spamd -d command nothing worked. Everything was fully installed right but nothing worked. One of the DA support guys checked it out and told me by chance to turn off my iptables firewall. Viola it worked. AFter some research I found out I had to create a rule like this:

If protocol is TCP and source is localhost and destination port is 783

Before SA would work. i was wondering if Majordomo needed something of a change like that to work?
 
Nope.

Nor do I have port 783 opened through my firewall, and yet SpamAssassin works.

Hmmmmm???

Jeff
 
Well I am running a firewall directly on this server itself and am not behind a pix hardware firewall or such. But still... it's odd.
 
Just out of curosity, you are sending the email to ${LISTNAME}@${DOMAINNAME} and not majordomo@${DOMAINNAME}?
Also make sure your alias files are setup correctly, here is a copy of mine with list name, admin name and domain name set as variables:

Code:
lists.aliases:
${LISTNAME}:    "|/etc/virtual/majordomo/wrapper resend -C /etc/virtual/${DOMAIANNAME}/majordomo/majordomo.cf -l ${LISTNAME} -h ${DOMAINNAME} -f owner-${LISTNAME} ${LISTNAME}-out@${DOMAINNAME}
${LISTNAME}-approval:   ${LISTADMIN}
${LISTNAME}-digest:     ${LISTNAME}@${DOMAINNAME}
${LISTNAME}-digest-approval:    ${LISTADMIN}
${LISTNAME}-digest-owner:       ${LISTADMIN}
${LISTNAME}-digest-request:     "|/etc/virtual/majordomo/wrapper majordomo -C /etc/virtual/${DOMAINNAME}/majordomo/majordomo.cf -l ${LISTNAME}-digest"
${LISTNAME}-owner:      ${LISTADMIN}
${LISTNAME}-request:    "|/etc/virtual/majordomo/wrapper majordomo -C /etc/virtual/${DOMAINNAME}/majordomo/majordomo.cf -l ${LISTNAME}"
majordomo:      "|/etc/virtual/majordomo/wrapper majordomo -C /etc/virtual/${DOMAINNAME}/majordomo/majordomo.cf"
majordomo-owner:${LISTADMIN}
owner-${LISTNAME}:      ${LISTADMIN}
owner-${LISTNAME}-digest:       ${LISTADMIN}
owner-${LISTNAME}-digest-outgoing:      ${LISTADMIN}
owner-${LISTNAME}-out:  ${LISTADMIN}
owner-majordomo:${LISTADMIN}

private.aliases:

${LISTNAME}-digest-outgoing:    :include:/etc/virtual/${DOMAINNAME}/majordomo/lists/${LISTNAME}-digest
${LISTNAME}-out:        "|/etc/virtual/majordomo/wrapper digest -r -C -c /etc/virtual/${DOMAINNAME}/majordomo/majordomo.cf -l ${LISTNAME}-digest ${LISTNAME}-digest-outgoing",:include:/etc/virtual/${DOMAINNAME}/majordomo/lists/${LISTNAME}
 
Back
Top