LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-16-2012, 01:45 AM   #1
centos123
Member
 
Registered: Apr 2011
Posts: 397

Rep: Reputation: 16
how can i block user for accessing mailserver outside network ip.


i had mailserver with qmail mta.
we can access mailserver within local network and outside also.current scenario is user whos not allowed to login from outside network cannot login into server.only users have global authenticate ,can login into mailserver from other ip(outside network) through VPN..

now we need to change this scenario to like-

any user who want to access mail have to be inside network ip then only they can access mailserver/get login...means ip based access mailserver.so how can i change this .....

is any pop server responsible for this?
 
Old 06-16-2012, 04:47 AM   #2
Senthilv
Member
 
Registered: Jan 2011
Posts: 66
Blog Entries: 2

Rep: Reputation: 0
Block through IPTABLES

To Block the ouside side nework, you can do only through

IPTABLES
1. Make INPUT as DROP
2. Only allow VPN network ipaddress to access from outside.

So that outside person can access only through the VPN ip.


Regards,
Senthil
 
Old 06-16-2012, 06:04 AM   #3
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
thanks...

also i want to know blocking user if user is not authorized..if he/she has VPN access...
 
Old 06-16-2012, 06:47 AM   #4
Senthilv
Member
 
Registered: Jan 2011
Posts: 66
Blog Entries: 2

Rep: Reputation: 0
For this you can done through Qmail server, better you can delete the unauthorized mail account.

Other wise, if that particular user having VPN Static ip address, you can block that particular ipaddress not able to access the SMTP, POP3, SMTPS and POP3s port.







Regards,
Senthil
 
Old 06-18-2012, 02:01 AM   #5
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
im searching in qmail source file ...and also i can't delete any email id since it belongs to my domain...i just need to put security on login from outside network
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Block user accessing http://10.0.0.5/hp/device/set_config.html ledpepper Linux - Security 3 12-17-2010 01:36 AM
trying to block user from accessing external web site with iptables Histamine Linux - Networking 1 08-10-2007 07:43 AM
How to block a group of network accessing our machine Karthi_India Linux - Newbie 3 04-08-2007 12:20 AM
How to block a certain user from accessing the internet darkone66669 Linux - Security 5 12-01-2006 12:37 PM
how do i block an application from accessing network? firewall? hisnumber666isback Linux - Software 1 05-06-2006 10:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration