This is more of a sendmail question than majordomo, and the virtusertable
entry "should" just work. I am not sure what changed in newer versions of
sendmail that would make messages from the local machine invoke use of the
virtusertable at all. I always understood those settings to affect SMTP
network communications only.
Unfortunately, my knowledge of sendmail has faded over the last few years,
and I recall bumping into this situation before, but do not remember the
solution.
What does your sendmail maillog entry show for the transaction? Is majordomo
in your trusted users file? Is moroni in your domain names file or even in
a genericstable of sorts? Have you experimented at all with possible other
invocations of listname-outgoing @
top .
domain vs. @sub.top.domain? Is/are the
spammers sending to listname-outgoing @
FQDN or listname-outgoing @
your .
domain?
Does your sendmail have the feature enabled to "always_add_domain"? Any of
these could introduce the what you are seeing. What does the "hostname" or
"domainname" command show you?
Since you are already using methods to hide the -outgoing alias from showing
up in message headers, a simple band-aid would be to rename all occurrences
of listname-outgoing to listname-secretrandomtext. Since this should never
be visible outside your own mail system, you could even change randomtext as
often as you like to stay ahead of spammers that may "discover" it's value.
In the mean time, I will do some googling of sendmail virtusertable and see
if I can offer any other suggestions.
Dan Liston
karlp @
ourldsfamily .
com wrote:
> I received notice that one of my groups had been compromised by a spammer
> sending email to listname-outgoing @
moroni .
ourldsfamily .
com
>
> I added a line to /etc/mail/virtusertable:
>
> listname-outgoing @
moroni .
ourldsfamily .
com error:nouser Invalid User
>
> which works. Unfortunately, it blocks ALL email to the group. The alias is:
>
> listname: "|/opt/majordomo-1.94.5/wrapper resend -l listname
> listname-outgoing,nobody"
> owner-listname: wife @
ourldsfamily .
com,
> listname-owner: wife @
ourldsfamily .
com,
> listname-outgoing: "|/usr/local/bin/bulk_mailer -domain ourldsfamily.com
> -maxdomains 14 -maxrcpts 4 listname-owner @
ourldsfamily .
com
> /opt/majordomo-1.94.5/lists/listname", listname-archiver, listname-digestify
> listname-approval: listname-owner
> listname-archiver: "|/opt/majordomo-1.94.5/wrapper archive2.pl -f
> /opt/majordomo-1.94.5/archives/listname/listname -a -M"
> listname-digestify: "|/opt/majordomo-1.94.5/wrapper digest -r -C -l
> listname-digest listname-digest-outgoing,"
> listname-digest: listname
> listname-owner-digest: listname-owner
> listname-digest-approval: listname-owner
> listname-digest-outgoing: :include:/opt/majordomo-1.94.5/lists/listname-digest
>
> There are some linewraps so I've added 2 spaces at the beginning of each line
> to make it more readable.
>
> My question: What Do I Do To Fix This and Stop The Spammers, too?
>
> TIA
>
Follow-Ups:
References:
|
|