Re: Virtusertable Entry Failure

Daniel Liston <[email protected]>
Newsgroups gmane.mail.majordomo.general
Message-ID <[email protected]>
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 [email protected] vs. @sub.top.domain?  Is/are the
spammers sending to listname-outgoing@FQDN or [email protected]?
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

[email protected] wrote:

> I received notice that one of my groups had been compromised by a spammer
> sending email to [email protected]
> 
> I added a line to /etc/mail/virtusertable:
> 
>   [email protected] 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:     [email protected],
>   listname-owner:     [email protected],
>   listname-outgoing:  "|/usr/local/bin/bulk_mailer -domain ourldsfamily.com
> -maxdomains 14 -maxrcpts 4 [email protected]
> /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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.