主题: postfixadmin登录不了

我在centos上成功安装了iRedMail,phpmyadmin可以使用,mysql也正常,但是postfixadmin在登录总是不成功,我在安装时都设置了相关的帐号和密码,但不管是用邮件管理员的身份还是用用户的身份,总是提示帐号或密码错误,请问这是怎么回事?还要在什么地方进行设置吗?
另外,要进行接收和发送邮件的话,是怎样操作的?

[ 本帖最后由 flymouse 于 2009-8-6 00:53 编辑 ]

回复: postfixadmin登录不了

登陆的时候用户名要写全,把域名也写上  比如 aaa@xxx.com

回复: postfixadmin登录不了

virtual hosts database admin user
administrator' name of your virtual domain
the administrator user
the username of your first domain
the username of PostfixAdmin site admin
a E-Mail address for 'root' user alias

这几个相关的都试过,帐号也完整,还是提示“帐号或密码错误”,在装的时候,各个帐号和密码我都记起来了,应该不会错,但就是登录不了

回复: postfixadmin登录不了

postfixadmin 的密码,应该是 postmaster@你建立的第一个域的域名,例如 postmaster@a.cn

在 iRedMail 安装目录的 iRedMail.tips 文件里可以找到。

回复: postfixadmin登录不了

我建立的第一个域的域名是:npo.la,而且也只有这个域,按理说应该有postmaster@npo.la,但是iRedMail.tips里没有postmaster@npo.la,更没有什么密码之类的
是不是需要在域名那里设置什么?
另外,在安装时,建立第一个域的域名的提示是什么?

回复: postfixadmin登录不了

整个 iRedMail.tips 文件里都没有 postfixadmin 的帐号信息么?不应该呀

回复: postfixadmin登录不了

还有,在我设置失败时发送到的邮箱收到三封邮件,其中两封如下:
/etc/cron.daily/freshclam:

ERROR: getpatch: Can't download daily-9657.cdiff from db.cn.clamav.net
ERROR: Can't download daily.cvd from db.cn.clamav.net
/etc/cron.daily/logrotate:

error: maillog:75 duplicate log entry for /var/log/maillog

另一封:
################# SSL Certificate Warning ################

Certificate for hostname 'mail.npo.la', in file:
    /etc/pki/iRedMail/SSL_Cert.pem

The certificate is not valid until Thu Aug  6 08:48:20 2009.

Browsers will not be able to correctly connect to this
web site using SSL until the certificate becomes valid.

##########################################################
                                 Generated by certwatch(1)

回复: postfixadmin登录不了

第三封:
################### Logwatch 7.3 (03/24/06) ####################
       Processing Initiated: Thu Aug  6 04:02:08 2009
       Date Range Processed: yesterday
                             ( 2009-Aug-05 )
                             Period is day.
     Detail Level of Output: 0
             Type of Output: unformatted
          Logfiles for Host: mail.npo.la
##################################################################

--------------------- clam-update Begin ------------------------

Last ClamAV update process started at Wed Aug  5 18:56:55 2009

Last Status:
   WARNING: DNS record is older than 3 hours.
   WARNING: Invalid DNS reply. Falling back to HTTP mode.
   Reading CVD header (main.cvd): Trying host db.local.clamav.net (211.10.155.48)...
   OK (IMS)
   main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven)
   Reading CVD header (daily.cvd): OK (IMS)
   daily.cvd is up to date (version: 9655, sigs: 63499, f-level: 43, builder: arnaud)

---------------------- clam-update End -------------------------


--------------------- ftpd-xferlog Begin ------------------------

TOTAL KB IN: 92KB (0MB)

---------------------- ftpd-xferlog End -------------------------


--------------------- httpd Begin ------------------------


Connection attempts using mod_proxy:
   118.161.248.135 -> maila.agc.idv.tw:25: 1 Time(s)

