Hi Andreas,

For Dovecot alias login you could try a new password query in your '/etc/dovecot/dovecot-sql.conf.ext' file (save original):

password_query = SELECT CONCAT( pw_name ,'@', pw_domain ) AS user, \
  pw_passwd AS password, \
  pw_dir as userdb_home, \
  89 AS userdb_uid, \
  89 AS userdb_gid \
  FROM vpopmail vp \
  LEFT JOIN valias va ON concat(vp.pw_name,'@',vp.pw_domain) = va.valias_line \
  WHERE ( vp.pw_name = '%n' OR va.alias = '%n' ) AND vp.pw_domain = '%d'

Reload dovecot

# systemctl reload dovecot.

Add alias

# /home/vpopmail/bin/valias -i u...@testdom.com us...@testdom.com

Test with doveadm

# doveadm auth test u...@testdom.com pass1
passdb: u...@testdom.com auth succeeded
extra fields:

# doveadm auth test us...@testdom.com pass2
passdb: us...@testdom.com auth succeeded
extra fields:


Hope it goes well.

Over on 'Roberto's qmail notes he does this with alias domains as well which includes a vpopmail patch and a new alias domain table in the database


On 2/18/2022 8:25 AM, Andreas wrote:
Hi Eric,

i just saw in my logs and tested afterwards: Submission works with an alias-login, It is just imap and pop that doesn't work.


Am 10.02.22 um 15:55 schrieb Eric Broch:
Is this an issue with IMAP?

On 2/10/2022 7:33 AM, Andreas wrote:
I am glad if you do, just saw in my dkim-reports that there where some Mails from you not reaching my account.

Take your time, we could resolve the cient-issues for the time beeing


Am 10.02.22 um 14:02 schrieb Eric Broch:

I haven't had a chance to look into this yet...will get to it today or tomorrow.


On 2/10/2022 12:09 AM, Andreas wrote:
Hi Eric,

I think you tried to respond for my issue with login with an alias-users?

My account was blocked for ~1 day, I didn't get the list-emails.

Did you find anything about this issue?

Thanks again for your work on the toaster


To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to