Email problem

25 posts / 0 new
Last post
#1 Tue, 02/01/2011 - 19:53

Email problem


I cant seem to get clients to work with my emails Not sure if there set up right tbh ive allways had problems with emails

Am not sure what to put here but here i go

I created a Virtual Server lets say

than i went to thunderbird and added

you name = mike

email =

password =123456



Is this right is that all i have to do (in virualmin also?) Because nothing seems to work for me


Tue, 02/01/2011 - 20:07


What problems are you having specifically? Can you send emails, or receive emails? What errors do you see when it doesn't work?

One thing you may want to do is view the email logs, in /var/log/maillog or /var/log/mail.log.

Also, you may want to verify that your DNS is correct by inputting your domain at


Tue, 02/01/2011 - 21:16

i cant even add my email to a client i get on thunderbird : server does not support RFC 5746, see CVE-2009-3555

i googled that code and give this error

on outlook i get "log onto incoming mail server pop3 your email server rejected your user name. Verify your user name for this account in account settings. The Server responded: =ERR plaintext authentication disallowed on non-secure connections.

but am Sure my Username is Right

Tue, 02/01/2011 - 22:06


Whenever things aren't working, I'd recommend taking a look in the mail logs... those would typically offer some clues as to what the problem is.

In the above -- one issue I see is this error:

"plaintext authentication disallowed on non-secure connections."

That's an issue that can occur if Dovecot isn't configured to accept plaintext logins. To fix that, edit /etc/dovecot/dovecot.conf, and make sure "disable_plaintext_auth" is set to "no".

After making that change, restart Dovecot (with "/etc/init.d/dovecot restart"), and try your email client again.. does that work now?


Tue, 02/01/2011 - 22:10

Hey i will check them log i used to have a "explore type client" to view and edit files on my server as i suck with putty but ive lost the program. Do you know any i could get? i know you prob done use them but for me they made life alot easyer. Also sorry to post this here jus ti need to check them logs ^^

Tue, 02/01/2011 - 22:35

Its cool i found that program "WinSCP" it was called anyway here is the log

I changed the Dovecot also to no and its still says the same tho and i also did the restart command

Restarting IMAP/POP3 mail server: dovecot.


Tue, 02/01/2011 - 22:45

Okay, so you have one problem fixed, it looks like there's still another to tackle there though. It looks like it's indexes/control files aren't being created properly.

You can fix that by editing the /etc/dovecot/dovecot.conf file again, look for the "mail_location" line, and set it to read:

mail_location = maildir:~/Maildir

Restart Dovecot again, and see if that does the trick :-)


Tue, 02/01/2011 - 22:49

Hi it seems to be allready what you said here is the file as a txt


Tue, 02/01/2011 - 22:57

Actually, right now, your config has mail_location set to this:

mail_location = maildir:~/Maildir:INDEX=/var/lib/dovecot/index/%u:CONTROL=/var/lib/dovecot/control/%u

My recommendation is to change that to this:

mail_location = maildir:~/Maildir

Tue, 02/01/2011 - 23:01

Opps sorry about that i didnt see the 2nd one

ok i changed that and restart still same tho :(


Tue, 02/01/2011 - 23:23

Also that disable_plaintext_auth = no you told me about has a # at the start if thats right ?

ok i tryed without the # and that error is now gone but i cant seem to send emails

Cannot find the e-mail server it says :/

Tue, 02/01/2011 - 23:26

The change to the mail_location should have corrected the problems making the index and control files. Can you post a new copy of your mail log so we can check out what error you're getting now?

As far as the disable_plaintext_auth line goes -- the only lines in the config file that matter are those that don't begin with a "#" mark. The # is a comment, meaning anything after it is ignored.


Wed, 02/02/2011 - 03:21

Here you go sir ive updated the link with the new log

Thanks Yea i thought as much with the # i removed it from that line

Wed, 02/02/2011 - 11:55

Also on thunderbird now i get "Sending of message failed. The message could not be sent using SMTP server for an unknown reason. Please verify that your SMTP server settings are correct and try again, or contact your network administrator." when i try to send a email

I tryed to send a email to it also from my email and it returned with this error

This is the mail system at host

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own text from the attached returned message.

The mail system (expanded from unknown user: ""

--Forwarded Message Attachment-- From: To: Subject: tesst Date: Wed, 2 Feb 2011 17:54:16 +0000


Wed, 02/02/2011 - 14:19

One thing you'd want to check, is to make sure that your config files have your hostname correct.

First, log into your server over SSH using Putty, and run the command "hostname".

Whatever name that's returned -- do you see that name next to your external IP address in /etc/hosts?

Also, in /etc/postfix/, look for the "mydestination" line -- do you see your hostname listed on that line?


Wed, 02/02/2011 - 14:29 (Reply to #15)

Ok when i typed hostname in putty it came up with

ks312361:~# hostname

My hosts file give this

# Do not remove the following line, or various programs
# that require network functionality will fail.   localhost.localdomain localhost
# The following lines are desirable for IPv6 capable hosts
#(added automatically by netbase upgrade)
::1     ip6-localhost ip6-loopback
feo0::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

So am guessing thats right

/etc/postfix/ give this on that line

mydestination =,, , localhost


Thu, 02/03/2011 - 14:36

Still have problems with this Eric if you have time to look


Thu, 02/03/2011 - 23:44

Yeah, all the info you have there looks good.

That's odd that it's not working...

So just to clarify -- it looks like from the above, that you had added an email user named "" in Edit Mail and FTP Users? One thing you may want to do is double-check the spelling of that particular username, just to be sure it's not a simple problem :-)


Fri, 02/04/2011 - 03:11
Fri, 02/04/2011 - 03:15

Wait a sec username?

so my email is Or did i read that wrong


Fri, 02/04/2011 - 08:56

Yeah, that appears to be your email address.

However, looking at the aliases in the alias screen, they all say that there's no alias destination.

So when you're sending an email to "" and it bounces, that's likely because the "webmaster" alias hasn't been told where to deliver email to.

If you edit the webmaster alias, you can there tell it where to deliver it's email.


Fri, 02/04/2011 - 14:23

So do i set the alias's as


plus where would i enter that?

Fri, 02/04/2011 - 23:52

You'd need to make sure an alias has a destination.

You can set that up by going into Edit Mail Aliases, clicking the alias you want to setup, then set what the destination should be.

One way to do that would be to click "Deliver locally", then set it to deliver to your account (which is probably "myanimeisland").


Sat, 02/05/2011 - 02:39

Ok i get this now

"Sending of message failed. The message could not be sent using SMTP server for an unknown reason. Please verify that your SMTP server settings are correct and try again, or contact your network administrator."


Sat, 02/05/2011 - 03:49

Not sure if this is right but i uncommented

smtp inet n - - - - smtpd -o smtpd_sasl_auth_enable=yes

submission inet n - - - - smtpd

-o smtpd_tls_security_level=encrypt

-o smtpd_sasl_auth_enable=yes

-o smtpd_client_restrictions=permit_sasl_authenticated,reject

-o milter_macro_daemon_name=ORIGINATING

smtps inet n - - - - smtpd

-o smtpd_tls_wrappermode=yes

-o smtpd_sasl_auth_enable=yes

-o smtpd_client_restrictions=permit_sasl_authenticated,reject

-o milter_macro_daemon_name=ORIGINATING

And now it seems to be working is this right ? Thanks

Topic locked