Requests with error response codes
   404 Not Found
      /020: 1 Time(s)
      /0769: 1 Time(s)
      /44: 2 Time(s)
      /archiver/?tid-1.html: 1 Time(s)
      /attachment/200903/18/271_1237368000LYg3.jpg.thumb.jpg: 1 Time(s)
      /attachment/200903/18/271_1237368003f2JT.jpg.thumb.jpg: 1 Time(s)
      /attachment/200903/18/271_12373680078jR0.jpg.thumb.jpg: 1 Time(s)
      /attachment/200903/23/3_1237777699CiEi.jpg.thumb.jpg: 1 Time(s)
      /attachment/200903/23/3_123777770113s4.jpg.thumb.jpg: 1 Time(s)
      /attachment/200903/26/3_1238055113CgvQ.jpg.thumb.jpg: 1 Time(s)
      /attachment/200903/27/3_1238116686ST7s.jpg.thumb.jpg: 1 Time(s)
      /attachment/200903/29/3_123832895618cZ.jpg.thumb.jpg: 1 Time(s)
      /attachment/200903/29/3_1238328961ZWRE.jpg.thumb.jpg: 1 Time(s)
      /attachment/200903/29/3_1238329659jCZ2.jpg.thumb.jpg: 1 Time(s)
      /attachment/200903/30/3_1238373739L22p.jpg.thumb.jpg: 1 Time(s)
      /attachment/200903/30/3_12383843301x4t.jpg.thumb.jpg: 1 Time(s)
      /attachment/200904/20/271_1240203662qg5J.jpg.thumb.jpg: 1 Time(s)
      /attachment/200904/20/271_1240203937Jlcl.jpg: 1 Time(s)
      /attachment/200904/20/271_124020395314NN.jpg.thumb.jpg: 1 Time(s)
      /attachment/200904/20/271_1240203957veC2.jpg.thumb.jpg: 1 Time(s)
      /attachment/200904/20/271_1240204230cpm2.jpg.thumb.jpg: 1 Time(s)
      /attachment/200904/24/3_12405432037h6T.jpg.thumb.jpg: 1 Time(s)
      /attachment/200904/27/3_12408442764Pnk.jpg.thumb.jpg: 1 Time(s)
      /attachment/200904/27/3_1240844279qZi1.jpg.thumb.jpg: 1 Time(s)
      /attachment/200907/24/3_1248412345O9lx.jpg.thumb.jpg: 1 Time(s)
      /dongguan: 4 Time(s)
      /faq.php?action=faq&id=6: 1 Time(s)
      /favicon.ico: 15 Time(s)
      /image/task_done.gif: 3 Time(s)
      /info: 1 Time(s)
      /myblog/trackback.asp?tbID=19&page=4&URL=h ... xb3\xe6\x96\xb0: 1 Time(s)
      /ngo.zhiyuanzhe.com/dongguan: 1 Time(s)
      /ngo.zhiyuanzhe.com/geren: 1 Time(s)
      /ngo.zhiyuanzhe.com/guangong: 1 Time(s)
      /ngo.zhiyuanzhe.com/guangwai: 1 Time(s)
      /phpmyadmin: 4 Time(s)
      /robots.txt: 7 Time(s)
      /shoucangjia_com/sca_view.asp?id=736: 2 Time(s)
      /space-0-do-album-view-all.html: 1 Time(s)
      /space-0-do-album-view-click.html: 1 Time(s)
      /space-0-do-album-view-me.html: 1 Time(s)
      /space-0-do-blog-view-all.html: 1 Time(s)
      /space-0-do-blog-view-click.html: 1 Time(s)
      /space-0-do-blog-view-me.html: 1 Time(s)
      /space-0-do-doing-view-all.html: 1 Time(s)
      /space-0-do-doing-view-me.html: 1 Time(s)
      /space-0-do-event-view-me.html: 1 Time(s)
      /space-0-do-mood.html: 1 Time(s)
      /space-0-do-poll-view-hot.html: 1 Time(s)
      /space-0-do-poll-view-me.html: 1 Time(s)
      /space-0-do-poll-view-new.html: 1 Time(s)
      /space-0-do-poll-view-reward.html: 1 Time(s)
      /space-0-do-share-view-all-type-album.html: 1 Time(s)
      /space-0-do-share-view-all-type-flash.html: 1 Time(s)
      /space-0-do-share-view-all-type-mtag.html: 1 Time(s)
      /space-0-do-share-view-all-type-poll.html: 1 Time(s)
      /space-0-do-share-view-all-type-tag.html: 1 Time(s)
      /space-0-do-share-view-all.html: 1 Time(s)
      /space-0-do-share-view-me.html: 1 Time(s)
      /space-0-do-thread.html: 1 Time(s)
      /space-1.html: 7 Time(s)
      /space-44-do-share-id-20.html: 1 Time(s)
      /space-44-do-share-id-21.html: 1 Time(s)
      /space-44-do-share-id-22.html: 1 Time(s)
      /space-44.html: 1 Time(s)
      /space-48.html: 1 Time(s)
      /space-54.html: 1 Time(s)
      /space-55.html: 1 Time(s)
      /space-63-do-tag-id-11.html: 1 Time(s)
      /space-63.html: 1 Time(s)
      /space-album-view-all.html: 1 Time(s)
      /space-blog-uid-63-id-3.html: 1 Time(s)
      /space-blog-view-all.html: 1 Time(s)
      /space-event-view-all.html: 1 Time(s)
      /space-event-view-city.html: 1 Time(s)
      /space-event-view-recommend.html: 1 Time(s)
      /space-mtag-view-hot.html: 1 Time(s)
      /space-mtag-view-manage.html: 1 Time(s)
      /space-mtag-view-me-orderby-threadnum.html: 1 Time(s)
      /space-mtag-view-me.html: 1 Time(s)
      /space-mtag-view-recommend.html: 1 Time(s)
      /space-top-view-credit.html: 1 Time(s)
      /space-top-view-friendnum.html: 1 Time(s)
      /space-top-view-gg.html: 1 Time(s)
      /space-top-view-mm.html: 1 Time(s)
      /space-top-view-online.html: 1 Time(s)
      /space-top-view-updatetime.html: 1 Time(s)
      /space-top-view-viewnum.html: 1 Time(s)
      /space-top.html: 1 Time(s)
      /space.php_files/facelist.gif: 18 Time(s)
      /viewthread.php?tid=1: 1 Time(s)
      /viewthread.php?tid=2: 2 Time(s)

