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 [email protected] [email protected]
Test with doveadm
# doveadm auth test [email protected] pass1
passdb: [email protected] auth succeeded
extra fields:
[email protected]
# doveadm auth test [email protected] pass2
passdb: [email protected] auth succeeded
extra fields:
[email protected]
[email protected]
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
Eric
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.
Andreas
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
Andreas
Am 10.02.22 um 14:02 schrieb Eric Broch:
Andreas,
I haven't had a chance to look into this yet...will get to it today
or tomorrow.
Eric
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
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]