sasl service for other app

2022-12-07 Thread Henry R
can dovecot run as a general sasl service for other apps? such as webdav. Thanks.

how to clean virtual users correctly

2022-10-24 Thread Henry R
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/

Re: N-way replication, multiple masters

2021-06-16 Thread Henry
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

Re: Re: nginx configuration to pass x-originating-ip

2021-04-01 Thread Henry
Hello, Does anyone has a solution about it? Thanks

Re: last login plugins

2021-03-04 Thread Henry
/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

Re: About TLS variables

2021-03-04 Thread Henry
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,

About TLS variables

2021-03-03 Thread Henry
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

Re: last login plugins

2021-03-03 Thread Henry
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

Re: last login plugins

2021-03-03 Thread Henry
f it 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/

Re: last login plugins

2021-03-03 Thread Henry
, 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 Error: last_login_dict

Re: last login plugins

2021-03-02 Thread Henry
), 'NOQUOTA', '0')) AS quota_rule, \  'last-login/%u/%d/%r/%l/%a' AS last_login_key \  FROM vpopmail \  WHERE pw_name = '%n' AND pw_domain = '%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 &am

Re: last login plugins

2021-02-28 Thread Henry
o put it in the sql query. SELECT ..., 'last-login/%u/%d/%r/%l/%a' AS last_login_key Aki On February 28, 2021 8:12:39 AM UTC, Henry wrote: > current config as below: >userdb {  driver = prefetch}userdb {  args = >/etc/dovecot/dovecot-sql.conf.ext  driver = sql}plugin {  quota = >maildir:User quota >

Re: last login plugins

2021-02-28 Thread Henry
It goes 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

Re: last login plugins

2021-02-27 Thread Henry
=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_key =

Re: last login plugins

2021-02-27 Thread Henry
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 "Login variables" and "Authent

Re: last login plugins

2021-02-27 Thread Henry
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 such as port 143 or 993, and tls 1.1 or tls >1.3, client

Re: last login plugins

2021-02-26 Thread Henry
/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日星期四 下

Re: last login plugins

2021-02-18 Thread Henry
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

last login plugins

2021-02-17 Thread Henry
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 

unsubscibe

2019-02-18 Thread Henry Otten via dovecot
unsubscribe smime.p7s Description: S/MIME cryptographic signature

unsubcribe

2019-02-14 Thread Henry Otten via dovecot
smime.p7s Description: S/MIME cryptographic signature

Re: sieve redirect to foreign email gets “Relay access denied”

2014-09-23 Thread Henry Stack
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 -

Re: sieve redirect to foreign email gets “Relay access denied”

2014-09-23 Thread Henry Stack
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

sieve redirect to foreign email gets “Relay access denied”

2014-09-22 Thread 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 other servers. I configured a rule in Sieve to redirect any email containing redirect

sieve redirect to foreign email gets “Relay access denied”

2014-09-22 Thread 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 other servers. I configured a rule in Sieve to redirect any email containing redirect

Re: sieve redirect to foreign email gets “Relay access denied”

2014-09-22 Thread Henry Stack
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 other servers. // I

Re: [Dovecot] Problem Authenticating with Master User

2011-04-29 Thread Henry Franco
Timo, That worked. I appreciate it. Original Message Subject: Re: [Dovecot] Problem Authenticating with Master User From: Timo Sirainen t...@iki.fi To: Dovecot Mailing List dovecot@dovecot.org Date: 04/29/2011 03:34 AM On 29.4.2011, at 6.19, Henry Franco wrote: So I

[Dovecot] Problem Authenticating with Master User

2011-04-28 Thread Henry Franco
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.

Re: [Dovecot] Problem Authenticating with Master User

2011-04-28 Thread Henry Franco
: 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 if I try

Re: [Dovecot] Problem Authenticating with Master User

2011-04-28 Thread Henry Franco
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: passdb: driver: passwd-file args

[Dovecot] Particular user post-login hang

2011-01-31 Thread Henry C.
/INBOX/dovecot.index.cache imap6574 username 13u REG9,0 104724989257043 /home2/var/spool/mail/username Any pointers? Thanks Henry -- CONFIG: --- auth_debug = yes auth_mechanisms = plain login default_login_user = nobody first_valid_uid = 200 listen

Re: [Dovecot] Particular user post-login hang

2011-01-31 Thread Henry C.
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/what process is talking

Re: [Dovecot] Particular user post-login hang

2011-01-31 Thread Henry C.
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 for more commands here. To me everything here points to a client problem. By client, I presume you're

Re: [Dovecot] Alternate mail_location prefix for homedir

2010-09-05 Thread Henry
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 system user. Can't expand ~ for mail root dir in: ~:INBOX=/var/mail/henry It seems

[Dovecot] Alternate mail_location prefix for homedir

2010-09-03 Thread Henry C.
doesn't mention using '~/.', so I was wondering whether there are any gotchas anyone can think of. Thanks Henry

Re: [Dovecot] SELinux

2009-06-10 Thread henry ritzlmayr
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 path Henry

Re: [Dovecot] Under POP attack - now to prevent?

2009-06-05 Thread henry ritzlmayr
. 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

Re: [Dovecot] Dovecot under brute force attack - nice attacker

2009-06-05 Thread henry ritzlmayr
the connection closing is of real interest for me. thanks Henry

[Dovecot] Dovecot under brute force attack - nice attacker

2009-06-04 Thread henry ritzlmayr
force attack. Any other Ideas? Henry

Re: [Dovecot] Dovecot under brute force attack - nice attacker

2009-06-04 Thread henry ritzlmayr
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:48 À : henry ritzlmayr Cc

Re: [Dovecot] Dovecot under brute force attack - nice attacker

2009-06-04 Thread henry ritzlmayr
this upfront. Henry

Re: [Dovecot] Dovecot under brute force attack - nice attacker

2009-06-04 Thread henry ritzlmayr
accomplished with --hashlimit 5/Minute. Henry

Re: [Dovecot] Dovecot under brute force attack - nice attacker

2009-06-04 Thread henry ritzlmayr
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 generated and he/she would have endless tries. Not even

Re: [Dovecot] Dovecot under brute force attack - nice attacker

2009-06-04 Thread henry ritzlmayr
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 attacker would be forced to reopen it? I think

[Dovecot] Mapping usernames

2009-02-12 Thread Henry
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 KEY BLOCK- Version: GnuPG v1.4.5 (GNU/Linux

Re: [Dovecot] Mapping usernames

2009-02-12 Thread Henry
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 { userdb

Re: [Dovecot] Mapping usernames [RESOLVED]

2009-02-12 Thread Henry
unique prefix for each domain. Cheers Henry -BEGIN PGP PUBLIC KEY BLOCK- Version: GnuPG v1.4.5 (GNU/Linux) mOIESXlwDRECAOycneJPOwSkETRkjJZdArag8V2rKOR2IUwlDOydIZXv/ITDlWDU dookzEdWh7Ektf1Jlh+YbPNEGoPpQunL8O8AoJbWmNkpoX7jP0Sw/5rDN2eKGHR7 Af9mxTqQ/j3C5LkrTRo9iCTt1TxoqPi6R/w0KkIAuTXBq6j

Re: [Dovecot] Can not Create Maildir using userdb

2009-01-13 Thread Henry Yonathan
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 Mailing List [mailto:dove

Re: [Dovecot] Can not Create Maildir using userdb sql

2009-01-12 Thread Henry Yonathan
'; 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, Henry Yonathan All successful communication is Hypnosis - Milton H. Erickson

Re: [Dovecot] Can not Create Maildir using userdb

2009-01-12 Thread Henry Yonathan
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, Henry

[Dovecot] Multiple network interface question

2008-08-26 Thread Mike Henry
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

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-17 Thread Gavin Henry
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, 2008-04-16 at 23:20 +0100, Gavin Henry wrote: quote who=Jack McKinney No, it isn't. I

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-16 Thread Gavin Henry
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 to

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-16 Thread Gavin Henry
quote who=Jack McKinney 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=hidden Apr 3 08:13:30 fourier dovecot: auth(default):

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-16 Thread Gavin Henry
quote who=Jack McKinney 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

[Dovecot] Shared folders and LDAP?

2007-07-19 Thread Gavin Henry
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

Re: [Dovecot] Shared folders and LDAP?

2007-07-19 Thread Gavin Henry
quote who=Timo Sirainen On Thu, 2007-07-19 at 10:17 +0100, Gavin Henry wrote: quote who=Timo Sirainen 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

[Dovecot] Stop Maildir appending to path

2007-05-29 Thread Henry
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:

[Dovecot] Stop Maildir appending to path

2007-05-28 Thread Henry
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

Re: [Dovecot] LDAP for Virtual Domains

2007-05-17 Thread Gavin Henry
. If 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/

Re: [Dovecot] v1.0.0 released

2007-04-13 Thread Gavin Henry
quote who=Daniel L. Miller 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

Re: [Dovecot] 1.0.rc30 released

2007-04-06 Thread Gavin Henry
. 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/