Where is dovcot's account files?

ersinacar

New member
Joined
Jun 4, 2008
Messages
3
Hi all,
i'm trying to code a 3rd party script (with php). I need to add mail account on a domain but i don't know how.

here is my dovecot's config.
Code:
dovecot -n
# 1.0.13: /etc/dovecot.conf
protocols: imap imaps pop3 pop3s
ssl_cert_file: /etc/httpd/conf/ssl.crt/server.crt
ssl_key_file: /etc/httpd/conf/ssl.key/server.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_greeting: Dovecot DA ready.
login_processes_count: 16
verbose_proctitle: yes
mail_access_groups: mail
default_mail_env: maildir:~/Maildir
mail_location: maildir:~/Maildir
umask: 7
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
auth default:
  username_chars: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@&
  verbose: yes
  passdb:
    driver: shadow
  passdb:
    driver: passwd-file
    args: /etc/virtual/%d/passwd
  userdb:
    driver: passwd
  userdb:
    driver: passwd-file
    args: /etc/virtual/%d/passwd
any one can tell me how can i do this ?

Thanks.

Ersin
 
Dovecot uses IMAP to query your mailserver. You add the username the same way you would for any other user.

Or are you saying you're trying to write a PHP script to add a mailname?

If the latter, you can do that through the DirectAdmin API.

If you're not using DirectAdmin then you're posting in the wrong place.

Jeff
 
Back
Top