Re: sendmail REJECT mail from IP addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I guess you could just control port 25 access from iptables.


On Wed, 5 Nov 2003, Kevin Waterson wrote:

> This one time, at band camp, Cameron Showalter <cameron@xxxxxxxxxxxx> wrote:
> 
> > add the IP to /etc/mail/access
> > as such
> > 211.2.3.4     REJECT
> > 
> 
> I have tried this, as recommended by the sendmail page at
> http://www.sendmail.org/~ca/email/chk-89f.html
> 
> but it still allows mail from that IP.
> 
> here are some tests I have tried with real IP addresses
> [root@oceania kevin]# /usr/sbin/sendmail -bt
> [root@oceania kevin]# /usr/sbin/sendmail -bt
> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter <ruleset> <address>
> > /map access 200
> map_lookup: access (200) no match (0)
> > /map access 24.197.146
> map_lookup: access (24.197.146) no match (0)
> > /map access 24.229
> map_lookup: access (24.229) no match (0)
> > /map access wanadoo.fr
> map_lookup: access (wanadoo.fr) returns ERROR:"550  Spam filter activated" (0)
> > /quit
> 
> I rebuild the access.db each time I edit the access file, so no silly problems there.
> it just does not seem to catch the mails from these IP addresses.
> 
> Kind regards
> Kevin
> 
> 


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux