Displaying 20 results from an estimated 1000 matches similar to: "dovecot Digest, Vol 45, Issue 18"
2007 Jan 05
0
postfix + dovecot auth problem.
Hello All!
I use postfx 2.3.5 + dovecot (pop3/imap/lda/auth daemon for postfix) rc15.
root at post /etc/postfix# grep dovecot main.cf
smtpd_sasl_type = dovecot
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
root at post /etc/dovecot# grep password_query dovecot-sql.conf
password_query = SELECT mail as user, cryptp as password,
2010 Dec 24
1
doveadm quota get -u segmentation fault
Hello!
I'm trying move to dovecot2 (centos 5.5, dovecot 2.0.8, dovecot
compiled/packaged via edited dovecot2.spec from fedora git).
Almost all fine, I can login via imap/pop3 and work with mail.
I get segfault error with "doveadm quota get -u user"
Here backtrace and other info:
# gdb `which doveadm` core.5202
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5_5.2)
Copyright
2006 Oct 17
2
allow_nets and mysql question
Hi.
I want to use allow_nets in my configuration, but i have some troubles
which i cant resolve.
To use allow_nets i creates `allow_nets` text field in my mysql users
table. My query is:
from: dovecot/sql.conf:
password_query = SELECT crypt as password, maildir as userdb_mail, 6 AS
userdb_uid,6 AS userdb_gid, allow_nets FROM users WHERE id = '%u'
from dovecot.conf:
auth default {
2008 Oct 28
3
allow_nets overridden by cache
Hi,
I've just started trying allow_nets on one of my servers. I have
auth_debug and auth_verbose both enabled and the output is as follows:
Oct 28 13:05:48 mink dovecot: auth-worker(default):
auth(user at domain.net,x.x.x.x): allow_nets: Matching for network
127.0.0.1/8
Oct 28 13:05:48 mink dovecot: auth-worker(default):
auth(user at domain.net,x.x.x.x): allow_nets: Matching for network
2019 Apr 30
8
Feature request: exclude IP/network in allow_nets extra field
Dear all,
We use `allow_nets`[1] to restrict login clients, it works fine.
Recently we need to allow some users to login from everywhere except some IP/networks, how can we accomplish this with "allow_nets"?
Tried allow_nets="!a.b.c.d", but Dovecot reports error "allow_nets: Invalid network '!a.b.c.d'".
Can we have this feature?
i guess it should be done
2007 Apr 29
2
Method to globally limit network access
G'day All,
I am new to dovecot. I've run across the "allow_net" to restrict access
on what seems like a per user basis. Is the a way to global limit access
to one or more networks?
Marcus O.
2015 Dec 22
2
allow_nets=local in passdb gets "auth: Panic"
Hi,
I have the following configuration in my dovecot.conf for Dovecot 2.2.21:
passdb {
driver = ldap
args = /etc/dovecot/dovecot-ldap.conf.ext
default_fields = allow_nets=local,127.0.0.1,10.255.1.0/24
}
This triggers "auth: Panic" on POP3/IMAP logins as the below:
Dec 22 14:57:39 localhost dovecot: auth: ldap(u0000,::1,<oiF8SHYngqsAAAAAAAAAAAAAAAAAAAAB>): allow_nets:
2009 Feb 28
1
allow_nets
Hello,
Im using Ubuntu 8.10 with Dovecot 1.0.10.
I am using passwd files, not a MySQL database.
I have 2 files, a "users" file, and a "passwd" file.
I have added:
allow_nets=10.1.10.1 to the end of a specific users entry in the users file.
When that user tries to login, I get the following in the logs:
dovecot: 2009-02-28 09:06:59 Error: IMAP(bob at mydomain.com):
2008 Mar 31
2
Allow_nets + MySQL failing when using range notation
Hello all,
I am testing my dovecot installation in order to restrict access via
POP3 for IPs outside my network. I have read and understood the
instructions in the wiki and I have reached a configuration that works
ONLY when single IPs are listed in allow_nets but not when ranges in the
notation x.x.x.x/y are listed. Some examples should be more explanatory.
I am using 1.0.rc15 patched as
2009 Apr 10
1
allow_nets and deliver + userdb lookup
Hello!
I'm trying to restrict imap logins to our internal network for several
users, but this breaks dovecot delivery too
Even if i set allow_nets to NULL or 0.0.0.0/0 deliver exits with "Error:
Auth lookup returned failure"
i'm running it as 'command = /usr/lib/dovecot/deliver -e -d
"$local_part@$domain" -s' in exim.conf
i guess delivery lookups should
2008 May 14
2
mysql index control allow nets
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,
I am using dovecot 1.0.13 with sieve plugin, index, control and allow
nets in my userdb per user.
I am trying to have the same configuration with dovecot 1.1 and MySQL.
According to log files when a virtual user is connecting to dovecot,
the dovecot reads from MySQL the correct values but dovecot doesnt
create the dirs for INDEX, CONTROL and the
2019 Apr 30
3
Feature request: exclude IP/network in allow_nets extra field
> On Apr 30, 2019, at 11:21 AM, @lbutlr via dovecot <dovecot at dovecot.org> wrote:
>
> On 29 Apr 2019, at 19:56, Zhang Huangbin via dovecot <dovecot at dovecot.org> wrote:
>> Recently we need to allow some users to login from everywhere except some IP/networks,
>
> Can you use firewall rules for this?
I suppose not. We don't restrict ALL users this way,
2009 Feb 05
1
dirsize quota in sql pass db?
Is there a way to return a per user dirsize quota from a passdb sql
lookup? If so, what is the syntax?
maybe "select quota as userdb_quota"?
..and in mysql table, quota column would be:
"quota=dirsize:storage=10240" ?
I'm using mbox, with /etc/passwd userdb, and mysql passdb.
Thanks,
Ken
--
Ken Anderson
Pacific.Net
2010 Feb 15
2
Problem with allow_nets passdb parameter and Postfix
I use Dovecot for SASL authentication from Postfix. In Postfix main.cf I
have:
smtpd_sasl_type = dovecot
It works good, but now I need to allow users to connect by IMAP only from
given IP adresses. I've added extra field allow_nets to passdb in Dovecot,
and IMAP authentication works fine. But now I can't connect to my SMTP
server because when smtpd ask dovecot about user
2014 Jan 25
1
allow_nets + default + ldap
Hello,
I'm playing with allow_nets function. It is really cool!
In a filebased passwd backend you simply add "allow_nets=192.0.2.143/32"
as mentioned in http://wiki2.dovecot.org/PasswordDatabase/ExtraFields/AllowNets
But if I use an LDAP backend it looks different.
Following http://wiki2.dovecot.org/AuthDatabase/LDAP/AuthBinds and
2017 Jul 13
1
Master auth only
> On 12 Jul 2017, at 15.46, Rick Romero <rick at havokmon.com> wrote:
> This is awesome, as I was just contemplating how to maintain persistence with 2FA.
> Is it possible to use a passdb based on remote ip? There's a username_filter, but I want to use a master password for webmail (which will use 2FA via Radius), and those IPs are known and non-routable.
passdb {
driver =
2007 Nov 23
3
dovecot with ldap and allow_nets
Hi,
I'm using dovecot on debian etch:
||/ Name Version
ii dovecot-common 1.0.rc15-2etch1
ii dovecot-imapd 1.0.rc15-2etch1
ii dovecot-pop3d 1.0.rc15-2etch1
# dovecot --version
1.0.rc15
Now here is my question.
Some of the mail users may only login from the LAN, while others can
login from the LAN and the internet.
I've read about
2018 Mar 21
2
why is dovecot "Allowing any password"
Hi,
I noticed the following in the logs of our debian wheezy server:
> Mar 21 07:13:47 mail dovecot: auth: Debug: ldap(username,1.2.3.4,<g2/rF+ZnjAAu5ceg>): bind search: base=CN=Users, DC=samba, DC=company, DC=com filter=(&(objectclass=person)(sAMA
> ccountName=username)(!(userAccountControl=514)))
> Mar 21 07:13:47 mail dovecot: auth: Debug:
2007 Aug 31
2
dirsize quota assertion problem
Our current virtual mailbox configuration is not compatible with one of
the assertions in the dovecot quota plugin's assertions in quota-dirsize.c.
I believe the assertion is incorrect, but I would also be happy if I
could get the same result with a better configuration setting.
Here is a sample passdb entry which causes the quota assertion to fail:
test at
2010 Oct 21
1
allow_nets and local sockets
Hello,
i am running dovevot 2.0.5 using ldap authentication with the allow_nets
paramter to limit access to some local networks.
The problem is, when i want to use the local lmtp socket from postfix
*virtual_transport = lmtp:unix:private/dovecot-lmtp *
i get the follwing error:
*Oct 21 15:48:03 auth: Info: passdb(username): allow_nets check failed:
Remote IP not known
*When using the TCP