Re: Cisco playing with me again?

From: Noel Jones (no email)
Date: Wed Oct 01 2003 - 10:55:30 EDT


At 04:19 AM 10/1/03, Kristian Vilmann wrote:
>Also:
>
>is it possible to tell postfix only to accept mail from a couple of
>external addresses?
>
>All mail goes through one of these no-spam companies (rather ironic
>actually :)), so until I can convince some to try to change the Pix, it
>should be possible to reject mail not coming from the No-Spam company.

Create a client access table, and reject any clients not specifically
allowed. Remember to run "postfix reload" after changing main.cf.

# main.cf
smtpd_client_restrictions =
   permit_mynetworks
   check_client_access hash:/etc/postfix/allowed_clients
   reject

# /etc/postfix/allowed_clients
# postmap this file after changes
# list IP numbers of allowed clients
# listing by client domain name will work also, but is not reliable in case
of DNS errors
1.2.4.5 OK
1.2.4.7 OK
127 OK

-- 
Noel Jones 







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD