Displaying 20 results from an estimated 100 matches similar to: "Imap post-login script"
2017 Nov 09
2
Postlogin script
Hi,
I would like to prepare postlogin a script that allow imap connection to
roundcube for all but restrict imap access for selected users.
My question is that:
Is possible in condition IF use IP addresses as range or with mask (because
I've more than one web servers) ?
My script:
#!/bin/sh
if [ "$IP" = "172.11.0.28" ] ; then
printf "* [ALERT] Access allowed from
2017 Nov 10
1
Postlogin script
Thx, prips works as I expected, gr8 tool, not available in Gentoo repository
but after compilation Dovecot doing what I wanted.
Regards,
Jack
2017-11-09 21:19 GMT+01:00 Gedalya <gedalya at gedalya.net>:
> A bit clunky but perhaps you could find another command.
>
> https://packages.debian.org/stretch/netmask
>
> $ IP=172.11.0.28
> $ if [ "$(netmask -n $IP/24)"
2017 Nov 09
0
Postlogin script
A bit clunky but perhaps you could find another command.
https://packages.debian.org/stretch/netmask
$ IP=172.11.0.28
$ if [ "$(netmask -n $IP/24)" == "???? 172.11.0.0/24" ]; then echo OK; fi
OK
$ IP=172.12.0.11
$ if [ "$(netmask -n $IP/24)" == "???? 172.11.0.0/24" ]; then echo OK; fi
$
Range:
https://packages.debian.org/stretch/prips
$ IP=172.11.0.28
$
2007 May 03
1
Dovecot SASL for postfix: Client host rejected: when relaying using POP mail client
Hi everyone
I have setup an ISP style mail system using postfix, dovecot, squirrelmail
and mysql on ubuntu server 7.04. Everything seems to be working fine with
sending recieving emails but relaying on submission service (port 587). I
want to allow any client to be able to relay as long as they AUTH using
dovecot SASL and are valid users regardless of what IP/host they come in
from. I have a
2005 Mar 07
1
postgres unit testing in 0.10.1
http://dev.rubyonrails.com/changeset/856
looks to me like it''s not going to work, since there''s no way of
specifying a password to pg_dump/dropdb/createdb.
If you set PGPASSWORD in your environment it might work, but that''s not
documented anywhere and isn''t done automatically in the Rakefile.
See
http://thread.gmane.org/gmane.comp.lang.ruby.rails/3693
for
2008 Nov 21
1
userdb, Dovecot LDA not using mail_location config properly?
I use Dovecot 1.0.5.
I use LDAP for the user database and Dovecot LDA.
--- dovecot.conf
mail_location = maildir:/var/spool/mail/data/%Lu:INDEX=/var/spool/mail/index/%Lu
auth default {
mechanisms = plain (Note: TLS is used anyways..)
userdb prefetch {
}
passdb ldap {
# Path for LDAP configuration file, see doc/dovecot-ldap-example.conf
2012 May 29
1
wbinfo -u - Error looking up domain users
Hi People ?,?
I have this configuration in my samba?s server and when I use this command : wbinfo -u
This message is showed : Error looking up domain users. I need find AD users to use samba.
Thanks in advance,?
Eugenio,?
wbinfo --sequence
SV0-SP : 1
BUILTIN : 1
LIVROS : DISCONNECTED
REDE_SP : 4516361
smbclient -L localhost -U%
Domain=[REDE_SP] OS=[Unix] Server=[Samba 3.0.10-1.4E.9]
? ? ?
2018 Jul 31
1
uid problem
hi,
contacting this mailing list is my last-ditch effort to somehow come to
a working configuration where postfix "ends in" dovecot, IE for special
LDAP-based users, featured in the virtual mailbox delivery, dovecot
would act as LDA.
here's the deal.
i've set up dovecot's access to the LDAP server, and for the purposes of
being an IMAP server and a SASL auth backend,
2005 Aug 23
1
Thunderbird got "Mail Server does not support secure authentication" ???
System: Redhat AS3
postfix 2.2.5
cyrus-sasl 2.1.15
pam-mysql 0.6
dovecot 0.99.14 ( compile from source tarball)
The same email account and machine, using thunderbird 1.06 to get
email thru dovecot pop3, it returned "Mail Server does not support
secure authentication"
But in outlook express , there is no such problem
I have tested SASL thru pam-mysql is work properly before install
2018 Jul 31
0
uid problem
Well, I don't know about yuuuge security risk (not saying there isn't
any...), but if this concerns you, you can also use LTMP instead, which
is probably a better solution here.
Aki
On 31.07.2018 13:42, Andras Kemeny wrote:
>
> yeah, the only problem about that is it's a yuuuge security risk :),
> and also, postfix simply won't let me:
>
> Jul 31 02:20:37 rhyno
2018 Jul 31
0
uid problem
https://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP
Aki
On 31.07.2018 14:35, Andras Kemeny wrote:
>
> can you point me to an url regarding LTMP between postfix and dovecot?
> it might be an area worth exploring for me.
>
> thanks,
> a
>
>
> 2018. 07. 31. 12:46 keltez?ssel, Aki Tuomi ?rta:
>>
>> Well, I don't know about yuuuge security risk (not saying
2018 Aug 01
1
LMTP error, mysterious
hi (especially to you, Aki),
so to solve the previous UID issue, i went the full LMTP route. however,
i seem to be having problems with the prefetch userdb (i'm trying to
minimize load on the LDAP server). namely, the log says:
Aug? 2 00:15:35 rhyno postfix/submission/smtpd[21158]: 5EEF35C05C5:
client=localhost[127.0.0.1], sasl_method=login, sasl_username=aik
Aug? 2 00:15:40 rhyno
2018 Aug 01
0
LMTP error, mysterious
you mean i should define another, "fallback" userdb service if prefetch
doesn't work for some reason?
is it the problem that it's a chicken and egg scenario and with LMTP
address verification (from postfix) there is no login beforehand so then
dovecot needs to consult the userdb once again and having no fallback
mechanism, it gives up? i can understand that, but then it
2018 Aug 01
1
LMTP error, mysterious
ah well, but i'm not using sql at all.
here's doveconf -n:
# 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.16 (fed8554)
# OS: Linux 4.9.0-4-amd64 x86_64 Debian 9.4
auth_cache_negative_ttl = 0
auth_mechanisms = plain login
hostname = rhyno.tech
mail_debug = yes
mail_location = maildir:~/mail
namespace inbox {
? inbox = yes
? location =
? mailbox Drafts {
???
2019 Dec 04
1
Environment variables in pgsql connect string
Hi,
We are trying to set up a Dovecot Docker image with dynamic database
configuration based on environment variables, however the variables do
not appear to be expanded in the "connect=" string of the SQL config.
The documentation states that environment variables, being listed under
global variables, work "everywhere":
2005 Jun 30
0
Sipura 3k answers then immediate busy signal
I have a sipura 3000 that I am using just to send calls to my mac asterisk
server. When you call the phone it rings, answers, and then goes right to a
busy signal. Any ideas?
Thanks for your help!
Jane
At the console in verbose mode I get:
*CLI> DEBUG[8501248]: File chan_sip.c, Line 663 (create_addr): Setting NAT
on RTP to 0
DEBUG[8501248]: File chan_sip.c, Line 554 (__sip_ack): Stopping
2003 Oct 13
1
out going calls
I am not having any luck placing out going calls
I dial the number 08 82420173 ( our outside line )
But all I get is engaged signal and log this.
Oct 14 08:40:14 DEBUG[16401]: File pbx_wilcalu.c, Line 65 (autodial):
Entered Wil-Calu fd=20
Oct 14 08:40:14 DEBUG[8201]: File chan_sip.c, Line 657 (create_addr):
Setting NAT on RTP to 0
Oct 14 08:40:14 DEBUG[8201]: File chan_sip.c, Line 548
2003 Sep 22
1
Can't get simple config working!
Hi all.
I'm trying to get a simple configuration working so I can later expand it to
something more interesting.
I'm using kphone to call an extension on the * server. When I try to connect,
I get this error:
DEBUG[81926]: File chan_sip.c, Line 3562 (check_user): Setting NAT on RTP to 0
DEBUG[81926]: File chan_sip.c, Line 527 (__sip_ack): Stopping retransmission
on
2003 Nov 06
0
SIP nat not working with budgetone (long)
I've been looking at how our budgetone's have been failing and have found the following:
A quick layout --
Latest CVS as of tonight.
Sip phone behind NAT.
* server with public IP address.
-------from sip.conf for my phone:
[1747xxxxxxx]
username=xxxxx
secret=xxxxx
host=dynamic
type=friend
nat=yes
-------
-------from the * log messages
Nov 6 01:50:07 DEBUG[4101]: File chan_sip.c,
2016 Jul 05
1
winbind idmap_ad rfc2037 can't read UIdnumber
Le 05/07/2016 à 19:40, Rowland penny a écrit :
> On 05/07/16 17:56, Raphaël RIGNIER wrote:
>> The strange behavior is the different output between group object and
>> user object
>>
>> and
>> net ads search -U administrator
>> net ads search -P
>>
>> in Samba Wiki, primarygroupid refers to the one for User's "Unix
>>