Anyone kwon the last-login plugins can using Authentication variables such as
%m mechanism, %a local_port .
we want to record this in DB, thanks
but I need logging other fields such as port 143 or 993, and tls 1.1 or tls
1.3, client hostname, what should I do it ?
https://doc.dovecot.org/configuration_manual/config_file/config_variables/
Aki Tuomi () 在 2021年2月18日星期四 下午03:04:10 [GMT+8]
寫道:
> On 18/02/2021 08:57 Henry wr
/config_variables/
Henry () 在 2021年2月19日星期五 下午12:15:10 [GMT+8] 寫道:
but I need logging other fields such as port 143 or 993, and tls 1.1 or tls
1.3, client hostname, what should I do it ?
https://doc.dovecot.org/configuration_manual/config_file/config_variables/
Aki Tuomi () 在 2021年2月18日星期四 下
You can try export the auth variables as userdb variables and use
$variablename.
Aki
On 27 February 2021 7.29.10 EET, Henry wrote:
>
>Anyone know then last_login plugins do support standard auth variables
>in var-expand?like %k %a variables.
>I need logging other fields
base update as $local_port ,'$local_port', "$local_port",
`$local_port` at the field column record.
Henry () 在 2021年2月27日星期六 下午10:57:27 [GMT+8] 寫道:
I already try using other variables , I found it only support "Mail service
user variables", no support "
=last-login/%u/%d/%r/%l/%a
Then it will expand into what you want, and will be imported into user's
environment.
Aki
> On 28/02/2021 05:57 Henry wrote:
>
>
> like capture local_port, I using %a will got below error
>
> Error: Failed to expand plugin setting last_login_
s into the arguments section...
Not having your config, I have to guess, but e.g.
userdb {
driver = static
args = last_login_key=last-login/%u/%d/%r/%l/%a
}
And similarly with other drivers, depending what you use.
Aki
> On 28/02/2021 09:53 Henry wrote:
>
>
>
> Dear Ak
= '%d' \ AND ('%a'!='995' or !(pw_gid & 2)) \ AND
('%r'!='[WEBMAIL-IP]' or !(pw_gid & 4)) \ AND ('%r'='[WEBMAIL-IP]' or
'%a'!='993' or !(pw_gid & 8))
Aki Tuomi () 在 2021年2月28日星期日 下午04:55:04 [GMT+8]
w_gid & 8)<>8 AND COALESCE(disable_imap,0)!=1));
user_query = \
SELECT pw_dir AS home, \ 89 AS uid, \ 89 AS gid, \ CONCAT('*:bytes=',
REPLACE(SUBSTRING_INDEX(pw_shell, 'S', 1), 'NOQUOTA', '0')) AS quota_rule, \
'last-login/%u/%d/%r/%l/%a&
, Henry wrote:
Dear Aki,
I try it as your recommend but still no luck, same error
Error: Failed to expand plugin setting last_login_key =
'last-login/%u/%d/%r/%l/%a': Unknown variable '%a'
If I remark #last_login_key = last-login/%u/%d/%r/%l/%a at plugin , error as
below
Er
works then?
Aki
> On 03/03/2021 10:17 Henry wrote:
>
>
> Dear Aki
>
>
> Below for output, it is normal?
>
> [root@cnt8-testing dovecot]# doveadm user em...@testing.com
>
> doveadm user em...@testing.com
> field value
> uid 89
> gid 89
> home /home/
Aki Tuomi () 在 2021年3月3日星期三 下午05:51:55 [GMT+8]
寫道:
Can you enable `mail_debug=yes` and see what the last_login_key value is when
imap session starts? It should show up on logs.
Aki
> On 03/03/2021 11:12 Henry wrote:
>
>
> but when I remove the last_login_key at plugins, e
Hello,
I found the Variable %c only has TLS, Can it be using "TLSv1, TLSv1.1, TLSv1.2,
TLSv1.3" instead of only TLS like as dovecot logging, this is really a most
meaningful , thanks
Variable %cLong name securedDescription “TLS” with established SSL/TLS
connections, “TLS handshaking”
Then the information variables can be pass to post-login script?
Aki Tuomi () 在 2021年3月4日星期四 下午02:58:44 [GMT+8]
寫道:
This information is not passed currently to auth process, so no, it's not
currently possible.
Aki
> On 04/03/2021 08:34 Henry wrote:
>
>
> Hello,
/lastlogin_plugin/
Henry () 在 2021年3月3日星期三 下午06:04:14 [GMT+8] 寫道:
oh! cannot see the last_login_key at logging
Mar 3 17:57:10 cnt8-testing dovecot[650754]:
imap(em...@testing.com)<650774>: Debug: Added userdb setting:
plugin/quota_rule=*:backend=19922944SMar 3 17:57:10 cnt8-t
Hello,
Does anyone has a solution about it?
Thanks
1 GB per day.
Link speed – being AWS inter AZ its 100Mbps-1GBps. I’m conscious if I go inter
region the strategy may need to change.
Thanks
Raymond
From: Henry
Sent: Thursday, 17 June 2021 3:20 PM
To: Raymond Sellars
Subject: Re: N-way replication, multiple masters
How many data for
c/dovecot.passwd
I would appreciate any kind of pointers or advise here. It would have been
nice if vpopmail allowed me to call an external perl script where I could
perform the username mapping, but alas, this is not possible.
Thanks
Henry
-BEGIN PGP PUBLIC KE
On Thu 12/02/09 18:36 , Timo Sirainen t...@iki.fi sent:
> a...@123.com:.
> ...:user=realnamea_abc
Thanks Timo,
Unfortunately this is still not working. Any further comments would be
appreciated.
I've tried it two ways:-
ATTEMPT 1
/etc/dovecot.conf:
auth default {
userd
lly long domain names. So we rather use a short unique prefix for each
domain.
Cheers
Henry
-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.4.5 (GNU/Linux)
mOIESXlwDRECAOycneJPOwSkETRkjJZdArag8V2rKOR2IUwlDOydIZXv/ITDlWDU
dookzEdWh7Ektf1Jlh+YbPNEGoPpQunL8O8AoJbWmNkpoX7jP0Sw/5rDN2
rstand and agree with your second sentence.
The issue though is that if I use '~' or '~/' without the '.' suffix I get
the following error:
Error: user henry: Initialization failed: Initializing mail storage from
mail_location setting failed: No home directory for syste
Dovecot is working perfectly except for one problem. I have local
users and virtual users. Local users are ~/Maildir. And virtual users
are /home/vmail/domain/user. The problem is, it keeps trying to fetch
virtual mail at /home/vmail/domain/user/Maildir. It doesn't exist the
user/ dir is th
dovecot -n:
# /etc/dovecot/dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imaps
ssl_listen: 208.xxx.xxx.xxx
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
mail_extra_groups: mail
mail_debug: yes
auth default:
passdb:
driver: pam
passdb:
driver
Hello
I removed the user in static userdb file, and deleted
/var/mail/vhosts/$domain/$user dir.
when I recreated the user, the system dirs (sent, draft etc) disappeared.
Anything wrong here? Thank you.
--
Henry R
https://openmbox.net/
can dovecot run as a general sasl service for other apps? such as webdav.
Thanks.
> My config is almost exactly the same as yours, except that I use static
> userdb and I do not have (nor do I understand the need for; see my
> previous post) pass_attrs. I tried putting them in matching yours, but
> it still fails the same way: OpenLDAP receives the query and (according
>
> Apr 3 08:13:21 fourier dovecot: auth(default): new auth connection:
> pid=15774
> Apr 3 08:13:30 fourier dovecot: auth(default): client in:
> AUTH^I1^IPLAIN^Iservice=IMAP^Isecured^Ilip=x.x.x.x^Irip=y.y.y.y^Iresp=
> Apr 3 08:13:30 fourier dovecot: auth(default):
> ldap([EMAIL PROTECTED],y.y.y.
> No, it isn't. I have verified the connection with "openssl s_client".
> Besides, the server is receiving the username "[EMAIL PROTECTED]", so
> the connection has already been made by this time.
> What is happening every time is that dovecot sends the correct query to
> OpenLDAP (as
to
> dovecot, and then times out on subsequent connections. If I restart
> dovecot, then I get one successful connection again, and then the others
> fail.
> I am not certain on this, however. I seem to remember the first
> connection timing out on one run...
>
> On Wed,
Hi all,
Sorry if this question has been posted before. I have dug through the
archives but haven't found any relevant answers to this question.
I am running Dovecot on a server that serves a number of (virtual)
domains each with a number of (virtual) users.
To read mail I am providing a w
x27;ha...@zlack.net' with mail '/home/vmail/zlack.net/harry/Maildir'
Kind Regards,
Henry Yonathan
"All successful communication is Hypnosis" - Milton H. Erickson
Belanja buku lewat internet, GRATIS ONGKOS KIRIM ke seluruh Indonesia.
Kunjungi website http://www.boo
_users WHERE email
= '%u';
user_query = SELECT '/home/vmail/%d/%n' AS home, '/home/vmail/%d/%n/Maildir' AS
mail, 5000 AS uid, 5000 AS gid, CONCAT('maildir:storage=', ROUND(quota/1024))
AS quota FROM view_users WHERE email = '%u';
Kind Regards,
Henr
Thank you for your reply.
So, you mean that both user_query and password_query should have the same
amount of parameter and the mail parameter from user_query should have the
exact parameter as userdb_mail from password_query?
And also I've to turn on userdb prefetch {}
Kind Regards,
Dear Tim,
Thank you for your clue. And I'm now able to do what I've been dreaming of :D
Kind Regards,
Henry Yonathan
"All successful communication is Hypnosis" - Milton H. Erickson
- Original Message -
From: Timo Sirainen [mailto:t...@iki.fi]
To: Dovecot Maili
a brute force attack.
Any other Ideas?
Henry
ays block the attacker with
a little script (fail2ban,..).
Henry
> -Message d'origine-
> De : dovecot-bounces+laruellec=aiderdonner@dovecot.org
> [mailto:dovecot-bounces+laruellec=aiderdonner@dovecot.org] De la part de
> Noel Butler
> Envoyé : jeudi 4 juin 2009 12:4
e next try I guess it will be tough
to detect this upfront.
Henry
just counting the amount of connects in a
given timeframe. Within iptables for example this can accomplished with
"--hashlimit 5/Minute".
Henry
Am Donnerstag, den 04.06.2009, 09:51 -0700 schrieb Mark Sapiro:
> On Thu, Jun 04, 2009 at 12:16:00PM +0200, henry ritzlmayr wrote:
> >
> > The problem:
> > If the attacker wouldn't have closed and reopened the connection
> > no log would have been generat
Am Donnerstag, den 04.06.2009, 12:23 -0400 schrieb Timo Sirainen:
> On Thu, 2009-06-04 at 18:13 +0200, henry ritzlmayr wrote:
> > > > Question:
> > > > Is there any way to close the connection after the
> > > > first wrong user/pass combination. So an attack
are on v1.2RC4. Timo wrote yersterday
that with v1.2+ after every login failure the delay for the next attempt
should grow. When I take a look at your timestamps this is obviously not
working on your system.
Henry
Am Freitag, den 05.06.2009, 02:26 -0400 schrieb Timo Sirainen:
> On Jun 5, 2009, at 2:07 AM, henry ritzlmayr wrote:
>
> > Interesting for me is that you are on v1.2RC4. Timo wrote yersterday
> > that with v1.2+ after every login failure the delay for the next
> > attempt
sorry to said that, but this is Dovecot...
> Maybe with little modifications, but this is Dovecot :)
Could you elaborate what kind of modifications you made?
Especially the connection closing is of real interest for me.
thanks
Henry
Am Montag, den 08.06.2009, 12:58 -0700 schrieb Kenneth Porter:
> I've temporarily got SELinux set to permissive mode on a fresh install on
> CentOS 5. It was blocking Dovecot's access to ~/mail because the files were
> labeled file_t. What's the correct way to label these?
>
restorecon
Henry
sername 12u REG9,0 109568 30130578
/home2/home/mailusers/username/.imap/INBOX/dovecot.index.cache
imap6574 username 13u REG 9,0 104724989257043
/home2/var/spool/mail/username
Any pointers?
Thanks
Henry
--
CONFIG:
---
auth_debug = yes
auth_mechanis
> On 31.1.2011, at 13.15, Henry C. wrote:
>
>> In a nutshell: User authenticates OK, then the imap process hangs.
>
> imap process, or the client?..
Thanks for the quick feedback.
The imap process is waiting on the event poll, so I suppose it's not
really hung. Who/wha
On Mon, January 31, 2011 16:06, Timo Sirainen wrote:
> On 31.1.2011, at 13.50, Henry C. wrote:
>
>
>>>> Rawlog looks good
>>>>
>> ...
>>
>>>> epoll_wait(0x8, 0x806c4f8, 0x6, 0x1b708d
>>>
>>> Dovecot is just waiting f
Dovecot provides a master login (a master user name and password that can
log into all user accounts).
I've setup Dovecot as per:
http://wiki1.dovecot.org/Authentication/MasterUsers
Here's my problem.
The only way I can authenticate successfully is if I try to authenticate
through telnet twice.
: ldap
args: /etc/dovecot-ldap.conf
userdb:
driver: passwd
userdb:
driver: ldap
args: /etc/dovecot-ldap.conf--
On Apr 28, 2011, at 5:27 PM, Timo Sirainen wrote:
> On 29.4.2011, at 0.25, Henry Franco wrote:
>
>> The only way I can authenticate successfully is
args: /etc/dovecot.master
master: yes
passdb:
driver: ldap
args: /etc/dovecot-ldap.conf
userdb:
driver: passwd
userdb:
driver: ldap
args: /etc/dovecot-ldap.conf
On Apr 28, 2011, at 5:36 PM, Timo Sirainen wrote:
> On 29.4.2011, at 0.31, Henry Franco wrote:
>
Timo,
That worked. I appreciate it.
Original Message
Subject: Re: [Dovecot] Problem Authenticating with Master User
From: Timo Sirainen
To: Dovecot Mailing List
Date: 04/29/2011 03:34 AM
On 29.4.2011, at 6.19, Henry Franco wrote:
So I removed the passdb's and the
prefix).
doc/wiki/Migration.UW.txt doesn't mention using '~/.', so I was wondering
whether there are
any gotchas anyone can think of.
Thanks
Henry
I have a postfix mail server with sql authentication and I want to
implement sieve on it.
Sieve is working relative good, rules who contain 'fileinto' are
executed perfectly.
The problem is the redirect to other servers.
I configured a rule in Sieve to redirect any email containing "redirect"
I have a postfix mail server with sql authentication and I want to
implement sieve on it.
Sieve is working relative good, rules who contain 'fileinto' are
executed perfectly.
The problem is the redirect to other servers.
I configured a rule in Sieve to redirect any email containing "redirect"
Am 22.09.2014 um 22:19 schrieb Henry Stack:
/ I have a postfix mail server with sql authentication and I want to implement
sieve on it.
/>/
/>/ Sieve is working relative good, rules who contain 'fileinto' are executed perfectly.
/>/ The problem is the redirect to ot
On 22-09-2014 23:50, Reindl Harald wrote:
[...] you need to provide more informations about your setup and if
> possible avoid mask IP addresses - where does the smtpd live, where
> is dovecot and how did you configure the relay at all what postfix
> version? in case of a recent version -> smtp
On 23-09-2014 12:31, Reindl Harald wrote:
> [...]
> no reason for that: smtpd_data_restrictions = reject_unauth_pipelining
its goood, the reason is to block clients who speak to early like spammers for
example.
http://www.postfix.org/postconf.5.html#reject_unauth_pipelining
"This stops mail from
er and NEWS file.
Yeah
--
Kind Regards,
Gavin Henry.
Managing Director.
T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E [EMAIL PROTECTED]
Open Source. Open Solutions(tm).
http://www.suretecsystems.com/
> Timo Sirainen wrote:
>> http://dovecot.org/releases/dovecot-1.0.0.tar.gz
>> http://dovecot.org/releases/dovecot-1.0.0.tar.gz.sig
>>
>> It took almost 5 years, but it's finally ready. I'm not expecting to
>> release v1.0.1 anytime soon, unless someone's been sitting on a major
>> bug just waiting
not, I can post more information.
>
> Bryan
>
What config have you tried?
--
Kind Regards,
Gavin Henry.
Managing Director.
T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E [EMAIL PROTECTED]
Open Source. Open Solutions(tm).
http://www.suretecsystems.com/
Dear All,
Is it possible to store shared folder lists in an LDAP Directory along
with your virtual users?
Will check the wiki too.
Thanks,
Gavin.
--
Kind Regards,
Gavin Henry.
Managing Director.
T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E [EMAIL PROTECTED]
Open
> On Thu, 2007-07-19 at 07:56 +0100, Gavin Henry wrote:
>> Dear All,
>>
>> Is it possible to store shared folder lists in an LDAP Directory along
>> with your virtual users?
>
> You could have LDAP return namespaces. First define a private namespace
> in doveco
> On Thu, 2007-07-19 at 10:17 +0100, Gavin Henry wrote:
>>
>> > On Thu, 2007-07-19 at 07:56 +0100, Gavin Henry wrote:
>> >> Dear All,
>> >>
>> >> Is it possible to store shared folder lists in an LDAP Directory
>> along
>>
smime.p7s
Description: S/MIME cryptographic signature
unsubscribe
smime.p7s
Description: S/MIME cryptographic signature
65 matches
Mail list logo