Dear all,
Many thanks for all advise and help...
I did try by putting [EMAIL PROTECTED] @ 1st line as below in
/etc/mail/access
# by default we allow relaying from localhost...
[EMAIL PROTECTED] 550 Spammers shan't see sunlight here
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
Then, makemap hash /etc/mail/access.db < /etc/mail/access and restart
sendmail...
but no luck, it still the same...
Any idea? Is there any setting that I need to do in sendmail.cf or other
place, cause sound like whatever changes that I did in /etc/mail/* doesn't
take any affect??? I do tried by using netconf to change but, still the
same...
Another thing, what is the different if I put reject in access and put it in
deny?
Thanks in advance....
rdgs,
gary
----- Original Message -----
From: Mikkel L. Ellertson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 06, 2001 12:55 AM
Subject: Re: need help on anti-spam config
> On Mon, 5 Mar 2001, gary wrote:
>
> > Dear all,
> >
> > Sorry for been asking the same question, cause I still suffer with mail
> > spam...
> >
> > I been trying on config file in /etc/mail/access or deny.... I tried to
> > reject or/and relay by ip or domain name, but looked like whatever
setting
> > that I did, doesn't take any affect???
> >
> > as for access file, I did
> > -my access file contain
> > # by default we allow relaying from localhost...
> > localhost.localdomain RELAY
> > localhost RELAY
> > 127.0.0.1 RELAY
> > [EMAIL PROTECTED] 550 Spammers shan't see sunlight here
> > 168.13.192.101 REJECT
> > umc.aspiren.com REJECT
> >
> > -makemap hash /etc/mail/access < /etc/mail/access
> >
> > -/etc/rc.d/init.d/sendmail restart
> >
> > -then do a testing from [EMAIL PROTECTED] email acc, which outgoing
smpt
> > pointing to it
> >
> > but???
> >
> > Is there anything that I missed out for my config??? Please advise.....
> >
> > Many thanks for all help....
> >
> > rdgs,
> > gary
> >
> >
> Gary,
> Try putting the rule for [EMAIL PROTECTED] at the top of the
> rule list. I am no expert, but I think that the first match found is
> used, so if the mail is comming from a host that is allowed to relay,
> and that rule is found first, then the message is accepted.
>
> I know the format of your rule will work for messages comming from
> outside your network, as I have rules using the same format that I know
> work.
>
> I am not sure about your network rules, as I use a different form to
> reject networks. for example, to reject 216.240.130.0 through
> 216.240.130.255, I use:
>
> 216.240.130 550 No Spam allowed.
>
> I hope this helps. You may also find the docs at
> http://www.moongroup.com/pages.php?page=docs helpfull.
>
> Mikkel
> --
>
> Do not meddle in the affairs of dragons,
> for you are crunchy and taste good with ketchup.
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list