I have some users that I will not allow to use POP3 thru my system, but force them to use webmail. Would it be possible to put an extra option in dovecot.conf to force this: # ----------------------------------------------------------------- # Logon processes # user = <username>,<password> # ----------------------------------------------------------------- user = johndoe,another_secret_password user = mike,trouble_in_paradise If unix user johndoe logs on, he cannot fetch mail thru POP3 for he has a differect password from his logon password. thanx for listening, Jos
Richard Mayhew - Nashua Mobile Broadband Division
2006-Dec-01 11:14 UTC
[Dovecot] POP3 protection
Hi, I'm sure Dovecot can do some of what you are asking. One option you could look at is to define the user as a IMAP only user, and if you are able to, block IMAP access from anywhere other than your webmail server. Hope this helps. Richard -----Original Message----- From: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org] On Behalf Of Jos Chrispijn Sent: 01 December 2006 03:14 AM To: dovecot at dovecot.org Subject: [Dovecot] POP3 protection I have some users that I will not allow to use POP3 thru my system, but force them to use webmail. Would it be possible to put an extra option in dovecot.conf to force this: # ----------------------------------------------------------------- # Logon processes # user = <username>,<password> # ----------------------------------------------------------------- user = johndoe,another_secret_password user = mike,trouble_in_paradise If unix user johndoe logs on, he cannot fetch mail thru POP3 for he has a differect password from his logon password. thanx for listening, Jos
* On 01/12/06 02:13 +0100, Jos Chrispijn wrote: | I have some users that I will not allow to use POP3 thru my system, but | force them to use webmail. | Would it be possible to put an extra option in dovecot.conf to force this: | | # ----------------------------------------------------------------- | # Logon processes | # user = <username>,<password> | # ----------------------------------------------------------------- | | user = johndoe,another_secret_password | user = mike,trouble_in_paradise | | If unix user johndoe logs on, he cannot fetch mail thru POP3 for he has | a differect password from his logon password. Use a database and create an imap_enable field that is 1 if enabled and 0 if disabled and use this condition in the query. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <wash at wananchi.com> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ X-rated movies are all alike ... the only thing they leave to the imagination is the plot.
Odhiambo WASHINGTON: > Use a database and create an imap_enable field that is 1 if enabled and > 0 if disabled and use this condition in the query. Actually I am suggesting to let go SQL only for that and do it with a simple, plain text solution from within the configuration file. That can't be that difficult can it? It Postfix can do stuff with sender_checks and client_checks why using a database for a simple 0 or 1 :-) thanks for your reply, Floor
John and Catherine Allen
2006-Dec-03 09:07 UTC
[Dovecot] Marking all messages in folder as read doesn't work
I'm seeing a new behaviour with my Dovecot setup which has me puzzled. I have a folder with 47000 spam messages, mostly small. There are 64 unread messages. This folder is not receiving new deliveries, it's part of my archive of spam. If I do "mark folder read", the command appears to work, but a few minutes later there are still 64 unread messages. This behaviour has been consistent over many attempts in the past week. The same thing happens with both Thunderbird and Outlook Express, so it seems to be an issue at the IMAP server end rather than the mail client. Only this one folder is affected. Could it be a Dovecot issue, or is there something wrong with my Maildir folders? I've looked at the permissions both on the folders and on the message files, and everything looks OK. I've also tried deleting the Dovecot indexes etc, but this had no effect. Dovecot 1.0rc15 on Linux (old Gentoo setup with a 2.4.33.4 kernel) Maildir ext3 filesystem with dir_indexes Single user system, 500 Mhz Via CPU, 256MB RAM Mail reader: Thunderbird 1.5.0.8, timeout set to 300 seconds Outlook Express 6.00.2900.2180 -- John Allen Bofferdange, Luxembourg allen at vo.lu http://www.homepages.lu/allen
On Fri, 2006-12-01 at 02:13 +0100, Jos Chrispijn wrote:> I have some users that I will not allow to use POP3 thru my system, but > force them to use webmail. > Would it be possible to put an extra option in dovecot.conf to force this: > > # ----------------------------------------------------------------- > # Logon processes > # user = <username>,<password> > # ----------------------------------------------------------------- > > user = johndoe,another_secret_password > user = mike,trouble_in_paradise > > If unix user johndoe logs on, he cannot fetch mail thru POP3 for he has > a differect password from his logon password.How about the passwd-file solution in here: http://wiki.dovecot.org/Authentication/RestrictAccess -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20061203/1e3e30e7/attachment.bin>
Odhiambo WASHINGTON: > Okay, Jos is just starting up administering e-mail services. One server, > 79 users max ;) Oke, i got the message; I am a simple home user with an _out_of_hand hobby and no commercial squils @ all :-) > SQL>update users set pop3 = '0' where username = 'jos at domain.tld'; > > That is faster than > cd /some/directory/path > vi somefilename > add entries > restart daemon (perhaps) You are quite right. But I still have some bad feelings about an extra sql database cause if this server is offline, my whole mailsystem is down. I fixed my problem with: http://wiki.dovecot.org/Authentication/RestrictAccess It works (thanks Jack and Timo) but now I have another little problem to solve (chaos theory lives!) > Over to you, Jos. I hope that my stupid questions still make sense after all <grin> Jos