Jos Chrispijn
2006-Aug-24 14:08 UTC
[Dovecot] Restricting IP and/or user access (POP3/IMAP)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1">Hi,<br> Just new on this mailinglist; I sure hope my questions wouldn't be too dumb for words :-)<br> <br> Q: Restricting IP and/or user access (POP3/IMAP)<br> <br> What I would like to do is blocking some of my user from fetching their mail with neither POP3 nor IMAP. The only way of letting them read/write their e-mail is to be done with my/their Webmail client.<br> <br> On the site of Dovecot I read: 'It's possible to allow user to authenticate only from a specific IP or network. This is especially useful for master users. This can be done by returning allow_nets extra field in passdb.'<br> <br> Actually I am looking for a way of _blocking_ user(names) or certain IP adress(es) instead of _allowing_ certain IP adresses to get their POP3/IMAP mail. Pls could someone hint me out on this? <br> <br> Thanks in advance.<br> Jos</font> </body> </html>
On Thursday 24 August 2006 09:08, Jos Chrispijn wrote:> <font size="-1">Hi,<br> > Just new on this mailinglist; I sure hope my questions > wouldn&apst be too dumb for words :-)<br>Please repost in plain text. HTML is not appropriate on mailing lists. -- Offlist mail to this address is discarded unless "/dev/rob0" or "not-spam" is in Subject: header
Hi, The documentation says to authenticate only from a specific IP or network? if you set this to 127.0.0.1 to indicate the local loop then this effectively blocks every IP address but this one. Since the extra field is in passdb then this would imply it can be done on a per user basis. Have you tried this? Phil ________________________________________ From: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org] On Behalf Of Jos Chrispijn Sent: 24 August 2006 15:08 To: dovecot at dovecot.org Subject: [Dovecot] Restricting IP and/or user access (POP3/IMAP) Hi, Just new on this mailinglist; I sure hope my questions wouldn't be too dumb for words :-) Q: Restricting IP and/or user access (POP3/IMAP) What I would like to do is blocking some of my user from fetching their mail with neither POP3 nor IMAP. The only way of letting them read/write their e-mail is to be done with my/their Webmail client. On the site of Dovecot I read: 'It's possible to allow user to authenticate only from a specific IP or network. This is especially useful for master users. This can be done by returning allow_nets extra field in passdb.' Actually I am looking for a way of _blocking_ user(names) or certain IP adress(es) instead of _allowing_ certain IP adresses to get their POP3/IMAP mail. Pls could someone hint me out on this? Thanks in advance. Jos -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.5/426 - Release Date: 23/08/2006