| Linode Forum https://forum.linode.com/ |
|
| Email user not created properly https://forum.linode.com/viewtopic.php?f=11&t=5247 |
Page 1 of 1 |
| Author: | illusime [ Sat Feb 27, 2010 12:59 am ] |
| Post subject: | Email user not created properly |
This is my first time setting up postfix and I have followed the guide here: http://library.linode.com/email-guides/ ... 8.04-hardy However, after I creating 2 user account sales@topdesignblogs.com and test@topdesignblogs.com. I can't connect to my account using my Windows Mail. I got the following errors: "Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Your IMAP command could not be sent to the server, due to non-netowrk errors." "Your IMAP server wishes to alert you to the following: Fatal error: topdesignblogs.com/sales/ No such file or directory" When I ehlo my localhost. There are no problems. When I telnet, I got the following: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Hello there. Something different from the tutorial. The tutorial shows "Connected to localhost.localdomain." When I send emails to my this new accounts, it got bounced back. I look into /var/mail and only saw "tony" file there. No "sales" and "test" file. Can anyone help? Also after I finish my postfix setup, I got problems connecting to sftp using "tony" as the user name. But I have no problem using ssh. Another problem too... Maybe this might help. My main.cf file: Code: # See /usr/share/postfix/main.cf.dist for a commented, more complete version |
|
| Author: | Vance [ Sat Feb 27, 2010 1:55 am ] |
| Post subject: | Re: Email user not created properly |
illusime wrote: Code: virtual_mailbox_base = /home/vmail I'm not too familiar with how virtual domains in Postfix work, but given this and the /etc/postfix/mysql-virtual_mailboxes.cf suggested in the library article: Code: user = mail_admin it looks to me like you need to create directories under /home/vmail for each domain and user. Try mkdir -p /home/vmail/topdesignblogs.com/sales /home/vmail/topdesignblogs.com/test and see if that helps. (Your mail user will probably need write permission to these directories.) |
|
| Author: | hoopycat [ Sat Feb 27, 2010 11:13 am ] |
| Post subject: | Re: Email user not created properly |
illusime wrote: Trying 127.0.0.1...
Connected to localhost. Escape character is '^]'. +OK Hello there. Hmm, that's a POP3 welcome banner. Are you sure you're telnetting to port 143 and not 110 when checking this? |
|
| Author: | illusime [ Mon Mar 01, 2010 6:35 am ] |
| Post subject: | |
Vance, You problem removed the error but it Keeps handing my windows mail, can't seems to retrieve the inbox. hoopycat, That was when I telnet localhost 25. When I telnet localhost 143, I got the following... Code: OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THRE AD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information. Any other help? |
|
| Author: | kangaby [ Mon Mar 01, 2010 7:18 am ] |
| Post subject: | |
Generally when I have setup postfix virtual domains, the directories aren't created until the account in question receives some mail. So if you try to retrieve mail for an account you have not sent any mail, it will fail, as the directories have yet to be created. Also if you are using IMAP you need (I think) to use qmail style mail boxes. Code: # DELIVERY TO MAILBOX Edit: See if this helps http://www.linode.com/wiki/index.php/Us ... ail_Server |
|
| Author: | illusime [ Mon Mar 01, 2010 10:39 pm ] |
| Post subject: | |
I have tried sending email to the user but email got bounced back. The mail system <sales@topdesignblogs.com>: unknown user: "sales" |
|
| Author: | kangaby [ Tue Mar 02, 2010 6:10 am ] |
| Post subject: | |
I'd dump the MySQL tables, and get it working with plain text files first. Once that works, move it over to MySQL bit by bit. Problem with most tutorials is they assume you know certain stuff, or (like mine) they evolve over may attempts to get stuff to work, and things get left out or forgotten. They show what to do, but not why you are doing it, (I've tried to explain what I can as I've gone along) and when it doesn't work, you don't know why, because you don't know why you are doing certain things in the first place. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|