I have dovecot installed on Ubuntu 12.04. I am using Ispconfig3 to manage the virtual users. I have been through the http://wiki2.dovecot.org/TestInstallation process and everything (except the ssl) works: I can log in using telnet. I can open the inbox. However when I try to send an email to one of the accounts from gmail, the email gets returned from "Mail Delivery System" saying "unknown user: 'test'". Trying to receive mail using a client gives an authentication error. There don't seem to be any relevant errors in /var/log/ mail.err or mail.log, exept: CB7D01242D5: to=<[email protected]>, relay=local, delay=0.49, delays=0.01/0.38/0/0.1, dsn=5.1.1, status=bounced (unknown user: "test") One thing I am suspicious of is that I have not used a sub domain for my mail server and I am not sure if this causes problems. (Now or in the future). What should I do to troubleshoot this further? dovecot.conf: pastie.org/6113418 master.cf: pastie.org/6113424 main.cf: pastie.org/6113428
I'm assuming you setup the mail domain and users in ispconfig? Assuming you are using postfix... take a look in /etc/postfix/main.cf and look for the line "mydestination=" If you have adrian.com.au in that line, then you are screwed Postfix will think that's a local mailbox and not lookup the virtual tables in mysql for the domain and it's users. How to fix? Well remove your domain from that mydestination = line, this will leave just localhost stuff left there. Then restart postfix. Then, postfix should look up the virtual maps when an email arrives and find the mail setup you did in ispconfig. If this doesn't work.. I need more info
I am repeating from my other reply...... I solved my problem through your post Parsec Thanks for your post, my main domain in ISPCONFIG 3 is giving me this error and rest of the domains were working, i tried various option but this one worked very well. if i summarise again because the command was not here In putty window, type nano /etc/postfix/main.cf search for line mydestination = yourdomain.com, localhost, localhost.localdomain remove yourdomain.com and make this line look like this mydestination = localhost, localhost.localdomain save it Ctrl X and yes then restart, or reboot and then the problem is resolved ((((Action: failed Status: 5.1.1 Diagnostic-Code: X-Postfix; unknown user)))))