Mail: authdaemond receives wrong lookup request (vmail)

Discussion in 'Installation/Configuration' started by arraken, Apr 8, 2010.

  1. arraken

    arraken Member

    Hey Guys! Can you help me with a problem that troubles me for many hours now...

    I have a problem when receiving emails:

    The following line from the mail.log file is the source of the problem imo:

    23:53:50 server1 authdaemond: received userid lookup request: vmail

    vmail is of course wrong. It should be the corresponding e-mail address.

    here is the complete log from mail.log when i try to send a mail to an account on my mailserver:

    Apr 7 23:45:52 server1 postfix/smtpd[23744]: connect from dd19922.kasserver.com[85.13.140.42]
    Apr 7 23:45:52 server1 postfix/smtpd[23744]: BF96B1FBE277: client=dd19922.kasserver.com[85.13.140.42]
    Apr 7 23:45:52 server1 postfix/cleanup[23769]: BF96B1FBE277: message-id=<005501cad69b$adda72d0$098f5870$@at>
    Apr 7 23:45:52 server1 postfix/qmgr[22255]: BF96B1FBE277: from=<[email protected]>, size=5967, nrcpt=1 (queue active)
    Apr 7 23:45:52 server1 postfix/smtpd[23744]: disconnect from dd19922.kasserver.com[85.13.140.42]
    Apr 7 23:45:53 server1 postfix/smtpd[23773]: connect from localhost[127.0.0.1]
    Apr 7 23:45:53 server1 postfix/smtpd[23773]: 577351FBE281: client=localhost[127.0.0.1]
    Apr 7 23:45:53 server1 postfix/cleanup[23769]: 577351FBE281: message-id=<005501cad69b$adda72d0$098f5870$@at>
    Apr 7 23:45:53 server1 postfix/smtpd[23773]: disconnect from localhost[127.0.0.1]
    Apr 7 23:45:53 server1 postfix/qmgr[22255]: 577351FBE281: from=<[email protected]>, size=6425, nrcpt=1 (queue active)
    Apr 7 23:45:53 server1 amavis[21559]: (21559-02) Passed CLEAN, [85.13.140.42] [193.171.36.5] <[email protected]> -> <[email protected]>, Message-ID: <005501cad69b$adda72d0$098f5870$@at>, mail_id: 0DXqEW34HdGJ, Hits: 2.432, size: 5967, queued_as: 577351FBE281, 539 ms
    Apr 7 23:45:53 server1 postfix/smtp[23770]: BF96B1FBE277: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.62, delays=0.07/0.01/0/0.54, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=21559-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 577351FBE281)
    Apr 7 23:45:53 server1 postfix/qmgr[22255]: BF96B1FBE277: removed
    Apr 7 23:45:53 server1 authdaemond: received userid lookup request: vmail
    Apr 7 23:45:53 server1 authdaemond: authmysql: trying this module
    Apr 7 23:45:53 server1 authdaemond: authmysqllib: connected. Versions: header 50067, client 50075, server 50075
    Apr 7 23:45:53 server1 authdaemond: SQL query: SELECT email, password, "", uid, gid, homedir, maildir, quota, "", concat('disableimap=',disableimap,',disablepop3=',disablepop3) FROM mail_user WHERE email = 'vmail'
    Apr 7 23:45:53 server1 authdaemond: zero rows returned
    Apr 7 23:45:53 server1 authdaemond: authmysql: REJECT - try next module
    Apr 7 23:45:53 server1 authdaemond: FAIL, all modules rejected
    Apr 7 23:45:53 server1 postfix/pipe[23775]: 577351FBE281: to=<[email protected]>, relay=maildrop, delay=0.08, delays=0.03/0.01/0/0.04, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to open mailbox. )

    before installing ispconfig 3 i already had a mailserver running. the problem i encountered while installing was, that i had a user virtual 5000:5000, and so the user vmail 5000:5000 could not be created. maybe that's the reason for my problem.

    anybody with the same problem out there?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, thats the reason for the problem. ISPConfig requires it that you install it on a empty server. I recommed that you reinstall your server and follow closely the perfect setup guide for ispconfig 3 to install the server.

    As alternative, you can delete the user with the ID 5000, then uninstall ispconfig and reinstall it again. But there might be other prblems as well if the server ahs been used as mailserver before without a clean reinstall, so the faestest and safest method will be to reinstall the whole server.
     

Share This Page