On Sat, 13 Mar 2004 23:01:19 -0500
Dragoncrest <dragoncrest@voyager.net> wrote:
> Actually, the way I've gotten this to work is by editing my access
> file. If you put something like this in there it works.
>
> myfriendone@yahoo.com RELAY
> myfriendtwo@yahoo.com RELAY
> yahoo.com DISCARD
>
> The access file is a first match wins system. So if myfriendone
> matches, it ignores the rest. If the email doesn't match either, but does
> match the partial domain name "yahoo.com" then it discards it. I've never
> tried it specifically with yahoo.com as they've got some really f'cked up
> mail headers coming from their spam...er, I mean email service, but it's
> worth a try. ^_^
>
> Try editing that and see if it works. I have a batch file setup
> on my system to simplify making changes to this file anytime I have to add
> someone to it. Like people who are flood spamming me or who have really
> screwed up addresses that choke sendmail. Here's the commands I use:
>
> pico /etc/mail/access # use this to edit the file.
> makemap hash /etc/mail/access.db < /etc/mail/access #use this to rebuild
> the access database.
>
I had to install sendmail, because I hadn't installed it when I installed
the system. I felt it was too big of a security hole.
Are you sure that all MTAs use the access.db? From reading the docs,
it sounds like it's only for sendmail. I'm pretty sure that the qmail
docs don't say anything about the access.db, but I'll take another look.
> You're welcome to use VI, Vim, or whatever editor you want. I
> prefer pico as it's what I've always used. ^_^ You will definately need
> to do the followup makemap command so that the changes take effect. But
> that would be what I would recommend for dealing with those pesky yahoo
> people. You can still do your normal whitelisting via spam assassin, but
> leave the blacklisting to sendmail, or q-mail, or whatever your smtp client
> is. Regardless which one it is, they all still read off of the
> /etc/mail/access file. Hope this helps.
Sincerely,
Gordon E.