回复: postfixadmin登录不了

---------------------- httpd End -------------------------


--------------------- yum Begin ------------------------


Packages Installed:
   clamav - 0.95.2-4.el5.rf.i386
   lzop - 1.01-2.el5.rf.i386
   freeze - 2.5.0-1.2.el5.rf.i386
   createrepo - 0.4.11-3.el5.noarch
   perl-Error - 0.17015-1.el5.rf.noarch
   lzo - 1.08-5.el5.rf.i386
   perl-NetAddr-IP - 4.027-1.el5.rf.i386
   clamd - 0.95.2-4.el5.rf.i386
   arc - 5.21o-1.el5.rf.i386
   php-ldap - 5.1.6-20.el5_2.1.i386
   pysieved - 1.0-1.ired.noarch
   mod_auth_mysql - 1:3.0.0-3.1.i386
   perl-Unix-Syslog - 1.1-1.el5.rf.i386
   libc-client - 2004g-2.2.1.i386
   perl-Mail-SPF - 2.006-1.el5.rf.noarch
   dialog - 1.0.20051107-1.2.2.i386
   dovecot - 1:1.1.11-0_90.el5.i386
   php-pear - 1:1.4.9-4.el5.1.noarch
   perl-TimeDate - 1:1.16-5.el5.noarch
   perl-Convert-UUlib - 1:1.12-1.el5.rf.i386
   arj - 3.10.22-1.el5.centos.i386
   perl-Crypt-OpenSSL-RSA - 0.25-1.el5.rf.i386
   perl-Sys-Hostname-Long - 1.4-1.2.el5.rf.noarch
   lha - 1.14i-19.2.2.el5.rf.i386
   perl-Convert-BinHex - 1.119-2.2.el5.rf.noarch
   perl-MIME-tools - 5.420-3.el5.noarch
   perl-Convert-TNEF - 0.17-3.2.el5.rf.noarch
   perl-Digest-SHA - 5.47-1.el5.rf.i386
   perl-Net-Server - 0.97-1.el5.rf.noarch
   postfix - 4:2.5.6-4.ired.i386
   perl-Archive-Zip - 1.26-1.el5.rf.noarch
   ripole - 0.2.0-1.2.el5.rf.i386
   ncompress - 4.2.4-47.i386
   perl-Mail-DKIM - 0.36-1.el5.rf.noarch
   awstats - 6.9-2.el5.rf.noarch
   perl-Net-CIDR-Lite - 0.20-1.2.el5.rf.noarch
   unrar - 3.9.4-1.el5.rf.i386
   amavisd-new - 2.6.4-2.el5.rf.i386
   dovecot-sieve - 1.1.6-9.el5.i386
   cyrus-sasl-md5 - 2.1.22-4.i386
   perl-IO-stringy - 2.110-1.2.el5.rf.noarch
   cabextract - 1.2-1.el5.rf.i386
   clamav-db - 0.95.2-4.el5.rf.i386
   perl-Mail-SPF-Query - 1.999.1-2.el5.rf.noarch
   php-eaccelerator - 5.1.6_0.9.5.2-4.el5.rf.i386
   php-imap - 5.1.6-20.el5_2.1.i386
   zoo - 2.10-2.2.el5.rf.i386
   policyd - 1.82-4.rhms.i386
   perl-BerkeleyDB - 0.36-1.el5.rf.i386
   php-pecl-fileinfo - 1.0.4-1.el5.rf.i386
   p7zip - 4.61-1.el5.rf.i386
   perl-MailTools - 2.04-1.el5.rf.noarch
   nomarch - 1.4-2.el5.i386

