Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When I try sending an email to myself using Evolution, there is a one minute pause then a box pops up asking me for the SMTP password for the user, I enter it but I keep getting this error:
Quote:
Unable to authenticate to SMTP server.
AUTH command failed: authentication failed
My domain is: radisson.local, and the hostname is linuxserver.radisson.local
These are the settings I used in my user mail account:
Quote:
Identity
Email Address: mm@radisson.local Receiving Email
Server Type: IMAP
Server: linuxserver.radisson.local
Use Secure Connection: No Encryption
Authentication Type: Password Receiving Options
[checked] Override server-supplied folder namespace
Namespace: ~mm/mail/ Sending Email
Server Type: SMTP
Server: linuxserver.radisson.local
[checked] Server requires authentication
Use Secure Connection: No encryption
Authentication Type: DIGEST-MD5
Usernamed: mm
sounds like a domains issue. To avoid spam, mail servers don't take mail from anyone - they are fussy (who the hell are you?). Those that take mail from anyone and forward it are called open relays, and blacklisted.
If this is just you at home, laziest way through is to pretend to be on your isp's domain. If your mail server thinks it's isp.com, mail will flow to isp.com and addresses@isp.com will usually work
Sorry, I should have elaborated better. I am currently connected to a closed LAN network for testing purposes, so I am trying to send mail locally from one client to the server, but right now I'm trying to send mail from the server itself.
Alright, so I went and researched a bit about the dovecot service and it seems like I have not configured anything in that dovecot.conf, so I went and removed some commented lines.
I also modified the Evolution settings a bit:
Quote:
Identity
Email Address: mm@radisson.local
Receiving Email
Server Type: IMAP
Server: 172.32.1.2
Use Secure Connection: No Encryption
Authentication Type: DIGEST-MD5
Receiving Options
[checked] Override server-supplied folder namespace
Namespace: ~mm/mail/
Sending Email
Server Type: SMTP
Server: 172.32.1.2
[checked] Server requires authentication
Use Secure Connection: No encryption
Authentication Type: DIGEST-MD5
Usernamed: smtp
In webmin, I have these settings in the Read User Mail module:
Quote:
System configuration
Mail server installed: Sendmail
Send mail using: SMTP server: 172.32.1.2
SMTP login name for mail server: smtp
SMTP password for mail server: 123456
SMTP authentication method: Digest-MD5
I can start the sendmail service without problems, but when I try to start or restart dovecot, I get the following:
Quote:
Stopping Dovecot Imap: [FAILED]
Starting Dovecot Imap: Warning: Last died with error (see error log for more information): Auth process died too early - shutting down [OK]
Then, I go to the maillog and this entry comes up last:
Quote:
Apr 5 01:30:09 linuxserver dovecot: dovecot v1.1.20 starting up (core dumps disabled)
Apr 5 01:30:10 linuxserver dovecot: Fatal: auth(default): APOP mechanism can't be supported with given passdbs
Apr 5 01:30:10 linuxserver dovecot: Auth process died too early - shuttng down
I'm not sure what I can do to make dovecot start normally, but I also don't know what passdbs is or does?
I'm sure that DIGEST-MD5 is supported, because there is a little button next to the authentication type box that checks which ones are not supported and it crosses them out.
I tried other supported types though, and it still gives me an error.
The exact error I'm currently getting when I try to send a mail from Webmin:
Anyway, I wanted to say thanks for the help guys, but it looks like we're scrapping the whole mail server thing since we're having too many problems and its taking too long. So we'll just stick with apache and FTP since those are working fine.
May I say a word here about mail servers?
Postfix seems to me to be one of the easiest to configure. You would be ready for a home for the bewildered before you stand that up - take it from someone who did. On linuxfromscratch.org blfs section there is a compile & configure for postfix that should get you up pretty quick. They also have stuff on all the main pop, imap stuff and hints.
It would be worth a telnet host 25 / nc host 25 and an EHLO to see if it offers DIGEST. If it does, it would then be worth seeing if you can do this by hand - just to rule out Evolution being buggy. I had issues with the check box for 'remember password' screwing with the login settings a while back.
You had some problems with authentication on the smtp server. Probably because the DIGEST-MD5 wasn't set up properly. I haven't used Postfix, or indeed anything but sendmail really. I have to say that looking after a mail server is a lot more work than either ftp or apache.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.