Email login not working - ISPConfig 3 + Ubuntu 10.04 perfect server

Discussion in 'Installation/Configuration' started by AklBlue, May 18, 2012.

  1. AklBlue

    AklBlue New Member

    Followed the instructions to set up Ubuntu 10.04 perfect server, everything seems to work fine except I cannot logon to my email accounts in either Squirellmail or other IMAP clients.. error is always: Unknown user or password incorrect.

    Virual website domains get setup and work fine, so I'm assuming its not ISPConfig, or the database. ISPConfig sets up the mailbox account correctly in MYSQL, the mailbox directory is setup in /var/vmail/virtualdomain.com/user..

    The new user gets the welcome email message (I can use Webmin to read it).

    I'm thinking that the problem is authentication configuration for one of the email servers, but don't know where to start troubleshooting.

    If anyone can help or point me in the right direction that would be greatly appreciated.?
     
  2. m4l41k4t

    m4l41k4t New Member

    I also experienced similar problems.
    I'm using ISPConfig 3.0.4.5 by following the tutorial in "http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-nginx-bind-dovecot-ispconfig-3-p6".
    Problems that I found are:
    A. login from webmai (squirrelmail) with success but when the user [email protected] login with user testing can not be with the error "Unknown user or password incorrect."
    2. When logged in and test [email protected] [email protected] send to be delivered into the inbox but not [email protected].
    3. I beg his help for the solution to these problems.

    Note : I use ubuntu 12:04, following the results mail.log.
    May 18 00:51:21 andre dovecot: imap-login: Aborted login (auth failed, 1 attempts): user=<testing>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

    May 18 00:52:43 andre dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=3045, secured
    May 18 00:52:43 andre dovecot: imap([email protected]): Disconnected: Logged out bytes=117/1401
    May 18 00:52:43 andre postfix/qmgr[32474]: 3193D1BC1267: from=<[email protected]>, size=1051, nrcpt=1 (queue active)
    May 18 00:52:43 andre postfix/trivial-rewrite[3034]: warning: do not list domain [email protected] in BOTH mydestination and virtual_mailbox_domains
    May 18 00:52:43 andre postfix/smtpd[3043]: disconnect from localhost[127.0.0.1]
    May 18 00:52:43 andre amavis[22581]: (22581-05) Passed CLEAN, LOCAL [127.0.0.1] [127.0.0.1] <[email protected]> -> <[email protected]>, Message-ID: <6e37594bd03c4a98a9ecd83b7de52ee6.squirrel@_>, mail_id: koFCFIigo-gf, Hits: -, size: 679, queued_as: 3193D1BC1267, 229 ms
    May 18 00:52:43 andre postfix/smtp[3039]: EA7831BC1278: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.35, delays=0.08/0.04/0.01/0.23, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3193D1BC1267)
    May 18 00:52:43 andre postfix/qmgr[32474]: EA7831BC1278: removed
    May 18 00:52:43 andre postfix/local[3046]: 3193D1BC1267: to=<[email protected]>, relay=local, delay=0.14, delays=0.06/0.04/0/0.04, dsn=5.1.1, status=bounced (unknown user: "testing1")
    May 18 00:52:43 andre postfix/cleanup[3038]: 5351C1BC127B: message-id=<[email protected]>
    May 18 00:52:43 andre postfix/qmgr[32474]: 5351C1BC127B: from=<>, size=2841, nrcpt=1 (queue active)
    May 18 00:52:43 andre postfix/bounce[3047]: 3193D1BC1267: sender non-delivery notification: 5351C1BC127B
    May 18 00:52:43 andre postfix/trivial-rewrite[3034]: warning: do not list domain andre.net in BOTH mydestination and virtual_mailbox_domains
    May 18 00:52:43 andre postfix/qmgr[32474]: 3193D1BC1267: removed
    May 18 00:52:43 andre postfix/local[3046]: 5351C1BC127B: to=<[email protected]>, relay=local, delay=0.08, delays=0.04/0/0/0.04, dsn=5.1.1, status=bounced (unknown user: "testing")
    May 18 00:52:43 andre postfix/qmgr[32474]: 5351C1BC127B: removed
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    @AKLBlue: Please post the exact error messages that you get in the mail.log.

    @ma...; Your problem is different as you can login to your mail accounts according to the log. Your problem is that you used a wrong hostname for the server. The server hostname may never be identical to a domain name that you want to use for email. Open the postfix main.cf file and /etc/mailname file and replace yourdomain.tld with a subdomain like mail.yourdomain.tld and then restart postfix.
     
  4. AklBlue

    AklBlue New Member

     
  5. m4l41k4t

    m4l41k4t New Member

    oh I apologize if my post the wrong place.
    @ till: I've tried to replace both my hostname in the file "/ etc / postfix / main.cf and in the file / etc / mailname to mail.andre.net" and then restart postfix and restart the machine but still same thing happened and there is the new error appears.

    The following results of tail-f / var / log / mail.log:

    May 18 20:52:47 mail postfix/trivial-rewrite[2308]: warning: do not list domain andre.net in BOTH mydestination and virtual_mailbox_domains
    May 18 20:52:47 mail postfix/trivial-rewrite[2308]: warning: do not list domain andre.net in BOTH mydestination and virtual_mailbox_domains
    May 18 20:52:47 mail postfix/smtpd[2327]: 70A4C1BC12BA: client=localhost[127.0.0.1]
    May 18 20:52:47 mail postfix/cleanup[2317]: 70A4C1BC12BA: message-id=<7b68af8d740d46bbe8ab826e9bf98508.squirrel@_>
    May 18 20:52:47 mail postfix/qmgr[1974]: 70A4C1BC12BA: from=<[email protected]>, size=1124, nrcpt=1 (queue active)
    May 18 20:52:47 mail postfix/trivial-rewrite[2308]: warning: do not list domain andre.net in BOTH mydestination and virtual_mailbox_domains
    May 18 20:52:47 mail amavis[1626]: (01626-01) Passed CLEAN, LOCAL [127.0.0.1] [127.0.0.1] <[email protected]> -> <[email protected]>, Message-ID: <7b68af8d740d46bbe8ab826e9bf98508.squirrel@_>, mail_id: NmyN3iGNrzph, Hits: -0.62, size: 680, queued_as: 70A4C1BC12BA, 4006 ms
    May 18 20:52:47 mail postfix/smtp[2318]: 554E21BC129E: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.2, delays=0.17/0.05/0.01/4, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 70A4C1BC12BA)
    May 18 20:52:47 mail postfix/qmgr[1974]: 554E21BC129E: removed
    May 18 20:52:47 mail postfix/local[2328]: 70A4C1BC12BA: to=<[email protected]>, relay=local, delay=0.16, delays=0.04/0.05/0/0.07, dsn=5.1.1, status=bounced (unknown user: "testing1")
    May 18 20:52:47 mail postfix/cleanup[2317]: 974881BC12BC: message-id=<[email protected]>
    May 18 20:52:47 mail postfix/qmgr[1974]: 974881BC12BC: from=<>, size=2961, nrcpt=1 (queue active)
    May 18 20:52:47 mail postfix/bounce[2329]: 70A4C1BC12BA: sender non-delivery notification: 974881BC12BC
    May 18 20:52:47 mail postfix/trivial-rewrite[2308]: warning: do not list domain andre.net in BOTH mydestination and virtual_mailbox_domains
    May 18 20:52:47 mail postfix/qmgr[1974]: 70A4C1BC12BA: removed
    May 18 20:52:47 mail postfix/local[2328]: 974881BC12BC: to=<[email protected]>, relay=local, delay=0.08, delays=0.04/0.01/0/0.04, dsn=5.1.1, status=bounced (unknown user: "testing")
    May 18 20:52:47 mail postfix/qmgr[1974]: 974881BC12BC: removed
     
  6. falko

    falko Super Moderator ISPConfig Developer

  7. falko

    falko Super Moderator ISPConfig Developer

     
  8. m4l41k4t

    m4l41k4t New Member

  9. AklBlue

    AklBlue New Member

     

Share This Page