Packages Updated:
   bzip2 - 1.0.3-4.el5_2.i386
   mod_ssl - 1:2.2.3-11.el5_2.centos.4.i386
   httpd - 2.2.3-11.el5_2.centos.4.i386
   httpd-manual - 2.2.3-11.el5_2.centos.4.i386

---------------------- yum End -------------------------


--------------------- Disk Space Begin ------------------------

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      450G  4.7G  422G   2% /
/dev/sda1              99M   12M   83M  13% /boot


---------------------- Disk Space End -------------------------


###################### Logwatch End #########################

回复: postfixadmin登录不了

原帖由 Bibby 于 2009-8-6 11:24 发表 http://www.iredmail.org/bbs/images/common/back.gif
整个 iRedMail.tips 文件里都没有 postfixadmin 的帐号信息么?不应该呀

以下是iRedMail.tips的内容,是不是安装的时候哪些漏了还是设置错了?

Mail Storage:
    - Path:
        /home/vmail
    - Format:
        /home/vmail/DomainName/UserName/
    - Example:
        /home/vmail/npo.la/www/

Apache & PHP:
    * Configuration files:
        - /etc/httpd/conf/
        - /etc/httpd/conf.d/
        - /etc/php.ini
    * Directories:
        - /var/www
        - /var/www/html/

MySQL:
    * Data directory:
        - /var/lib/mysql
    * RC script:
        - /etc/init.d/mysqld
    * Log file:
        - /var/log/mysqld.log
    * SSL Cert keys:
        - /etc/pki/iRedMail/SSL_Cert.pem
        - /etc/pki/iRedMail/SSL_Key.pem
    * See also:
        - /home/zyz/iRedMail-0.4.0/conf/mysql_init.sql

Virtual Users:
    - /home/zyz/iRedMail-0.4.0/conf/mysql_vmail.sql
    - /home/zyz/iRedMail-0.4.0/samples/iredmail.sql

Postfix (basic):
    * Configuration files:
        - /etc/postfix
    - /etc/postfix/aliases
        - /etc/postfix/main.cf
        - /etc/postfix/master.cf

Postfix (MySQL):
    * Configuration files:
        - /etc/postfix/mysql_virtual_mailbox_domains.cf
        - /etc/postfix/mysql_transport_maps.cf
        - /etc/postfix/mysql_virtual_mailbox_maps.cf
        - /etc/postfix/mysql_virtual_mailbox_limit_maps.cf
        - /etc/postfix/mysql_virtual_alias_maps.cf
        - /etc/postfix/mysql_sender_login_maps.cf
        - /etc/postfix/mysql_sender_bcc_maps_domain.cf
        - /etc/postfix/mysql_sender_bcc_maps_user.cf
        - /etc/postfix/mysql_recipient_bcc_maps_domain.cf
        - /etc/postfix/mysql_recipient_bcc_maps_user.cf
Postfix (syslog):
    * logrotate file: /etc/logrotate.d/maillog

Policyd:
    * Configuration files:
        - /etc/policyd.conf
    * RC script:
        - /etc/init.d/policyd
    * Misc:
        - /etc/cron.daily/policyd-cleanup
        - /usr/share/doc/policyd-1.82/policyd.cron
        - crontab -l policyd


Dovecot:
    * Configuration files:
        - /etc/dovecot.conf
    * LDAP:
        - /etc/dovecot-ldap.conf
    * MySQL:
        - /etc/dovecot-mysql.conf
    * RC script:
        - /etc/init.d/dovecot
    * Log files:
        - /etc/logrotate.d/dovecot
        - /var/log/dovecot.log
        - /var/log/sieve.log
    * See also:
        - /home/vmail/.dovecot.sieve
       
pysieved:
    * Configuration files:
        - /etc/pysieved.ini
    * RC script:
        - /etc/init.d/pysieved

