Dovecot proxy setup- auto rewrite after add a new account?

hockolicious

Verified User
Joined
Jun 20, 2019
Messages
57
Location
Poland
Hello,

This question is related to https://help.directadmin.com/item.php?id=2077 and point 1c. DirectAdmin doesn't automatically rewrite new created accounts to /etc/virtual/*/passwd file? After creating new account I don't have in file strings like proxy_maybe,host which prevents the use of a mail proxy.

I must setup a cron job or is there a better way to do this?
Code:
echo "action=rewrite&value=email_passwd" >> /usr/local/directadmin/data/task.queue
 
Last edited:

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,146
Location
GMT +7.00
Hello,

Don't have the issue on my end. Newly added email accounts have the proxy_maybe part.

Are you sure you see the same:

Code:
# /usr/local/directadmin/directadmin c | grep ^dovecot_proxy=
dovecot_proxy=1
 
Top