Re: Mail addresses with quotes + Postfix

2018-03-07 Thread Stephan Bosch
Op 3/7/2018 om 6:28 PM schreef Philipp Berger: > Interesting, the documentation and the build-in help of dovecot-lda do > not mention -r exists :) > > case 'r': > > /* final recipient address */ > > if (smtp_address_parse_path(ctx.pool, optarg, > >

Re: Coredump: Panic: file smtp-address.c: line 530 (smtp_address_write): assertion failed: (smtp_char_is_qpair(*p))

2018-03-07 Thread Stephan Bosch
Op 3/6/2018 om 2:46 AM schreef Stephan Bosch: > Op 3/5/2018 om 3:14 PM schreef Ralf Hildebrandt: >> Got a coredump: >> >> Mar 5 15:09:42 mail-cbf dovecot: >> lmtp(backup@backup.invalid)<15425><2B+kCaZPnVpBPAAAplP5LA>: Fatal: master: >> service(lmtp): child 15425 killed with signal 6 (core

Authentication Problem with dovecot-2.3.0.1

2018-03-07 Thread Odhiambo Washington
I am a little confused here. I have been running 2.2.34 which I installed in /opt/dovecot2.2 I installed 2.3.0.1 to /opt/dovecot23 I then used config files from /opt/dovecot2.2/etc/dovecot to /opt/dovecot2.3/etc/dovecot and all I did was sed -i.BAK 's/dovecot2.2/dovecot2.3/g'. Dovecot started

AppArmor profile for Dovecot on Debian Stretch

2018-03-07 Thread André Rodier
Hello all, Is there any guide to help in the configuration of Dovecot for AppArmor on Debian / Ubuntu ? Or maybe does any of you already have something that works? I am actually adding AppArmor on an email server project, and I had some trouble with the versions from Debian. I would like to

last login tracking

2018-03-07 Thread David Mehler
Hello, I've got dovecot going with postfix and MySQL database for user and domain storage. Dovecot handles the authentication. My last login is not working, does anyone have a table example and configs? I looked at the wiki page on the lastlogin plugin but obviously what I'm doing isn't working,

(Solved) Re: Authentification fails in dovecot 2.3.0.1

2018-03-07 Thread Volker Wysk
Hi! "Downgrading is possible to v2.2.27 and later. (v2.2.27 accidentally broke dovecot.index* backwards compatibility a bit.) " I've thrown caution to the winds, and downgraded back to 2.2.22, by turning off the Dovecot-PPA, deinstalling 2.3.0.1, and installing 2.2.22 again from the Ubuntu

Re: Virtual Mailboxes redux

2018-03-07 Thread @lbutlr
On 2018-03-06 (14:41 MST), "@lbutlr" wrote: > >> and using "doveadm search mailbox $VIRTUAL_MAILBOX” > > # doveadm search mailbox "@virtual.day" -u kremels > # Any clues on this? As far as I can tell from the documentation and the list this should work, but it is not. --

Re: Virtual Mailboxes redux

2018-03-07 Thread Aki Tuomi
On 08.03.2018 03:09, @lbutlr wrote: > On 2018-03-06 (14:41 MST), "@lbutlr" wrote: >>> and using "doveadm search mailbox $VIRTUAL_MAILBOX” >> # doveadm search mailbox "@virtual.day" -u kremels >> # > Any clues on this? As far as I can tell from the documentation and the list

Re: Authentication Problem with dovecot-2.3.0.1

2018-03-07 Thread Aki Tuomi
On 07.03.2018 22:07, Odhiambo Washington wrote: > I am a little confused here. > > I have been running 2.2.34 which I installed in /opt/dovecot2.2 > I installed 2.3.0.1 to /opt/dovecot23 > > I then used config files from /opt/dovecot2.2/etc/dovecot to > /opt/dovecot2.3/etc/dovecot and all I did

Re: Mail addresses with quotes + Postfix

2018-03-07 Thread Philipp Berger
Interesting, the documentation and the build-in help of dovecot-lda do not mention -r exists :) case 'r': /* final recipient address */ if (smtp_address_parse_path(ctx.pool, optarg, SMTP_ADDRESS_PARSE_FLAG_ALLOW_LOCALPART |

Re: extra IMAP folders: how to make all clients use the same Sent folder?

2018-03-07 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 28 Feb 2018, Stanislaw Findeisen wrote: I have just setup IMAP with Maildir, but unfortunately some clients create their own folders instead of using those specified in 15-mailboxes.conf . What could be the reason? Because the clients do

Re: Cannot delete folder

2018-03-07 Thread Aki Tuomi
On 06.03.2018 21:55, Yves Goergen wrote: > Hi there, > > I cannot delete IMAP folders in new mailboxes. When trying to delete a > folder in Thunderbird I get the error message "renaming not supported > across conflicting directory permissions". Looking up the error on the > web led me to

Re: Why does dovecot tell Error: passwd-file(...)failed: No such file or directory?

2018-03-07 Thread Aki Tuomi
Fix typo, you have schme. Aki On 07.03.2018 15:47, Sergio Belkin wrote: > Hi, > > I get this error even when user logins succesfully: > > Mar  7 10:41:16 mail dovecot: auth: Debug: client in: >

Why does dovecot tell Error: passwd-file(...)failed: No such file or directory?

2018-03-07 Thread Sergio Belkin
Hi, I get this error even when user logins succesfully: Mar 7 10:41:16 mail dovecot: auth: Debug: client in: AUTH#0111#011CRAM-MD5#011service=imap#011secured#011session=maOgttJmCADAqHoB#011lip=192.168.122.202#011rip=192.168.122.1#011lport=993#011rport=36872 Mar 7 10:41:16 mail dovecot: auth:

Re: Why does dovecot tell Error: passwd-file(...)failed: No such file or directory?

2018-03-07 Thread Sergio Belkin
Aki, thanks, I fixed typo but error persists: Mar 7 10:55:54 mail dovecot: auth: Debug: auth client connected (pid=10828) Mar 7 10:55:55 mail dovecot: auth: Debug: client in:

Re: Why does dovecot tell Error: passwd-file(...)failed: No such file or directory?

2018-03-07 Thread Aki Tuomi
My bad. Userdb does not support scheme keyvalue, just remove it. Aki > On 07 March 2018 at 15:57 Sergio Belkin wrote: > > > Aki, > > thanks, I fixed typo but error persists: > Mar 7 10:55:54 mail dovecot: auth: Debug: auth client connected (pid=10828) > Mar 7 10:55:55

Re: Why does dovecot tell Error: passwd-file(...)failed: No such file or directory?

2018-03-07 Thread Sergio Belkin
Thanks Aki, That made the trick! 2018-03-07 11:01 GMT-03:00 Aki Tuomi : > My bad. Userdb does not support scheme keyvalue, just remove it. > > Aki > > > On 07 March 2018 at 15:57 Sergio Belkin wrote: > > > > > > Aki, > > > > thanks, I fixed typo but

Re: Mail addresses with quotes + Postfix

2018-03-07 Thread Stephan Bosch
Op 7-3-2018 om 13:46 schreef Philipp Berger: I wrapped the LDA command in a script. I can see that Postfix passes "@@mydomain.tld" as the -d argument, without quotes. I then adapted the script to specifically replace this address with "@"@mydomain.tld, but this results in the following error

Re: Mail addresses with quotes + Postfix

2018-03-07 Thread Reio Remma
Hello! Maybe experiment with auth_username_chars: # List of allowed characters in username. If the user-given username contains # a character not listed in here, the login automatically fails. This is just # an extra check to make sure user can't exploit any potential quote escaping #

Re: Mail addresses with quotes + Postfix

2018-03-07 Thread Philipp Berger
I wrapped the LDA command in a script. I can see that Postfix passes "@@mydomain.tld" as the -d argument, without quotes. I then adapted the script to specifically replace this address with "@"@mydomain.tld, but this results in the following error message by Dovecot:     auth: Info: userdb(?):

Re: Mail addresses with quotes + Postfix

2018-03-07 Thread Stephan Bosch
Op 7-3-2018 om 15:40 schreef Stephan Bosch: Op 7-3-2018 om 13:46 schreef Philipp Berger: I wrapped the LDA command in a script. I can see that Postfix passes "@@mydomain.tld" as the -d argument, without quotes. I then adapted the script to specifically replace this address with