ClamAV:
    * Configuration files:
        - /etc/clamd.conf
        - /etc/freshclam.conf
        - /etc/logrotate.d/clamav
    * RC scripts:
        - /etc/init.d/clamd
        - /etc/init.d/freshclam
    * Log files:
        - /var/log/clamav/clamd.log
        - /var/log/clamav/freshclam.log

DNS record for DKIM support:
; key#1, domain npo.la, /var/lib/dkim/npo.la.pem
dkim._domainkey.npo.la. 3600 TXT (
  "v=DKIM1; p="
  "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC0XjcGIDUBN+wo0tHanufn5Xgo"
  "50NCttJ1MOcNLlAE9UFNncqnUuNKklNQpRvsZz5yYT7ldiLASmavEGNSoNeIljQ+"
  "VW6fVle+JhTgm7AxP+vXcObiLTnTpJu9v54jDGJPC96dE1KSRHE7C+JBJ22BvWLb"
  "XeyKeTtbv232R/FzpwIDAQAB")

Amavisd-new:
    * Configuration files:
        - /etc/amavisd.conf
        - /etc/postfix/master.cf
        - /etc/postfix/main.cf
    * RC script:
        - /etc/init.d/amavisd

SpamAssassin:
    * Configuration files:
        - /etc/mail/spamassassin/

    * RC script:
        - /etc/init.d/spamd

    - Rules:
        * /usr/share/spamassassin/

WebMail(SquirrelMail):
    * Configuration files:
        - /var/www/squirrelmail-1.4.17
        - /var/www/squirrelmail-1.4.17/config/config.php
        - /etc/httpd/conf.d/squirrelmail.conf
    * URL:
        - http://mail.npo.la/mail/
        - http://mail.npo.la/webmail/

WebMail(Roundcubemail):
    * Configuration files:
        - /var/www/roundcubemail-0.2-stable/
        - /var/www/roundcubemail-0.2-stable/config/
    * URL:
    - http://mail.npo.la/mail/
        - http://mail.npo.la/webmail/
    * Log file related:
        - /etc/syslog.conf
        - /var/log/roundcube.log
        - /etc/logrotate.d/roundcube
    * See also:
        - /etc/httpd/conf.d/roundcubemail.conf
   
Horde WebMail (1.2):
    * Configuration files:
        - /etc/httpd/conf.d/horde.conf
        - /var/www/html/horde/
        - /var/www/html/horde/config/*
        - /var/www/html/horde/imp/config/*
Horde Turba Address Book:
    * Configuration files:
        - /var/www/html/horde/turba/config/sources.php
Horde Ingo Mail Filter Rule Manager:
    * Configuration files:
        - /var/www/html/horde/ingo/config/backends.php
phpMyAdmin:
    * Configuration files:
        - /var/www/phpMyAdmin-2.11.9.4-all-languages
        - /var/www/phpMyAdmin-2.11.9.4-all-languages/config.inc.php
    * URL:
        - https://mail.npo.la/phpmyadmin
    * See also:
        - /etc/httpd/conf.d/phpmyadmin.conf

PostfixAdmin:
    * Configuration files:
        - /var/www/postfixadmin-2.2.1.1
        - /var/www/postfixadmin-2.2.1.1/config.local.php
        - /var/www/postfixadmin-2.2.1.1/config.inc.php
    * URL:
        - https://mail.npo.la/postfixadmin/
    * See also:
        - /etc/httpd/conf.d/postfixadmin.conf

Awstats:
    * Configuration files:
        - /etc/awstats
        - /etc/awstats/awstats.localhost.localdomain.conf
        - /etc/awstats/awstats.mail.npo.la.conf
        - /etc/awstats/awstats.mail.conf
        - /etc/httpd/conf.d/awstats.conf
    * URL:
        - http://mail.npo.la/awstats/awstats.pl
        - http://mail.npo.la/awstats/awstats.pl?c … ail.npo.la
        - http://mail.npo.la/awstats/awstats.pl?config=mail
    * Crontab job:
        shell> crontab -l root

回复: postfixadmin登录不了

你用的是 0.4.0 版本?看来这个版本记录的信息不够全,不过在 0.5.0 里已经比较全面了。

Virtual Users:
    - /home/zyz/iRedMail-0.4.0/conf/mysql_vmail.sql


你打开这个文本文件看下,里头肯定有帐号信息的。

回复: postfixadmin登录不了

这个文件里几个帐号信息都有,但在登录时还是提示“用户名或密码错误!”,登录不了,密码应该没错,可惜在文件中看不了

[ 本帖最后由 flymouse 于 2009-8-6 15:50 编辑 ]