Email problem

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

Email problem

Hello

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 example.com

than i went to thunderbird and added

you name = mike

email = webmaster@example.com

password =123456

imcoming mail.example.com

outgoing smtp.example.com

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

Thanks

Tue, 02/01/2011 - 20:07
andreychek

Howdy,

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 intodns.com.

-Eric

Tue, 02/01/2011 - 21:16
Xencored

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

i googled that code and give this error http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3555

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
andreychek

Howdy,

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?

-Eric

Tue, 02/01/2011 - 22:10
Xencored

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
Xencored

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

http://myanimeisland.com/nositeimages/email_log.txt

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.

Thanks

Tue, 02/01/2011 - 22:45
andreychek

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 :-)

-Eric

Tue, 02/01/2011 - 22:49
Xencored

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

http://myanimeisland.com/nositeimages/dovecot.txt

Thanks

Tue, 02/01/2011 - 22:57
andreychek

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
Xencored

Opps sorry about that i didnt see the 2nd one

ok i changed that and restart still same tho :(

Thanks

Tue, 02/01/2011 - 23:23
Xencored

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
andreychek

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.

-Eric

Wed, 02/02/2011 - 03:21
Xencored

Here you go sir ive updated the link with the new log http://myanimeisland.com/nositeimages/email_log.txt

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

Wed, 02/02/2011 - 11:55
Xencored

Also on thunderbird now i get "Sending of message failed. The message could not be sent using SMTP server mail.myanimeisland.com 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 live.co.uk email and it returned with this error

This is the mail system at host ks312361.kimsufi.com.

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

webmaster-myanimeisland.com@ks312361.kimsufi.com (expanded from webmaster@myanimeisland.com): unknown user: "webmaster-myanimeisland.com"

--Forwarded Message Attachment-- From: vodkaholic27@live.co.uk To: webmaster@myanimeisland.com Subject: tesst Date: Wed, 2 Feb 2011 17:54:16 +0000

sadsadsad

Wed, 02/02/2011 - 14:19
andreychek

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/main.cf, look for the "mydestination" line -- do you see your hostname listed on that line?

-Eric

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

Ok when i typed hostname in putty it came up with

ks312361:~# hostname ks312361.kimsufi.com

My hosts file give this

# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 188.165.217.101 ks312361.kimsufi.com # 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/main.cf give this on that line

mydestination = ks312361.kimsufi.com, localhost.kimsufi.com, , localhost

Thanks

Thu, 02/03/2011 - 14:36
Xencored

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

Thanks

Thu, 02/03/2011 - 23:44
andreychek

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 "webmaster@myanimeisland.com" 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 :-)

-Eric

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

Wait a sec username?

so my email is myanimeisland@myanimeisland.com? Or did i read that wrong

Cheers

http://myanimeisland.com/nositeimages/email_username.jpg

Fri, 02/04/2011 - 08:56
andreychek

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 "webmaster@myanimeisland.com" 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.

-Eric

Fri, 02/04/2011 - 14:23
Xencored

So do i set the alias's as myanimeisland@myanimeisland.com?

Thanks

plus where would i enter that?

Fri, 02/04/2011 - 23:52
andreychek

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").

-Eric

Sat, 02/05/2011 - 02:39
Xencored

Ok i get this now

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

/cry

Sat, 02/05/2011 - 03:49
Xencored

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