search for: imap_allowed

Displaying 15 results from an estimated 15 matches for "imap_allowed".

2010 Feb 06
2
pop3 quick question
Hello list, I have found imap_allowed option in dovecot which do exactly what I need, for imap. Is there something similar for pop3 protocol? The main goal for it - is to enable pop3 access to specific users. Or maybe dovecot have some 'pop3=yes' or 'imap=no' args to userdb/passdb sections ? I know future dovecot 2.*...
2017 Nov 09
2
Postlogin script
...ne web servers) ? My script: #!/bin/sh if [ "$IP" = "172.11.0.28" ] ; then printf "* [ALERT] Access allowed from that IP\r\n" exec "$@" fi CHECK_USER=`PGPASSWORD="somepass" /usr/local/pg950/bin/psql -q -t -U someuser -d maildb -c "select imap_allowed from __users where name = '$USER' LIMIT 1"` if [ $CHECK_USER == "f" ] ; then exit 0 fi if [ $CHECK_USER == "t" ] ; then exec "$@" fi Regards, Jack
2017 Nov 10
1
Postlogin script
...t; = "172.11.0.28" ] ; then > > printf "* [ALERT] Access allowed from that IP\r\n" > > exec "$@" > > fi > > > > CHECK_USER=`PGPASSWORD="somepass" /usr/local/pg950/bin/psql -q -t -U > > someuser -d maildb -c "select imap_allowed from __users where name = > > '$USER' LIMIT 1"` > > > > if [ $CHECK_USER == "f" ] ; then > > exit 0 > > fi > > > > if [ $CHECK_USER == "t" ] ; then > > exec "$@" > > fi > > > > Regards, >...
2015 Sep 26
2
v2.2.19 release candidate released
...listener} in my SQL password_query in a case statement to auth according to which listener is being used. E.g. CASE '%{listener} ' \ WHEN 'exim-client' THEN ma.SMTPAUTH_allowed = 'YES' \ WHEN 'xmpp-client' THEN ma.XMPP_allowed = 'YES' \ ELSE ma.IMAP_allowed = 'YES' \ END Should the %{listener} variable work in this case ? -- Greg -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: This is a digitally signed message part URL: <http:...
2015 Sep 27
0
v2.2.19 release candidate released
...rd_query in a case > statement to auth according to which listener is being used. E.g. > > CASE '%{listener} ' \ > WHEN 'exim-client' THEN ma.SMTPAUTH_allowed = 'YES' \ > WHEN 'xmpp-client' THEN ma.XMPP_allowed = 'YES' \ > ELSE ma.IMAP_allowed = 'YES' \ > END Typically they would use a different service (smtp, xmpp, imap) and you'd use e.g.: protocol smtp { passdb { ... } } This of course trusts that the auth client sends the correct service.
2017 Nov 09
0
Postlogin script
...bin/sh > if [ "$IP" = "172.11.0.28" ] ; then > printf "* [ALERT] Access allowed from that IP\r\n" > exec "$@" > fi > > CHECK_USER=`PGPASSWORD="somepass" /usr/local/pg950/bin/psql -q -t -U > someuser -d maildb -c "select imap_allowed from __users where name = > '$USER' LIMIT 1"` > > if [ $CHECK_USER == "f" ] ; then > exit 0 > fi > > if [ $CHECK_USER == "t" ] ; then > exec "$@" > fi > > Regards, > Jack
2018 Jul 27
0
Imap post-login script
...the limit is reached (imap proces_limit 1500): 1) #!/bin/sh case $IP in 10.10.1[1-2][0-7].*) exec "$@" ;; 10.11.2.4[0-9]) exec "$@" ;; esac CHECK_USER=`PGPASSWORD="password" /usr/local/pg952/bin/psql -h 10.11.1.3 -q -t -U postfixuser -d mail -c "select imap_allowed from users where name = '$USER' LIMIT 1"` if [ $CHECK_USER == "t" ] ; then exec "$@" fi if [ $CHECK_USER == "f" ] ; then exit 0 fi 2) PGPASSWORD="password" /usr/local/pg952/bin/psql -U postfixuser -d mail2 -h 10.11.1.3 -c "select last_aut...
2007 Mar 02
1
Stopping certain users from using IMAP, or POP3, etc.
Hi there, I'm building a mail system for an ISP. We want to be able to turn on or off IMAP or POP3 access for certain customers- basically we want to be able to offer a customer POP3 access, unless they pay us some more money, in which case they get IMAP The username and password will remain the same, and are driven out of a postgres database. The best way I've though of doing this
2010 Jan 13
1
Allow POP3 per Domain
Hi List, I wonder, if it is possible to "switch" POP3 on or off for specific domains. Actually I want to disallow POP3-logins for a certain domain, whereas users can still login into a webinterface via IMAP. Curently I use Dovecot 1.1.11 on current Ubuntu 9.10 with a mySQL backend for authentication. With kind regards Hauke
2010 Jan 13
0
Re-2: Allow POP3 per Domain
...query = SELECT username as user, password, \ > 1001 as userdb_uid, \ > 1001 as userdb_gid, \ > "/usr/local/virtual/%u/" AS userdb_home, \ > "maildir:/usr/local/virtual/%u/" AS userdb_mail \ > FROM mailbox WHERE username = '%u' AND active = '1' AND (imap_allowed = > '1' or '%Ls' = 'pop3') > > so you might adapt this to domain and your needs > > -- > Best Regards > > MfG Robert Schetterer > > Germany/Munich/Bavaria Hi Robert, thanks for your quick reply, i'll give that a try. i was so keen on...
2010 Jan 21
2
IMAP only for some users or via webmail
Hello! First, sorry for my English... I'm a newbie with Dovecot and I have some questions, I'm testing Dovecot 1.1.11 in a virtual machine. I wish in the future, migrate this to a real server. Ok, but i need this: 1) A group of users can use IMAP or POP3. 2) The others, only can use POP3. But, this users can use IMAP only with a webmail (the webmail is in the same server that
2009 Sep 01
2
local delivery agent
...t; dbname=<dbname> user=<user> password=<pass> default_pass_scheme = PLAIN password_query = SELECT password, '/var/mail/%d/%n' AS userdb_home, 'mail' AS userdb_uid, 'mail' AS userdb_gid FROM user WHERE username = '%n' AND domain = '%d' AND IMAP_allowed = 'YES' user_query = SELECT username, uid, gid FROM user WHERE username = '%n' AND domain = '%d' --------- in the db i have the user table columns: username, domain, password
2014 Sep 24
2
LMTP proxying
How exactly is LMTP proxying supposed to work? According to the example on http://wiki2.dovecot.org/PasswordDatabase/ExtraFields/Proxy I'm only seeing "proxy" in the password_query statements. But LMTP never sends a password. IMAP Proxying is working OK: Sep 24 12:51:09 imap-login: Info: proxy(ralf.hildebrandt at charite.de): started proxying to dovecot.charite.de:993:
2013 Apr 30
4
Dovecot has no understandable configuration any more
...driver = mysql connect = host=/var/run/mysqld/mysqld.sock dbname=... => WORKS! default_pass_scheme = SHA1 password_query = SELECT password, '/srv/mail/%d/%n' AS home, 'mail' AS uid, 'mail' AS gid FROM user WHERE username = '%n' AND domain = '%d' AND IMAP_allowed = 'YES' Errors ====== Apr 30 10:28:22 auth: Debug: client out: OK 1 user=xxxx at yyyy home=/srv/mail/yyyy/xxxx uid=mail gid=mail Apr 30 10:28:22 auth: Debug: master in: REQUEST 3163291649 5347 1 87066c907eef8f4e5ed71319b560dd2a Apr 30 10:28:2...
2012 Apr 25
3
dovecot %u variable problem....
Hi guys n gals, im on an ubuntu 11 VPS on linode (dovecot version 2.013). ive spent a lot of time and googling trying to get postfix, dovecot, ssl, saslauthd and mysql to all play nice together and im quite close now but theres something going on i cant quite explain and id really appreciate some help. I have been going for ten hours on this today and it seems in direct conflict with what