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

RE: [vps-mail] Filtering Service IP Subnets for virtual SMTP?



Bennet, 

thank you, I am aware of hosts.allow, but we need to filter incoming smtp 
connections only by domain i.e. for a certain user. So we are looking for 
a procmail recipe to filter ?

-----Original Message-----
From: owner-vps-mail@xxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxx] On Behalf Of Bennett Lanford
Sent: Friday, October 01, 2004 12:16 AM
To: vps-mail@xxxxxxxxxxxx
Subject: Re: [vps-mail] Filtering Service IP Subnets for virtual SMTP?

Martin Fischer wrote:

>for blocking direct delivery to SMTP we want to make use of
>filtering service i.e. only a certain IP may send mail to
>our virtual SMTPs.
>
>We would need advice how to configure IP blocking for
>subhosted domains?
>
>Thanks a lot for any hints!

I can think of lots of ways to do what you want to do (if I understand
your question). For blocking all but a certain IP, the hosts.allow file
comes to mind. You allow a specific IP, then deny the rest. In VPS2:

sendmail : 12.34.56.78 : allow
sendmail : ALL : deny

(IIRC, on VPS1, replace "sendmail" with "smtp".)

See http://www.viaverio.com/support/vps/advanced/controlling_services.cfm
for more information on VPS2; also the /etc/hosts.allow file itself ...

-- 
Bennett Lanford
ben@xxxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: