I'm trying to set up virtual mail accounts on ubuntu 11.04 based on the tutorial here: http://library.linode.com/email/postfix/dovecot-mysql-ubuntu-10.10-maverick
I can log into my newly created virutal account no problem:
telnet domain1 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Dovecot ready.
user sales@domain1
+OK
pass ****
+OK Logged in.
list
+OK 0 messages:
.
but when I run a test email to the account sales@domain1 I get different logs in /var/log/mail.log from the expected results and there are no messages in the inbox - neither is the default folders created either. Here are my log results:
Aug 5 15:44:25 localhost postfix/pickup[4450]: B4D5C18DA: uid=0 from=<root>
Aug 5 15:44:25 localhost postfix/cleanup[4549]: B4D5C18DA: message-id=<20110805134425.B4D5C18DA@localhost>
Aug 5 15:44:25 localhost postfix/qmgr[4451]: B4D5C18DA: from=<root@localhost>, size=321, nrcpt=1 (queue active)
Aug 5 15:44:25 localhost postfix/trivial-rewrite[4552]: warning: do not list domain domain1 in BOTH mydestination and virtual_mailbox_domains
Aug 5 15:44:25 localhost postfix/local[4553]: B4D5C18DA: to=<sales@domain1>, relay=local, delay=0.28, delays=0.18/0.02/0/0.08, dsn=5.1.1, status=bounced (unknown user: "sales")
Aug 5 15:44:25 localhost postfix/cleanup[4549]: E60721A55: message-id=<20110805134425.E60721A55@localhost>
Aug 5 15:44:26 localhost postfix/qmgr[4451]: E60721A55: from=<>, size=1945, nrcpt=1 (queue active)
Aug 5 15:44:26 localhost postfix/bounce[4554]: B4D5C18DA: sender non-delivery notification: E60721A55
Aug 5 15:44:26 localhost postfix/qmgr[4451]: B4D5C18DA: removed
Aug 5 15:44:26 localhost postfix/cleanup[4549]: 0328718DA: message-id=<20110805134425.E60721A55@localhost>
Aug 5 15:44:26 localhost postfix/local[4553]: E60721A55: to=<root@localhost>, relay=local, delay=0.13, delays=0.07/0/0/0.06, dsn=2.0.0, status=sent (forwarded as 0328718DA)
Aug 5 15:44:26 localhost postfix/qmgr[4451]: 0328718DA: from=<>, size=2064, nrcpt=1 (queue active)
Aug 5 15:44:26 localhost postfix/qmgr[4451]: E60721A55: removed
The main differences I've noticed between my logs and the tutorials are:
- relay=none instead of relay=dovecot
- status=bounced (unknown user: "sales")
- warning: do not list domain domain1 in BOTH mydestination and virtual_mailbox_domains
On the front it appears to me that postfix and dovecot aren't communicating properly but I wouldn't know where to start to figure it out - so any help would be appreciated.
regards, Daithi