hello list hello guru of this list hello much many people hello A.L.E.C
I try to implement the change password plugin I just watched http://trac.roundcube.net/browser/trunk/plugins/password it does not seem to have an option to change password when using dovecot I do not use sql or ldap. I use pam to store my password through the authentication to postfix and dovecot: my passwords are login or plain text if so, can you enlighten me how to use the change password plugin
thanks for advice thanks for all return
aka /fakessh/ _______________________________________________ List info: http://lists.roundcube.net/users/
On Tue, 20 Apr 2010 13:22:38 +0200, fakessh fakessh@fakessh.eu wrote:
hello list hello guru of this list hello much many people hello A.L.E.C
I try to implement the change password plugin I just watched http://trac.roundcube.net/browser/trunk/plugins/password it does not seem to have an option to change password when using dovecot I do not use sql or ldap. I use pam to store my password through the authentication to postfix and dovecot: my passwords are login or plain text if so, can you enlighten me how to use the change password plugin
thanks for advice thanks for all return
aka /fakessh/
I restates : I created the user with adduser. I am obliged to do (su passwd user to change the passwords of my users )
I post my config
[root@r13151 ~]# dovecot -n # 1.2.11: /etc/dovecot.conf # OS: Linux 2.6.24.5-grsec-xxxx-grs-ipv4-32 i686 CentOS release 5.4 (Final) base_dir: /var/run/dovecot/ log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s managesieve listen(default): [::] listen(imap): [::] listen(pop3): [::] listen(managesieve): *:2000 ssl_listen(default): *:993 ssl_listen(imap): *:993 ssl_listen(pop3): *:995 ssl_listen(managesieve): ssl_ca_file: /etc/pki/tls/cert.csr.p12 ssl_cert_file: /etc/pki/tls/newcerts/01.pem ssl_key_file: /etc/pki/tls/private/r13151.ovh.net.key version_ignore: yes 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_executable(managesieve): /usr/libexec/dovecot/managesieve-login mail_location: maildir:~/Maildir:INBOX=~/Maildir/.INBOX mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_executable(managesieve): /usr/libexec/dovecot/managesieve mail_plugins(default): autocreate mail_plugins(imap): autocreate mail_plugins(pop3): autocreate mail_plugins(managesieve): mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(managesieve): /usr/lib/dovecot/managesieve imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(pop3): imap_client_workarounds(managesieve): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh pop3_client_workarounds(managesieve): managesieve_logout_format(default): bytes=%i/%o managesieve_logout_format(imap): bytes=%i/%o managesieve_logout_format(pop3): bytes=%i/%o managesieve_logout_format(managesieve): bytes ( in=%i : out=%o ) lda: postmaster_address: postmaster@fakessh.eu hostname: r13151.ovh.net mail_plugins: cmusieve mail_plugin_dir: /usr/lib/dovecot/lda sieve_global_path: /etc/dovecot/global_script/dovecot.sieve sendmail_path: /usr/lib/sendmail auth_socket_path: /var/run/dovecot/auth-master auth default: mechanisms: plain login passdb: driver: pam userdb: driver: passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /usr/libexec/dovecot/auth-master mode: 384 plugin: plugin: autocreate managesieve sieve cmusieve sieve: ~/.dovecot.sieve sieve_dir: ~/sieve
[root@r13151 ~]# postconf -n alias_database = hash:/etc/aliases , hash:/etc/postfix/aliases alias_maps = hash:/etc/aliases , hash:/etc/postfix/aliases body_checks = regexp:/etc/postfix/body_checks.cf bounce_notice_recipient = postmaster broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix content_filter = dksign:[127.0.0.1]:10028 daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 default_privs = nobody double_bounce_sender = no header_checks = regexp:/etc/postfix/header_checks.cf home_mailbox = Maildir/ html_directory = /usr/share/doc/postfix-2.5.1-documentation/html in_flow_delay = 10 inet_interfaces = all local_recipient_maps = unix:passwd.byname $alias_maps mail_owner = postfix mail_spool_directory = /var/spool/mail mailbox_command = /usr/libexec/dovecot/deliver mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man maps_rbl_domains = bl.spamcop.net mime_header_checks = regexp:/etc/postfix/mime_header_checks.cf mydestination = $myhostname, localhost.$mydomain mydomain = r13151.ovh.net mynetworks = 127.0.0.0/8 ,87.98.186.232 myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix queue_run_delay = 2000s readme_directory = /usr/share/doc/postfix-2.5.1-documentation/readme recipient_delimiter = + relay_domains = sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_sasl_security_options = noanonymous smtp_sasl_tls_security_options = noanonymous smtp_sender_dependent_authentication = yes smtp_tls_loglevel = 3 smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_tls_session_cache smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) smtpd_client_restrictions = permit_mynetworks,reject_unknown_reverse_client_hostname,reject_unauth_pipelining, reject_non_fqdn_recipient , permit smtpd_milters = inet:[127.0.0.1]:10040 smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces permit_sasl_authenticated reject_unverified_recipient reject_non_fqdn_sender reject_non_fqdn_recipient reject_unknown_sender_domain reject_unknown_recipient_domain reject_unknown_reverse_client_hostname reject_unauth_destination reject_unauth_pipelining reject_rbl_client zen.spamhaus.org reject_sender_login_mismatch check_policy_service unix:postgrey/socket check_sender_access hash:/etc/postfix/check_backscatterer check_sender_access hash:/etc/postfix/check_spamcannibal check_policy_service unix:private/spfpolicy reject_rbl_client bl.spamcop.net reject_rhsbl_sender dbl.spamhaus.org reject_rbl_client cbl.abuseat.org reject_rbl_client b.barracudacentral.org reject_rbl_client cbl.abuseat.org smtpd_reject_unlisted_sender = no smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_local_domain = $myhostname smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_tls_CAfile = /etc/pki/tls/sub.class4.server.ca.pem smtpd_tls_auth_only = yes smtpd_tls_cert_file = /etc/pki/tls/newcerts/01.pem smtpd_tls_key_file = /etc/pki/tls/private/r13151.ovh.net.key smtpd_tls_received_header = yes smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_tls_session_cache smtpd_use_tls = yes soft_bounce = no tls_random_source = dev:/dev/urandom unknown_local_recipient_reject_code = 550 virtual_alias_domains = fakessh.eu renelacroute.fr nicolaspichot.fr virtual_alias_maps = hash:/etc/postfix/virtual virtual_transport = dovecot
List info: http://lists.roundcube.net/users/
fakessh wrote:
I try to implement the change password plugin I just watched http://trac.roundcube.net/browser/trunk/plugins/password it does not seem to have an option to change password when using dovecot I do not use sql or ldap. I use pam to store my password through the authentication to postfix and dovecot: my passwords are login or plain text if so, can you enlighten me how to use the change password plugin
I don't know if there is a plugin or driver for PAM passwords change.
You need a command line tool for changing passwords e.g. chpasswd and use it in PHP. For example see 'sasl' driver from 'password' plugin. Programmers can take a look at http://www.unicom.com/sw/web-chpass. Also virtualmin (which we support in virtualmin driver) probably is working with PAM.
On Tue, 20 Apr 2010 14:09:07 +0200, "A.L.E.C" alec@alec.pl wrote:
fakessh wrote:
I try to implement the change password plugin I just watched http://trac.roundcube.net/browser/trunk/plugins/password it does not seem to have an option to change password when using
dovecot
I do not use sql or ldap. I use pam to store my password through the authentication to postfix and dovecot: my passwords are login or plain text if so, can you enlighten me how to use the change password plugin
I don't know if there is a plugin or driver for PAM passwords change.
You need a command line tool for changing passwords e.g. chpasswd and use it in PHP. For example see 'sasl' driver from 'password' plugin. Programmers can take a look at http://www.unicom.com/sw/web-chpass. Also
virtualmin (which we support in virtualmin driver) probably is working with PAM.
thank you A.L.E.C thanks you all users
I just look at the code http://trac.roundcube.net/browser/trunk/plugins/password/drivers/sasl.php to integrate easily into roundcube it is simply necessary to modify the code web-chpass and the executable c nipasswd then plugin with a part in c I'm afraid of writing this piece of c, I just perl the c is entirely taken from http://www.unicom.com/sw/web-chpass I am afraid to make mistakes in writing c
them what someone feels able to write this plugin derives from nipasswd
List info: http://lists.roundcube.net/users/