Displaying 20 results from an estimated 92 matches for "login_access_socket".
Did you mean:
login_access_sockets
2016 Nov 14
2
dovecot / tcp-wrappers / FBSD 10.3
...re the proper config to get wrappers working in dovecot on
FreeBSD?
The dovecot examples do not seem to work, and I thought perhaps FBSD
needs slightly different configs.
I've compiled with: -DHAVE_LIBWRAP
which I presume is the first step.
The example for dovecot.conf in uncommenting:
login_access_sockets = tcpwrap
merely causes a log error of "imap-login: Error: connect(tcpwrap)
failed: No such file or directory"
Suggestions/Direction much appreciated.
2016 Dec 30
1
FreeBSD / dovecot 2.2.27 / libwrap
It works !
It was THAT easy !
Can you suggest how to replace the hair I pulled out ? :-)
On 2016-12-29 5:27 PM, Larry Rosenman wrote:
> login_access_sockets = tcpwrap
>
> service tcpwrap {
> unix_listener login/tcpwrap {
> group = $default_login_user
> mode = 0600
> user = $default_login_user
> }
> }
>
>
>
> On Thu, Dec 29, 2016 at 7:21 PM, Jim Pazarena <dovecot at paz.bz> wrote:
>
>...
2016 Nov 14
0
dovecot / tcp-wrappers / FBSD 10.3
# Space separated list of login access check sockets (e.g. tcpwrap)
#login_access_sockets =
login_access_sockets = tcpwrap
service tcpwrap {
unix_listener login/tcpwrap {
group = $default_login_user
mode = 0600
user = $default_login_user
}
}
I believe that's all. I had placed it all in
/usr/local/etc/dovecot/dovecot.conf.
On Mon, Nov 14, 2016 at 11:45 AM, Jim...
2016 Dec 30
1
FreeBSD / dovecot 2.2.27 / libwrap
...ave compiled dovecot2 for FreeBSD with the tcpwrap option.
A tcpwrap binary gets built and resides in the FreeBSD directory
/usr/local/libexec/dovecot
an examination of the compiled options (using the FreeBSD pkg install
dovecot2) confirms: LIBWRAP : on
yet, when I adjust dovecot.conf with: login_access_sockets = tcpwrap
I get the following logged error message:
20161229 17:02:49 imap-login: Error: connect(tcpwrap) failed: No such
file or directory
Is there any way to turn up some super logging so that I can find just
what dovecot feels is the failure ?
Or, does anyone have an idea how to figure th...
2011 Feb 09
4
Domain blacklisting
Hello,
I run dovecot-2/Maildir/LDAP user/passdb and would like to be able to deny
acess to users who connect from certain domains/IP (google.com for instance
since in that case they gave their credentials to a third party).
My understanding is that I cannot use some negative form of "allow_nets". The
only mechanism I can think of is tcp_wrappers. However, dovecot documentation
mention
2019 Jan 21
1
How to connect to a remote server and execute eg a search
Thanks Sami, And I should allow access on the remote server via
login_access_sockets? And the authenticated user via this connection is
then testuser I presume?
>
>
> Is there a page that explains how to connect to a remote server? What
> is the syntax of socket_path?
>
>
> doveadm search -S XXXXXXX -u testuser mailbox INBOX ALL
-S <ip>:<p...
2012 Jan 19
1
LMTP ignoring tcpwrappers
...ess to the
storage machines can drop a message in a Maildir of any user on that
storage server. To prevent this behaviour it would be nice to use
libwrap, just as it can be used for POP3/IMAP protocols.
This, however, seems to be impossible using the configuration as
mentioned on the dovecot wiki:
login_access_sockets = tcpwrap
service tcpwrap {
unix_listener login/tcpwrap {
group = $default_login_user
mode = 0600
user = $default_login_user
}
}
This seems to imply it only works for a login, and LMTP does not use
that. The above works perfectly when trying to block access to IMAP or
POP3 in /etc...
2013 Jul 03
1
tcpwrappers
hi everybody
having I believe sort of plain-vanilla config with section
in 10-tcpwrapper.conf
as per docs
login_access_sockets = tcpwrap
service tcpwrap {
unix_listener login/tcpwrap {
group = $default_login_user
mode = 0600
user = $default_login_user
}
}
/etc/hosts.deny contains:
ALL: given_host
and yet dovecot logins IMAP client in
whereas other tcpwrapper aware services act as expected
what am...
2017 Jul 13
5
passwd-file, getting invalid uid 0
...thebighonker.lerctr.org tbh.lerctr.org thejonesonair.com thejonesonair.net
default_vsz_limit = 1 G
deliver_log_format = msgid=%m: %$ (subject=%s from=%f size=%w)
doveadm_password = # hidden, use -P to show it
lda_mailbox_autocreate = yes
listen = 192.147.25.65, ::
lmtp_save_to_detail_mailbox = yes
login_access_sockets = tcpwrap
mail_attribute_dict = file:%h/mail/.imap/dovecot-mail-attributes
mail_location = mbox:~/mail:INBOX=~/mail/INBOX
mail_log_prefix = "%s(%u/%p): "
mail_plugins = " fts fts_solr notify stats virtual"
mail_privileged_group = mail
mail_server_admin = mailto:ler at lerctr.or...
2017 Dec 25
2
Sieve 0.5.0/Dovecot 2.3.0
...hejonesonair.com thejonesonair.net
default_vsz_limit = 1 G
deliver_log_format = msgid=%m: %$ (subject=%s from=%f size=%w)
doveadm_password = # hidden, use -P to show it
first_valid_gid = 0
first_valid_uid = 0
lda_mailbox_autocreate = yes
listen = 192.147.25.65, ::
lmtp_save_to_detail_mailbox = yes
login_access_sockets = tcpwrap
mail_attribute_dict = file:%h/mail/.imap/dovecot-mail-attributes
mail_location = mbox:~/mail:INBOX=~/mail/INBOX
mail_log_prefix = "%s(%u/%p): "
mail_plugins = " fts fts_solr notify virtual"
mail_privileged_group = mail
mail_server_admin = mailto:ler at lerctr.org
mail...
2017 Dec 25
3
Sieve 0.5.0/Dovecot 2.3.0
..._format = msgid=%m: %$ (subject=%s from=%f size=%w)
> > doveadm_password = # hidden, use -P to show it
> > first_valid_gid = 0
> > first_valid_uid = 0
> > lda_mailbox_autocreate = yes
> > listen = 192.147.25.65, ::
> > lmtp_save_to_detail_mailbox = yes
> > login_access_sockets = tcpwrap
> > mail_attribute_dict = file:%h/mail/.imap/dovecot-mail-attributes
> > mail_location = mbox:~/mail:INBOX=~/mail/INBOX
> > mail_log_prefix = "%s(%u/%p): "
> > mail_plugins = " fts fts_solr notify virtual"
> > mail_privileged_group = mail...
2019 Sep 08
1
Subscribe to a fileinto :create mailbox?
...lerctr.org tbh.lerctr.org
thejonesonair.com thejonesonair.net why.net
default_vsz_limit = 1 G
deliver_log_format = msgid=%m: %$ (subject=%s from=%f size=%w)
doveadm_password = # hidden, use -P to show it
first_valid_gid = 0
first_valid_uid = 0
lda_mailbox_autocreate = yes
listen = 192.147.25.65, ::
login_access_sockets = tcpwrap
mail_attribute_dict = file:%h/mail/.imap/dovecot-mail-attributes
mail_location = mbox:~/mail:INBOX=~/mail/INBOX
mail_log_prefix = "%s(%u/%p): "
mail_plugins = " fts fts_solr notify virtual"
mail_privileged_group = mail
mail_server_admin = mailto:ler at lerctr.org
mail...
2020 Feb 12
0
tcpwraper errors with v2.3.9.3
My system was working fine with version 2.3.9.2.? I upgraded to 2.3.9.3
and I am getting tcpwraper errors:
> imap-login: Error: connect(tcpwrap) failed: No such file or directory
Here's my config:
> login_access_sockets = tcpwrap
>
> service tcpwrap {
> ? unix_listener login/tcpwrap {
> ??? group = $default_login_user
> ??? mode = 0600
> ??? user = $default_login_user
> ? }
> }
Any ideas what's happening?
--
Bob Wooldridge
2020 Feb 12
0
tcpwraper errors with v2.3.9.3
My system was working fine with version 2.3.9.2.? I upgraded to 2.3.9.3
and I am getting tcpwraper errors:
> imap-login: Error: connect(tcpwrap) failed: No such file or directory
Here's my config:
> login_access_sockets = tcpwrap
>
> service tcpwrap {
> ? unix_listener login/tcpwrap {
> ??? group = $default_login_user
> ??? mode = 0600
> ??? user = $default_login_user
> ? }
> }
Any ideas what's happening?
--
Bob Wooldridge
EDM Incorporated
2010 Feb 06
0
v2.0: tcp-wrappers support
Some people have been requesting this forever. So finally this works:
service tcpwrap {
unix_listener login/tcpwrap {
mode = 0666
}
}
login_access_sockets = tcpwrap
There can also be more sockets listed, in case someone wants to build
their own access checking service.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed me...
2011 Jul 27
1
dovecot and tcpwrappers
Hi,
I used dovecot 1.x for quite a while and it worked fine. However, I used it
through inetd and used hosts.allow/deny to restrict access to only certain
groups of systems.
Since yesterday I have dovecot 2.0.13. But in version 2.0.13 it seems that
starting using inetd doesn't work anymore : I only get a strange error
message if I try to connect using telnet :
telnet localhost imap
2011 Feb 11
1
PAM auth and userdb
...: /opt/dovecot2.0.9/etc/dovecot/dovecot.conf
# OS: SunOS 5.10 sun4v
auth_debug = yes
auth_username_chars = abcdefghijklmnopqrstuvwxyz01234567890.-
auth_verbose = yes
default_login_user = nobody
disable_plaintext_auth = no
first_valid_gid = 215
first_valid_uid = 300
log_path = /var/log/dovecot.log
login_access_sockets = tcpwrap
mail_location = mbox:~/IMAP:INBOX=/var/mail/%u:INDEX=/var/dovecotindexes/%u
mail_plugins = quota
passdb {
driver = pam
}
plugin {
quota = dict:User quota::file:/var/dovecotindexes/%u/dovecot-quota
quota_rule = *:storage=1G
quota_rule2 = Trash:storage=+100M
quota_warning = stora...
2017 Jul 18
1
passwd-file, getting invalid uid 0
..._format = msgid=%m: %$ (subject=%s from=%f size=%w)
> > doveadm_password = # hidden, use -P to show it
> > first_valid_gid = 0
> > first_valid_uid = 0
> > lda_mailbox_autocreate = yes
> > listen = 192.147.25.65, ::
> > lmtp_save_to_detail_mailbox = yes
> > login_access_sockets = tcpwrap
> > mail_attribute_dict = file:%h/mail/.imap/dovecot-mail-attributes
> > mail_location = mbox:~/mail:INBOX=~/mail/INBOX
> > mail_log_prefix = "%s(%u/%p): "
> > mail_plugins = " fts fts_solr notify stats virtual"
> > mail_privileged_group...
2011 Aug 29
1
dovecot w/ libwrap on fbsd
...ction, no extra info with the reason why it failed.
Here's the config:
# 2.0.13: /usr/local/etc/dovecot/dovecot.conf
# OS: FreeBSD 7.4-RELEASE i386?
auth_mechanisms = plain login
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
dotlock_use_excl = no
first_valid_uid = 1000
listen = *
login_access_sockets = tcpwrap
login_greeting =
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
mail_location = mbox:~/Mail/:INBOX=/var/mail/%u
mail_log_prefix = "%Us(%u): "
mail_privileged_group = mail
maildir_copy_with_hardlinks = no
passdb {
? driver = pam
}
protocols = pop3
servic...
2017 Jul 18
1
passwd-file, getting invalid uid 0
...esonair.net
> default_vsz_limit = 1 G
> deliver_log_format = msgid=%m: %$ (subject=%s from=%f size=%w)
> doveadm_password = # hidden, use -P to show it
> lda_mailbox_autocreate = yes
> listen = 192.147.25.65, ::
> lmtp_save_to_detail_mailbox = yes
> login_access_sockets = tcpwrap
> mail_attribute_dict = file:%h/mail/.imap/dovecot-mail-attributes
> mail_location = mbox:~/mail:INBOX=~/mail/INBOX
> mail_log_prefix = "%s(%u/%p): "
> mail_plugins = " fts fts_solr notify stats virtual"
> mail_privileged_group = mai...