Ubuntu postfix squirremail imap connection gets dropped
Trying to configure my mail server to work using the folowing tut
Then using the next tut for virtual domains
However, when i try to login to squirrelmail with the user i made it says "Error: Connection dropped by imap server"
I dont get any errors in mail.log or any other log file.
Is there anyone whos had the same problem or knows the answers?
Also im really confused about the DNS set up given in my linode account. I add a domain e.g. mydomain.com and it sets up an automatic mail subdomain e.g. mail.mydomain.com
When im setting up postfix etc, which one do i use, is it the mail.mydomain.com or just mydomain.com.
There are several settings in postfix like hostname etc. should some be mail.mydomain.com and some others be mydomain.com
The actual email addresses should these be
If somebody could bring some clarity to my situation i would really appreciate it and it would save me hours of trial and error
Cheers Klinode
7 Replies
How do i implement a salt? what is it? cheers
Try ps auxw | grep [name of imap server]. You should see the imap process. If not you either haven't started imap or your configuration has an error.
I use dovecot for an imap server. You might try that if you have no luck with courier.
Regarding dns and postfix. This is more complicated. Start with the default postfix files (main.cf and master.cf). Start postfix and telnet localhost 25 if you get an answer, type ehlo localhost you should get a response from postfix showing some of it's settings. If so, type quit and try sending or receiving email. You can look at /var/log/maillog and see what is happening.
Good luck. The best way to learn is get in there and try things. Make minor changes until you get things running the way you want.
The problem i am having is that im confused about the mail.mydomain.com ive been given on my linode and where to use it to configure postfix. The examples in the linode library for instance all use server.mydomain.com . Why? when i have been automatically set up a mail.domain.com subdomain already - this is confusing…
when i add a new doman e.g. mydomain.com to my linode acccount it asks me if i want to set up a mail subdomain for that domain. So it sets up mail.mydomain.com . Is this all set up and ready to use in postfix? Is there anything further i need to do with mail.mydomain.com to get it working like adding A or MX records (MX seems already to be set and A is already linked to mydomain.com's ip address)
im pretty sure all this has to do with the wrong hostname being set in postfix e.g. when using mail.mydomain.com my mail.log states that "mail loops back to myself" I cant find an answer to this question on google, because it seems specific to linode
do i set up emails as
I would really be grateful for some answers to these questions
appenddotmydomain = no
myhostname = mail.yourdomain.com ##your real fqdn
Pound out all other references to domain ie my.domain.com
stop and restart postfix and try it again.
@flb:
Try adding this:
appenddotmydomain = no
myhostname = mail.yourdomain.com ##your real fqdn
Pound out all other references to domain ie my.domain.com
stop and restart postfix and try it again.
Hi, I already have
appenddotdomain = no
myhostname is already the same as shown above
Im not sure where my.domain.com comes from???? why would i have this in my conf file? Also im interested to find out what pounding out references means?
Cheeres
How does the
> mail.mydomain.com
subdomain in the linode DNS manager relate to the
> server.yourdomain.com
example in this tutorial
Do I just use mail.mydomain.com instead of server.yourdomain.com???
???