Red Hat / Fedora :: Dovecot On RHEL4 - Err Authentication Failed
Aug 22, 2010
I am trying to setup Postfix along with dovecot on RHEL4. I have done the necessary settings in dovecot.conf, yet I am not able to log into the POP3 server. The error I can see through WireShark/Ethereal is "Err- Authentication failed" Some of the important settings in /etc/dovecot.conf are
I'm using FC8 and have installed a mailserver(postfix+dovecot),when I trying to enable the selinux mode to enforcing and i'm have some issue, the user authentication failed.if turn the selinux mode to permissive, then it work right.How can i to fix this problem?
Im using CenOs 5 and have install a mail system(postfix+dovecot),when I trying to enable selinux for enforcing mode and i'm have some issue, the user authentication failed. How can i to fix this problem?
I've been having enormous problems with pam authentication. I use opensuse 11.1, postfix 2.5.5, dovecot 1.1.7. , ssl, dovecot-sasl. Everything works fine within local network, but I can't log in from outside (using outlook express 6). Output of dovecot -n:
When I send an email via TLS I see the following log entries.
Code: Oct 14 11:53:06 ns2 postfix/smtpd: connect from unknown[172.16.1.159] Oct 14 11:53:06 ns2 postfix/smtpd: setting up TLS connection from unknown[172.16.1.159] [Code]....
What I'm really curious about is there is an intial TLS connection with a 256 bit cipher, but then.. The last entry states "sasl_method=PLAIN" - so surely this is not encrypted? Or am I misunderstanding how it works?
Situation: fresh dovecot install. I have postfix successfully accepting and delivering mail to a virtual mailbox. I'm trying to pop that mailbox, but it can't see it. I hope someone can point out where my config is wrong.
I have just installed Fedora 15 on my laptop, Now i am trying to install some programs like .... skype, drivers to my printer etc but i get this message: Failed to obtain authentication.... when the installer is trying to solve dependensies...
I have tried to log in as su but i cant that ether due to fail password or username... that is the message i get at the log inn screen.
I was trying to install winbind on a RHEL5 machine and I had to reboot the RHEL machine. When it came back up, I'm not able to log in as root or any other user.When I use root and give a random password, it says invalid username or password but when I use the correct password, I get an Authentication failed pop up box (under GUI). SSh window says invalid password for random passwords and the SSH window disappears when I type in the right password.Can you please let me know if I can somehow get back in by stopping any of the services
Few days ago we had a server maintenance. The system was shutdown, we fix the CPU fan, and start the system again. But somehow when the system starts, our IMAP server - dovecot is not running. It just sit like a rock. Because the machine had a CPanel/WHM, I tried to restart dovecot using cpanel and got a message:
That was not really useful....
When I tried to restart dovecot using command line, I got nothing. really nothing.
How to find out what happens to my IMAP/dovecot? And anyway to make it run again?
I'm sooo exausted after two days of fooling with this. The problem: Apr 27 17:29:21 mxkasib dovecot: lda: Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Permission denied (euid=8(mail) egid=12(mail) missing +w perm: /var/run/dovecot/auth-userdb, euid is not dir owner)
Obviously, dovecot-lda, instanced by postfix, couldn't access the auth-userdb file because of permission. There are plenty of topics over the internet, the problem is really simple. Except for I've got all the permissions needed, or it seems to me so and I'm missing something. Here is some additional information:
I've given all the permissions I could imagine. It's even devil 666, and it still complains.
i have some problems to start my dovecot server. I tried to install it from webmin using "un-used modules" but it was allways the same error: "E: Unable to locate package dovecot-pop3d".When I tried to install it from console using the commands: apt-get install dovecot-imapd dovecot-pop3d dovecot-common - and there are no problems with dovecot-imapd and dovecot-common, but still the same error with dovecot-pop3d. After command: service dovecot status: could not access PID file for dovecot ... failed! After try to start dovecot with comand "dovecot": Error: mail_executable: Can't use /usr/lib/dovecot/pop3: No such file or directoryFatal: Invalid configuration in /etc/dovecot/dovecot.confI've read a few similar threads in this forum about dovecot errors but still can't to fix it.
Sometimes during bootup I get the following error:Starting Dovecot Imap: Fatal: listen(995) failed: Address already in useI tried to figure out what I could with the command lsof -i :995 and this was my output:COMMAND PID USER FD TYPE DEVICE SIZE NODE NAMErpc.mount 2936 root 7u IPv4 9201 TCP *:pop3s (LISTEN)When the system boots without the dovecot error the output of losof -i :995 is as follows:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME dovecot 3079 root 8u IPv6 9419 TCP *:pop3s (LISTEN) pop3-logi 3157 dovecot 1u IPv6 9419 TCP *:pop3s (LISTEN)
I've been using Ubuntu since 6.04, not a linux guru by any means but can usually get myself out of trouble.
So, the issue... I installed 8.04 on my mother's laptop some time back as she was having trouble keeping Win 2000 running (she has a low spec no-name generic laptop btw). I live in Autsralia and she in England, i thought i could better support her if she was running Ubuntu... All has been well with 8.04 but with the new LTS release (10.04) i thought i'd talk her through the upgrade... Did the online upgrade via Update Manager, all seemed to go OK but when she went to log on after restart she got an error saying 'authentication failed' even though we are 100% sure we have the user name and password correct... Tried to do a ctrl+alt+F1 to by pass the GUI log on but couldn't get the terminal session to open up, just got a black screen - no command prompt.
So... thought OK re-install... downloaded the ISO, burned and sent her a CD in the post... talked her through the re-install, all seemed to go well (again) - BUT, after restart, couldn't log in "authentication failed" again...
So, remember i'm trying to talk a novice through all this... any thoughts!?!
If i can get her to log in i can then support her via some kind of remote sesion or other screen share... and it wont cost me a small fortune in international calls!!! But if i can't get a log in, i'm dead in the water!?
Whenever I try to open a file using gedit as a super user in fedora 14, i get the following error (gedit:2975): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported ** GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL) Aborted (core dumped) I've googled the problem, but nowhere comprehensive solution is said to be found.
I have been used NX client on windows 7 connected to ubuntu with NX client/node/server with no issues. The matter started when I have formatted Ubuntu and reinstalled NX, from that NX connects but shows a key error as follows:
NX> 203 NXSSH running with pid: 4328 NX> 285 Enabling check on switch command NX> 285 Enabling skip of SSH config files
I just finished following the instructions found here to install FreeNX on my ubuntu 10.04 server. It went smoothly, just used the default keys.Once I had that all set up I scrolled down and followed the instructions to set up the client and that went fine as well.My problem is with actually using the program.When I try to log in I get the error "Authentication failed for user tony" (my username). Do I need to change anything in the configuration other than setting it to use gnome and putting in the host address?oes it make a difference that my ssh settings only allow rsa login? I logged into the server with ssh to see if that helped but it did not. I even tried using the ssh key with the FreeNX Client but that did not work
i am using fedora 12(32 bit),when i tryed to uninstall program pidgin from system->administration->add/remove programs i got an error message saying tat YOU FAILED TO PROVID PROPER AUTHENTICATION,so i was jst wondering if we can sign in as root through gui.the problem with my pidgin app was that whenever i tryed to start that application, it appears for like 4-5 sec and then disappears! so i thought of reinstalling the pidgin.
Above mentioned is my configuration. when i try to connect client with SSH it is not sending a request for authenticating user to RADIUS server. what else configuration i have to do, or if there are any mistakes in my configuration
If your machine is connected to the Internet, you'll probably want to disallow ssh password authentication (which is advised but not mandatory). Edit the /etc/ssh/sshd_config file and change/add the following lines:
PasswordAuthentication no AllowUsers nx
Don't forget to restart the sshd daemon after making that change: service sshd restart I already have PasswordAuthentication yes in my file as I need it to login to the server through ssh. Do I just skip that line and only add AllowUsers nx mynxuser at the end? Also, I followed the rest of the manual and when I tried the client on Windows it failed: I put in a user and password to login but shouldn't it be using the key instead? I think the problem is related to the above due to:
NX> 203 NXSSH running with pid: 1428 NX> 285 Enabling check on switch command NX> 285 Enabling skip of SSH config files