end
I will assume you are running sendmail as your MTA, and you have root
privelages on the majordomo machine. Assuming sendmail is configured
correctly, there are three places where bottlenecks or misconfiguration
can cause duplicate deliveries.
1. Sendmail gets interrupted during a delivery and starts over from
the beginning. Do you notice that people at the top of the subscriber
file get more duplicates than those at the end? You may need faster
CPU(s), more bandwidth, or perhaps a smarthost.
2. You have duplicate entries in the subscriber file itself, or
multiple references to :include: that file in your aliases. Do a
'uniq' or a 'sort -u' on the subscriber file. Do a 'uniq' on the
/etc/aliases file.
3. Line wrapping is getting you into trouble with your aliases file.
If you must use hard line breaks and continue lines on the following
line, always indent the continuation. Unless the line is blank or a
comment, every alias in /etc/aliases file should start with letter(s),
followed by alphanumerics, hyphen, or underscore, and
end with alphnumeric folowed by colon and white space.
There should be NO white space left of the colon.
If an alias line does not contain a colon, and it is not a comment,
fix it by joining it to the previous line above, indenting it, or
commenting it out.
Here is a sample set of aliases which utilize resend, archive, digest
and auto-response (request-answer).
owner-test: test-owner,
test: "|/usr/lib/majordomo/wrapper -l test test-outgoing,nobody"
test-owner: dliston
test-approval: dliston
test-outgoing: :include:/var/lib/majordomo/lists/test,test-archiver,test-digestify
test-archiver: "|/usr/lib/majordomo/wrapper archive2.pl -f /var/lib/majordomo/archive/test/test -a -M"
test-digestify: "|/usr/lib/majordomo/wrapper digest -r -C -l test-digest test-digest-outgoing",
test-request: "|/usr/lib/majordomo/wrapper request-answer test"
test-digest: test
owner-test-digest: owner-test
test-digest-request: "|/usr/lib/majordomo/wrapper majordomo -l test-digest"
test-digest-outgoing: :include:/var/lib/majordomo/lists/test-digest
Locations referenced by the aliases above are defined in majordomo.cf.
I also use a standard alias of "nobody", defined as
nobody: /dev/null
and I add Tmajordomo to sendmail.cf or just majordomo to trusted-users
in /etc/mail, depending on what version of sendmail I am running and
the actual name/id of the majordomo user.
What does all this do? It prevents sendmail from advertising your
-outgoing alias in the "Received:" headers of all email going out
from your lists. You do not want users (or spammers) writing to
the listname-outgoing address directly, you want them to write to
the listname address so that resend can check your config file for
any rules about the list before delivering the message.
Dan Liston
Bob Cohen wrote:
>
> What would this do? Also, I seem to have created some sort of mail
> loop. The messages seem to go out in multiples of four. And I'm
> getting an endless stream of failures, bounces, and mailbox full
> messages from the listees' mail servers. For the time being I removed
> nearly everyone from the address database but that doesn't seem to have
> stemmed the tide.
>
> People are now sending very angry messages all full of capital letters.
> I feel like George Jetson on the treadmill screaming, "Jane, stop this
> crazy thing!"
>
> Bob Cohen
> b.p.e.Creative (Design and production services for the web)
> Put creative minds to work for you.
Follow-Ups:
References:
|
|