Re: sasl service for other app

2022-12-08 Thread justina colmena ~biz
So this should allow postfix to piggyback on top of whatever dovecot auth is being used. On Thursday, December 8, 2022 4:49:06 AM AKST, Shawn Heisey wrote: On 12/7/22 21:53, Henry R wrote: can dovecot run as a general sasl service for other apps? such as webdav. I am using dovecot to

Re: sasl service for other app

2022-12-08 Thread justina colmena ~biz
https://doc.dovecot.org/configuration_manual/authentication/sql/#password-verification-by-sql-server Perfect. However on Postfix it is more finicky. https://www.postfix.org/SASL_README.html#auxprop_sql Tip If you must store encrypted passwords, you cannot use the sql auxprop plugin. Instead,

Re: sasl service for other app

2022-12-08 Thread Michael Peddemors
On 2022-12-07 20:53, Henry R wrote: can dovecot run as a general sasl service for other apps? such as webdav. Thanks. Almost anything can use dovecot (or any other system) as an authentication SASL service, but it is the 'gotchas' that you have to think about. * Does this open your SASL

Re: Seen Flags per User

2022-12-08 Thread Maurice Kunze
Hello, now i found another error. When i click on an email in the client its marked an read or unread when i mark it that way. Now when i change the folder and come back to the shared folder the mail i just read is unread again. When i restart the Mail client it will be displayed like it

Re: sasl service for other app

2022-12-08 Thread Shawn Heisey
On 12/7/22 21:53, Henry R wrote: can dovecot run as a general sasl service for other apps? such as webdav. I am using dovecot to provide authentication for postfix submission.  This is the config in postfix: smtpd_sasl_type = dovecot # Referring to /var/spool/postfix/private/auth

Re: access dict in lua auth script

2022-12-08 Thread Tobias Florek
Getting back to the old topic. It's not yet possible to get dict objects on demand in Lua scripts. I assume it's also not possible to get a predefined dict in Lua `auth_passdb_lookup` functions. Can this be added? This will make using Lua for pass- and userdb, and event push notification

Re: Seen Flags per User

2022-12-08 Thread Maurice Kunze
Hello, thanks for that hint. I changed the path for our environment to /var/mail/user/%u/Maildir/shared/public and now its working. Thanks for helping. Am 08.12.22 um 10:58 schrieb Aki Tuomi: Either configure mail_home, return home from ldap, or use absolute directory instead of %h. I

Re: Seen Flags per User

2022-12-08 Thread Aki Tuomi
Either configure mail_home, return home from ldap, or use absolute directory instead of %h. I see you have mail_location which points to /var/mail/user, this makes everyone use the same location, unless you overwrite this in your ldap query. You could replace %h/public with

Re: Seen Flags per User

2022-12-08 Thread Maurice Kunze
Hey, thanks for the explanation. I implemented it but then i get the following error in the logs: Error: userdb didn't return a home directory, but location used it (%h): maildir:/var/mail/public:INDEXPVT=%h/public I authenticate the users via LDAP (Active Directory) Am 08.12.22 um

Re: Question about line length limit in lmtp.

2022-12-08 Thread Gedalya
On 12/8/22 17:41, Aki Tuomi wrote: > This is something that is usually handled automatically and does not affect > the mails you see in your MUA. The folding is done within the protocol. Again, I find this statement quite strange. I'm not relying on any MUA when I say long lines appear to be

Re: Question about line length limit in lmtp.

2022-12-08 Thread Aki Tuomi
> On 08/12/2022 11:39 EET Gedalya wrote: > > > On 12/8/22 17:29, Aki Tuomi wrote: > > Dovecot LMTP and Submission enforce the RFC line length, which is 1000, > > including \r\n. > > Can you elaborate on this? > > I often get mail coming in from the wild with long lines and I find the most

Re: Question about line length limit in lmtp.

2022-12-08 Thread Gedalya
On 12/8/22 17:29, Aki Tuomi wrote: > Dovecot LMTP and Submission enforce the RFC line length, which is 1000, > including \r\n. Can you elaborate on this? I often get mail coming in from the wild with long lines and I find the most practical approach is to pass it on to dovecot LMTP as is, and

Re: Question about line length limit in lmtp.

2022-12-08 Thread Aki Tuomi
> On 04/12/2022 18:25 EET Kamil Jońca wrote: > > > I have postfix + dovecot server. > Mail for local users are saved by dovecot lmtp. > Recently I got some messages from postfix: > > --8<---cut here---start->8--- > 4NQ07L4h4LztXXr: breaking line > 998

Re: Seen Flags per User

2022-12-08 Thread Aki Tuomi
location = maildir:/var/mail/public:INDEXPVT=%h/public Probably works better. INDEXPVT needs to point to a *per-user* location. Now you're just sharing them with everyone. Aki > On 08/12/2022 11:07 EET Maurice Kunze wrote: > > > Hello, > > i want to configure seen flags per user for

Question about line length limit in lmtp.

2022-12-08 Thread Kamil Jońca
I have postfix + dovecot server. Mail for local users are saved by dovecot lmtp. Recently I got some messages from postfix: --8<---cut here---start->8--- 4NQ07L4h4LztXXr: breaking line > 998 bytes with SPAC --8<---cut

Seen Flags per User

2022-12-08 Thread Maurice Kunze
Hello, i want to configure seen flags per user for shared public mailboxes in dovecot. I have added the INDEVPVT Option to the location parameter in the namespace and restarted the services and the server. Unfortunately nothing changed and there are still global seen flags in the

Re: sasl service for other app

2022-12-08 Thread justina colmena ~biz
I suppose. Essentially create a database table and supply a custom SQL query for authentication. Program a PHP web form with a token to reset user password with a recovery email, etc. Postgres/nginx should be just as easy as mysql/apache. -- On Wednesday, December 7, 2022 10:48:27 PM AKST,