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

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).


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