Help with Virtual Users And Domains With Postfix, Mysql athu error !

Discussion in 'HOWTO-Related Questions' started by pmsfo, Sep 17, 2006.

  1. pmsfo

    pmsfo New Member

    Hi, I've followed the FC5 howto:
    http://www.howtoforge.com/fedora_vir..._quota_courier

    Hi install everything and its okay pop works, smtp to!, but when i try to login always comes up with an error. hi do this

    [root@example Pedro]# telnet localhost pop3
    Trying 127.0.0.1...
    Connected to localhost.localdomain (127.0.0.1).
    Escape character is '^]'.
    +OK Hello there.
    user pedro
    +OK Password required.
    pass password
    -ERR Temporary problem, please try again later
    Connection closed by foreign host.

    when i open the mai logs its come like this


    Sep 17 15:33:53 liveira postfix/postfix-script: starting the Postfix mail system
    Sep 17 15:33:53 liveira postfix/master[4032]: daemon started -- version 2.2.8, configuration /etc/postfix
    Sep 17 15:33:53 liveira postfix/qmgr[4035]: 50C506666DF: from=<[email protected]>, size=1562, nrcpt=1 (queue active)
    Sep 17 15:33:53 liveira postfix/qmgr[4035]: 90BF4666721: from=<[email protected]>, size=1310, nrcpt=1 (queue active)
    Sep 17 15:33:53 liveira postfix/qmgr[4035]: 525C8666722: from=<[email protected]>, size=1304, nrcpt=1 (queue active)
    Sep 17 15:33:53 liveira postfix/qmgr[4035]: 0AF65666726: from=<[email protected]>, size=699, nrcpt=1 (queue active)
    Sep 17 15:33:53 liveira postfix/qmgr[4035]: 2BFF96666C7: from=<[email protected]>, size=1568, nrcpt=1 (queue active)
    Sep 17 15:33:53 liveira postfix/qmgr[4035]: F397A6666CE: from=<[email protected]>, size=785, nrcpt=4 (queue active)
    Sep 17 15:33:53 liveira postfix/qmgr[4035]: 4D03E66671E: from=<[email protected]>, size=1109, nrcpt=1 (queue active)
    Sep 17 15:33:53 liveira postfix/qmgr[4035]: 0BF15666730: from=<[email protected]>, size=9270, nrcpt=1 (queue active)
    Sep 17 15:33:53 liveira postfix/smtp[4036]: fatal: chroot(/var/spool/postfix): Operation not permitted
    Sep 17 15:33:54 liveira postfix/master[4032]: warning: process /usr/libexec/postfix/smtp pid 4036 exit status 1
    Sep 17 15:33:54 liveira postfix/master[4032]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
    Sep 17 15:34:02 liveira pop3d: Connection, ip=[::ffff:127.0.0.1]
    Sep 17 15:34:08 liveira authdaemond: authmysql: mysql_select_db(mail) error: Access denied for user ''@'localhost' to database 'mail'
    Sep 17 15:34:08 liveira pop3d: LOGIN FAILED, user=pedro, ip=[::ffff:127.0.0.1]
    Sep 17 15:34:08 liveira pop3d: authentication error: Input/output error



    Can you help me please ?

    Best regard to all.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You must send an email first to that user before you can fetch mails. Maildir is created when the first email arrives. BTW, the username must be an email address, so pedro won't work.

    There seems to be a problem with the permissions. What's the output of
    Code:
    ls -la /var/spool/postfix
    ? Is SELinux disabled?

    Please compare all your configuration files with the ones from the tutorial, there must be an error in one of your files. Also check the format of the files, the format matters.
     

Share This Page